Skip to content

382 fix test hang problem#169

Closed
KobusVanRooyen wants to merge 357 commits into
Project-OMOTES:masterfrom
Multi-Energy-Systems-Optimization:382-fix-test-hang-problem
Closed

382 fix test hang problem#169
KobusVanRooyen wants to merge 357 commits into
Project-OMOTES:masterfrom
Multi-Energy-Systems-Optimization:382-fix-test-hang-problem

Conversation

@KobusVanRooyen

Copy link
Copy Markdown
Collaborator

Changes:

  1. HeatProblemB has been identified as a problem test (test_insulation.py) sometimes when using HIGHS solver (used by default). I checked that this problem does not exist when CPLEX solver is used. By switching of presolve the problem has been resolved in the test case with HIGHS solver.

  2. To assist for future bug finding like this in test a timelimit has no been added to pytest itself, which will help to identify problem cases like this in the future

jimrojerTNO and others added 30 commits April 16, 2024 16:10
This commit adds the airco asset in the heating networks.
…te-test-for-_write_updated_esdl

Test updated ESDL output file of MESIDO
This commit adds the multicommodity components of gas_boiler, electric_boiler and air_water_hp_elec
This commit adds the Hydraulic power variable and logic in the gas network. The code has been slightly refactored for maximum code re-use between HeatPhysicsMixin and GasPhysicsMixin by moving the complete constraint logic of both head loss and hydraulic power to the head_loss_class.

---------

Co-authored-by: Rojer <jim.rojer@tno.nl>
* made new function for running optimization to check on feasibility and use that in tests
* changes to make tests feasible and passing again


---------

Co-authored-by: Femke Janssen <femke.janssen@tno.nl>
* created the emerge wf and a simple test to check if the problem is solved.

---------

Co-authored-by: Femke Janssen <femke.janssen@tno.nl>
Database restructuring of the results, to allow for the animation mode in mapeditor.
The results are now structured according to the carrier.
gopalangj and others added 26 commits September 4, 2025 16:58
* Created an AssetStateEnum to have an option of IntEnum for asset states and changed all instaces of hard-coded occurence when checking to the IntEnums that were created 

---------

Co-authored-by: kobus.vanrooyen@tno.nl <kobus.vanrooyen@tno.nl>
Add tolerances in util test functions input.
Fix pipe parameter bug in test_end_scenario_sizing_head_loss
Update python version to minimum of 3.10, but preferably 3.11.
Allowing for speed up and support of python versions that still receive security updates.
Update to python 3.12 and further not yet possible due required rtctools and highs update
If the database profile name or field indicated in esdl are not available in the database, new type of possible error (MesidoAssetIssueType.ASSET_PROFILE_AVAILABILITY) will be called.
…d ates (#346)

* Additional constraint for buffer tank, ates and geo to ensure the aggregation count is 0 (not placed) when usage = 0.0
* Additional functionality of heat sources (Geothermal and Residual heat source) to have profile constraints and some tests to go with
- Before we create the optimized esdl after optimization, we check the current input esdl if it already has profile with ProfileType attribute "OUTPUT". If the input esdl already has sOUTPUT profiles we do not add them to the new esdl that we create after optimization.
-The new output profiles of the resulting optimization is added to the the esdl that we generate and we add ProfileType attribute as OUTPUT to those profiles
Emission coefficient from esdl based on an additional emission port and port relations when the emission is not related to the carrier.
Fix git pipeline hanging issue
Before updating the ESDL via write_output, OUTPUT profiles in ESDL asset inports are also removed.
First version of roll out workflow has been created, not yet supporting all assets.
- asset_is_realized variables from financial mixin are used and added yearly investment variables
- yearly cost calculation are added.
- yearly cyclic constraint of the ATES has been added using an additional "storage_yearly_change "
- adapt-profile method to insert one-hour timestep at the start
- added simple rollout post processing script

---------

Co-authored-by: plgbrts <paul.egberts@tno.nl>
Co-authored-by: kobus.vanrooyen@tno.nl <kobus.vanrooyen@tno.nl>
First work on post processing for the rollout workflow
Add items that went missing after adding taking lifetime into account
Use the profile in W when limiting the available pipe classes connected to a producer
capex_factor calculation is updated when we add KPI for TCO optimizatation mode. Now it will be the same as in the TCO calc in the code
Allowing two sizes of pipe diameters in stage 2 and not parsing the pipe_is_disconnected boolean from stage 1 to 2
Set disconnectable heatloss to false, as assets with producer profiles cannot always cover the heatloss.
Adding cost validation structure combined with potential errors
* KPIs on the optimized ESDL for Discounted cost optimizated (EAC) workflow is updated

* KPI plot titles for EAC are updated to indicate EAC. KPIs related to TCO optimization is removed for  Discounted cost optimizated workflow KPIs

* Tests for KPI EAC are added
Updated changelog for new release
change heat_loss_disconnected_pipe setting
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.

10 participants