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

Generate only kpis #66

Merged
merged 47 commits into from
Aug 2, 2024
Merged

Generate only kpis #66

merged 47 commits into from
Aug 2, 2024

Conversation

marota
Copy link
Collaborator

@marota marota commented Jan 25, 2023

You can now generate KPIs based on existing data as with this cli

chronix2grid --mode K --output-folder pathTo/data_grid2op/l2rpn_wcci_2022/chronics --input-folder ChroniX2Grid_path/input_data --ignore-warnings --weeks 4 --case case118_l2rpn_wcci_2022 --n_scenarios 1 

You can also only generate KPIs for your generated data if you don't want to bother generating KPIs for some reference data. This can be done by setting in ParamsKPI.json

"comparison":null 

…ng from an existing generated data folder such as a grid2op env
…ifferent starting dates accross scenarios when generating kpis from existing generated data
…lready generated or being generated to look for the chronic folder
@marota marota requested a review from BDonnot January 25, 2023 10:56
Copy link
Collaborator

@BDonnot BDonnot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some changes need to be made before merging, most notably:

  • the plt.ioff() or something like that, which can have side effects impossible to find and debug
  • the requirements.txt that uses completely outdated library (in the branch ramp_forecasts i made the changes to use most recent versions and tests pass, maybe we could merge this branch first ?)
  • some minor readability issues with the if not

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
chronix2grid/config.py Show resolved Hide resolved
chronix2grid/config.py Show resolved Hide resolved
chronix2grid/kpi/deterministic/kpis.py Outdated Show resolved Hide resolved
input_data/generation/case118_l2rpn_wcci_2022/gen_info.txt Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
@marota
Copy link
Collaborator Author

marota commented Jul 2, 2024

@BDonnot thanks for the long review, I addressed all comments and merged master into it to be up to date.
I think this PR can be merged, so you can have a last quick check

@marota marota merged commit e678bfe into master Aug 2, 2024
1 check passed
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.

2 participants