cyclus / cymetric

http://fuelcycle.org/user/cymetric/index.html
Other
5 stars 20 forks source link

New metric to get cumulative power from time 0 in TimeSeriesPower metric #164

Open louishartono opened 4 years ago

louishartono commented 4 years ago

Made some changes to metrics.py. Added a new metrics called "CumulativeTimeSeriesPower" to return the TimeSeriesPower metric with a cumulative sum of the power generated by each SimId from time 0 to time t and created the test to check the expected output as well. Feel free to give feedback or suggestions :).