Commit 436a2986 authored by Sebastian Schwarz's avatar Sebastian Schwarz
Browse files

Removed unnecessary lines of code in examples 16, 17, and 18.

parent b5d45c3a
Pipeline #492640 failed with stages
in 8 minutes and 23 seconds
......@@ -70,7 +70,6 @@ def main(do_plot=False):
# Plot the convex schedules:
plot_time = list(range(env.timer.timesteps_used_horizon))
figure = plt.figure(figsize=(6, 6))
gs = gridspec.GridSpec(5, 1)
ax0 = plt.subplot(gs[0])
......
......@@ -67,7 +67,6 @@ def main(do_plot=False):
# Plot the (thermal) schedules of interest:
plot_time = list(range(env.timer.timesteps_used_horizon))
figure = plt.figure(figsize=(6, 6))
gs = gridspec.GridSpec(5, 1)
ax0 = plt.subplot(gs[0])
......
......@@ -53,7 +53,6 @@ def main(do_plot=False):
# Plot the thermal loads:
plot_time = list(range(env.timer.timesteps_used_horizon))
figure = plt.figure(figsize=(6, 6))
gs = gridspec.GridSpec(2, 1)
ax0 = plt.subplot(gs[0])
......@@ -116,7 +115,6 @@ def main(do_plot=False):
# Plot the (thermal) schedules of interest:
plot_time = list(range(env.timer.timesteps_used_horizon))
figure = plt.figure(figsize=(6, 6))
gs = gridspec.GridSpec(4, 1)
ax0 = plt.subplot(gs[0])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment