Skip to content

Use heatsource based on varying supply temperature - #481

Open
tolga-akan wants to merge 7 commits into
mainfrom
heatsource_usage_based_on_varying_supply_temp
Open

Use heatsource based on varying supply temperature#481
tolga-akan wants to merge 7 commits into
mainfrom
heatsource_usage_based_on_varying_supply_temp

Conversation

@tolga-akan

Copy link
Copy Markdown
Collaborator

Use heatsource if asset max temperature is larger than or equal to network supply temperature for the case with network supply temperature has multiple temperature options:

  • Modify heat_physics_mixing so that heat_out of heat_source will be zero if network supply temperature is greater than the max temperature of the asset. Apply this to all the supply temperature options
  • Create a new test. Place 2 heat source and set the cheap heat source maximum temperature lower than the network supply temperature. Define multiple temperature options to the supply temperature. Show that optimizer uses only expensive heat source and smallest supply temperature is selected.

@tolga-akan
tolga-akan marked this pull request as ready for review May 29, 2026 13:38
@tolga-akan

Copy link
Copy Markdown
Collaborator Author

@KobusVanRooyen Ready to review.

Currently I created the temperature_regimes list inside the problem class by using the carrier names. This list includes the temperatures of <base_carrier_name>_. Shall we define the list of temperature regimes in esdl_parser? Do you think the current way of defining of the list is enough for the time being.

Comment thread tests/test_varying_temperature.py
Comment thread tests/test_varying_temperature.py
Comment thread tests/models/unit_cases/case_1a/src/run_1a.py
@KobusVanRooyen

Copy link
Copy Markdown
Collaborator

@tolga-akan review completed

@tolga-akan

Copy link
Copy Markdown
Collaborator Author

@KobusVanRooyen ready for reviewing

f"{sup_carrier}_{supply_temperature}"
)

heat_out_expected = discharge * cp * rho * supply_temperature

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You will have to revert this code if you want to use the new code from main here

Comment thread CHANGELOG.md

## Added
- ESDL profile reading and writing for different types: influxdb and postgres, and inline (in ESDL file).
- A heat source asset is eligible for use only when its maximum temperature

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This will have to be removed. Since this PR will only be adding a test case, for which we do not add in the CHANGELOG

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