Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New metrics to return Transaction table with quantity (kg/GWe) in terms of cumulative power from time 0 to time of the simulation #165

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

louishartono
Copy link
Contributor

@louishartono louishartono commented Apr 23, 2020

Merging prerequisite: PR #164

Made some changes to metrics.py. Added a new metrics called "TransactionQuantityPerCumulativePower" to return the transaction quantity table with quantity in units of kg/GWe, calculated by dividing the original quantity by the cumulative sum of the electricity generated in TimeSeriesPower metric from time 0 and created the test to check the expected output as well. Feel free to give feedback or suggestions :).

@louishartono louishartono changed the title . [WIP] New metrics to return Transaction table with quantity (kg/GWe) in terms of cumulative power from time 0 to time of the simulation Apr 23, 2020
@louishartono louishartono changed the title [WIP] New metrics to return Transaction table with quantity (kg/GWe) in terms of cumulative power from time 0 to time of the simulation New metrics to return Transaction table with quantity (kg/GWe) in terms of cumulative power from time 0 to time of the simulation May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant