Add system test for KPI integration in simulator workflow#175
Open
jarsarasty wants to merge 2 commits into
Open
Add system test for KPI integration in simulator workflow#175jarsarasty wants to merge 2 commits into
jarsarasty wants to merge 2 commits into
Conversation
107ce00 to
9eccd6f
Compare
c0e145e to
4a46805
Compare
a7d52f7 to
487ce99
Compare
487ce99 to
9093540
Compare
- Add test__simulator__kpis_present_in_output asserting KPIs are present in instance[0].area after a full pipeline run, with CAPEX verified against the ESDL costInformation and system_lifetime exercised with a non-default value (25 years) - Update docker-compose.yml to use simulator-worker 0.0.30beta2 (kpi-calculator 0.4.2 integration; 0.0.29 was never released as stable) - Add EXCLUDE_KPIS path set and pass it to compare_esdl in existing simulator tests so KPI churn does not break snapshot comparisons - Increase simulator test timeouts to 120s to account for KPI calculation time added after simulation
bc36874 to
b8f1bf2
Compare
- Replace simulator_ates_short_run.esdl with test_ates.esdl from simulator-worker to fix negative mass flow caused by reversed ATES pipe directions - Update snapshot test__simulator__multiple_ates_run.esdl to match new ESDL output - Improve KPI assertions in test__simulator__kpis_present_in_output: check exact KPI name set, assert CAPEX/OPEX values against ESDL cost data, and verify Production/Demand energy entries are positive
b8f1bf2 to
9c3b6d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.