Commit 1a23701c authored by Jesse VanderWees's avatar Jesse VanderWees 🐘

added variable initial states

parent 5d92e374
......@@ -17,6 +17,7 @@ results = np.genfromtxt(data_path, converters={0: datefunc}, delimiter=delimiter
n_subplots = 2
f, axarr = plt.subplots(n_subplots, sharex=True, figsize=(8, 3 * n_subplots))
axarr[0].set_title('Water Volume and Discharge')
f.autofmt_xdate()
# Upper subplot
axarr[0].set_ylabel('Water Volume [m3]')
......@@ -33,8 +34,6 @@ axarr[1].plot(results['time'], results['Q_in'], label='Inflow',
linewidth=2, color='g')
axarr[1].plot(results['time'], results['Q_release'], label='Release',
linewidth=2, color='r')
axarr[1].xaxis.set_major_formatter(mdates.DateFormatter('%H:%M'))
f.autofmt_xdate()
# Shrink each axis by 20% and put a legend to the right of the axis
for i in range(n_subplots):
......
storage.V
400000.0
storage.V,Q_release
400000.0,0.0
storage.V
400000.0
storage.V,Q_release
400000.0,0.0
storage.V
400000.0
storage.V,Q_release
400000.0,0.0
storage.V
400000.0
\ No newline at end of file
storage.V,Q_pump,Q_orifice
400000.0,0.0,0.0
time,Q_orifice,Q_pump,is_downhill,sea_level,storage_level
2013-05-19 22:00:00,6.720000,0.000000,1.000000,0.000000,0.400000
2013-05-19 22:00:00,0.000000,0.000000,1.000000,0.000000,0.400000
2013-05-19 23:00:00,0.000000,0.000000,1.000000,0.100000,0.418000
2013-05-20 00:00:00,1.674099,0.000000,1.000000,0.200000,0.429973
2013-05-20 01:00:00,3.889104,0.000000,1.000000,0.300000,0.433972
2013-05-20 02:00:00,2.125152,1.199467,1.000000,0.400000,0.440004
2013-05-20 03:00:00,0.000000,5.000002,0.000000,0.500000,0.440004
2013-05-20 04:00:00,0.000000,5.000000,0.000000,0.600000,0.440004
2013-05-20 05:00:00,0.000000,4.999999,0.000000,0.700000,0.440004
2013-05-20 06:00:00,0.000000,4.999998,0.000000,0.800000,0.440004
2013-05-20 07:00:00,0.000000,4.999998,0.000000,0.900000,0.440004
2013-05-20 08:00:00,0.000000,4.999999,0.000000,1.000000,0.440004
2013-05-20 09:00:00,0.000000,5.000000,0.000000,0.900000,0.440004
2013-05-20 10:00:00,0.000000,5.000001,0.000000,0.800000,0.440004
2013-05-20 11:00:00,0.000000,5.000001,0.000000,0.700000,0.440004
2013-05-20 12:00:00,0.000000,5.000003,0.000000,0.600000,0.440004
2013-05-20 13:00:00,0.000000,5.000004,0.000000,0.500000,0.440004
2013-05-20 14:00:00,2.125151,2.874853,1.000000,0.400000,0.440004
2013-05-20 15:00:00,3.975694,1.024102,1.000000,0.300000,0.440005
2013-05-20 16:00:00,5.197618,0.000000,1.000000,0.200000,0.439293
2013-05-20 17:00:00,6.151176,0.000000,1.000000,0.100000,0.435149
2013-05-20 18:00:00,6.437916,0.000000,1.000000,0.000000,0.429972
2013-05-20 00:00:00,1.672747,0.000000,1.000000,0.200000,0.429978
2013-05-20 01:00:00,3.889150,0.000000,1.000000,0.300000,0.433977
2013-05-20 02:00:00,2.125131,1.201018,1.000000,0.400000,0.440003
2013-05-20 03:00:00,0.000000,5.038647,0.000000,0.500000,0.439864
2013-05-20 04:00:00,0.000000,5.022802,0.000000,0.600000,0.439782
2013-05-20 05:00:00,0.000000,5.014486,0.000000,0.700000,0.439730
2013-05-20 06:00:00,0.000000,5.009141,0.000000,0.800000,0.439697
2013-05-20 07:00:00,0.000000,5.005138,0.000000,0.900000,0.439678
2013-05-20 08:00:00,0.000000,5.001728,0.000000,1.000000,0.439672
2013-05-20 09:00:00,0.000000,4.998489,0.000000,0.900000,0.439677
2013-05-20 10:00:00,0.000000,4.995079,0.000000,0.800000,0.439695
2013-05-20 11:00:00,0.000000,4.991072,0.000000,0.700000,0.439727
2013-05-20 12:00:00,0.000000,4.985678,0.000000,0.600000,0.439779
2013-05-20 13:00:00,0.000000,4.977065,0.000000,0.500000,0.439861
2013-05-20 14:00:00,2.125128,2.835581,1.000000,0.400000,0.440003
2013-05-20 15:00:00,3.975648,1.024338,1.000000,0.300000,0.440003
2013-05-20 16:00:00,5.197601,0.000000,1.000000,0.200000,0.439292
2013-05-20 17:00:00,6.150614,0.000000,1.000000,0.100000,0.435149
2013-05-20 18:00:00,6.436143,0.000000,1.000000,0.000000,0.429979
storage.V
400000.0
storage.V,Q_release
400000.0,0.0
storage.V
400000.0
\ No newline at end of file
storage.V,Q_pump,Q_orifice
400000.0,0.0,0.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