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

feat: time range KPIs #92

Merged
merged 32 commits into from
May 27, 2024
Merged

feat: time range KPIs #92

merged 32 commits into from
May 27, 2024

Conversation

leo-desbureaux-tellae
Copy link
Contributor

Added an option for generating KPIs on time profiles instead of evaluating accumulated values over the whole simulation.
This option can be enabled using the new simulation parameter "kpi_time_profile". This parameter can either be a boolean (default is False) or a list defining time intervals (example: [0, 25200, 28800, ..]).
Time profiling will apply to all KPIs that are compatible (see PROFILE_COMPATIBILITY class attribute).
Simulation will crash if KPIs with mixed compatibilities are mixed in a same KpiOutput.
KPIs evaluation methods have been adapted to provide correct evaluations on the time intervals.

@leo-desbureaux-tellae leo-desbureaux-tellae merged commit 7ef4b24 into main May 27, 2024
@leo-desbureaux-tellae leo-desbureaux-tellae deleted the feat/hourly_kpis branch May 27, 2024 14:58
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