Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Unreleased-main] - 2026-05-13
# [Unreleased-main] - 2026-05-26

## Added
- Electricity consumption calculation of geothermal assets, using the defined COP.
Expand All @@ -12,6 +12,7 @@
- Ramp constraints for heat producers are added.
- Maximum and minimum temperature of heat sources are parsed from esdl
- Warnings on potential causes of heat demand not being matched are added in the grow workflow
- A heat source asset is eligible for use only when its maximum temperature meets or exceeds the network supply temperature

## Changed
- Reduced the number of constraints required for headloss calculation with LINEARIZED_N_LINES_EQUALITY setting.
Expand Down
8 changes: 6 additions & 2 deletions src/mesido/heat_physics_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1427,10 +1427,14 @@ def __source_heat_to_discharge_path_constraints(self, ensemble_member):

if temp_out_profile is None:
if len(supply_temperatures) == 0:
heat_out_expected = discharge * cp * rho * parameters[f"{s}.T_supply"]
if (0.0 < parameters[f"{s}.max_temperature"]) and (
parameters[f"{s}.max_temperature"] < parameters[f"{s}.T_supply"]
):
heat_out_expected = 0.0
constraints.append(
(
(heat_out - discharge * cp * rho * parameters[f"{s}.T_supply"])
/ heat_nominal,
(heat_out - heat_out_expected) / heat_nominal,
0.0,
0.0,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
</costInformation>
<dataSource xsi:type="esdl:DataSource" attribution="https://www.logstor.com/media/6506/product-catalogue-uk-202003.pdf" name="Logstor Product Catalogue Version 2020.03"/>
</asset>
<asset xsi:type="esdl:GeothermalSource" maxTemperature="70.0" id="4e5bef4c-0192-4275-9e6a-2d1ae59a3941" power="6000000.0" name="GeothermalSource_4e5b">
<asset xsi:type="esdl:GeothermalSource" maxTemperature="80.0" id="4e5bef4c-0192-4275-9e6a-2d1ae59a3941" power="6000000.0" name="GeothermalSource_4e5b">
<port xsi:type="esdl:OutPort" carrier="f518c023-f81b-440f-93b2-a8cde23eb059" name="Out" id="14632e13-9a41-45ec-8125-d8bff7c0c2a3" connectedTo="bf59c1bd-f9f2-40c3-b5cd-b4aeb7127483"/>
<port xsi:type="esdl:InPort" carrier="f518c023-f81b-440f-93b2-a8cde23eb059_ret" name="In" connectedTo="8b9ef7db-d545-4a9f-938c-c9fa3f7c6a58" id="f09e1c35-7d0c-4d8a-ae33-ed8cd461e397"/>
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="52.03592690466185" lon="4.306080476812526"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/models/insulation/model/Insulation.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
<port xsi:type="esdl:OutPort" id="688b3bf8-bd6b-4361-9516-038441173e70" connectedTo="0121b493-7787-472f-860c-caf7245955be" carrier="ce071f25-185e-45f0-9c31-c51bb40c104e" name="Out"/>
<port xsi:type="esdl:InPort" connectedTo="4443d6f8-159a-4d61-82f7-14f49414ca04" id="fe8fd335-e544-48d0-a2bb-9029920ce799" carrier="ce071f25-185e-45f0-9c31-c51bb40c104e_ret" name="In"/>
</asset>
<asset xsi:type="esdl:ResidualHeatSource" power="30000000.0" name="ResidualHeatSource_4539" maxTemperature="60.0" id="4539f425-2d05-4a12-bb6f-fdf979bc6498">
<asset xsi:type="esdl:ResidualHeatSource" power="30000000.0" name="ResidualHeatSource_4539" maxTemperature="100.0" id="4539f425-2d05-4a12-bb6f-fdf979bc6498">
<geometry xsi:type="esdl:Point" lon="4.355370998382569" lat="52.01608338626585" CRS="WGS84"/>
<port xsi:type="esdl:OutPort" id="b3aa7d9e-1562-4abe-a3b1-374b964c779a" connectedTo="84c087a2-fa2b-4dad-9ea3-57a6376b02ef" carrier="ce071f25-185e-45f0-9c31-c51bb40c104e" name="Out"/>
<port xsi:type="esdl:InPort" connectedTo="c99cbcd0-ba6d-4481-9cdd-e3414a2d4bf7" id="17c2b043-f773-4bbf-9cdd-c2307c0d6c0a" carrier="ce071f25-185e-45f0-9c31-c51bb40c104e_ret" name="In"/>
Expand Down
154 changes: 154 additions & 0 deletions tests/models/unit_cases/case_1a/model/1a_with_2producers.esdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<?xml version='1.0' encoding='UTF-8'?>
<esdl:EnergySystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:esdl="http://www.tno.nl/esdl" id="b9f8b83d-49e2-4c8b-9992-240ed4643329" name="1a_with_2producers" description="" esdlVersion="v2211" version="4">
<instance xsi:type="esdl:Instance" id="22cf0465-ceef-486a-b8d0-278c131cbece" name="Untitled Instance">
<area xsi:type="esdl:Area" id="a5845d28-ed01-4f32-91dc-654632ecc997" name="Untitled Area">
<asset xsi:type="esdl:HeatingDemand" id="2ab92324-f86e-4976-9a6e-f7454b77ba3c" minTemperature="70.0" power="1000000.0" name="HeatingDemand_2ab9">
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="51.98612564800895" lon="4.38157081604004"/>
<port xsi:type="esdl:InPort" name="In" id="3f514c6b-fd11-4821-9e6c-4a4d13d46762" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed" connectedTo="95f46ccf-bac8-4a44-a854-2bbe2fb3c5e6">
<profile xsi:type="esdl:SingleValue" value="0.1" id="5317d120-2e6e-415d-a3bc-bdd6268997d3">
<profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitReference" reference="e9405fc8-5e57-4df5-8584-4babee7cdf1b"/>
</profile>
</port>
<port xsi:type="esdl:OutPort" name="Out" id="d86d3ed7-77d8-4766-bfa1-ed9209edf0b6" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" connectedTo="75a9a056-987d-41dc-9ecf-ca3edfef31d8"/>
</asset>
<asset xsi:type="esdl:HeatingDemand" id="6662aebb-f85e-4df3-9f7e-c58993586fba" minTemperature="70.0" power="1000000.0" name="HeatingDemand_6662">
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="51.985484727746204" lon="4.381640553474427"/>
<port xsi:type="esdl:InPort" name="In" id="5f607bc1-31a6-4bc8-8911-aefd4d2cfc4d" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed" connectedTo="99e5f517-4fbb-4e1e-89e2-606f1121adeb">
<profile xsi:type="esdl:SingleValue" value="0.1" id="5317d120-2e6e-415d-a3bc-bdd6268997d3">
<profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitReference" reference="e9405fc8-5e57-4df5-8584-4babee7cdf1b"/>
</profile>
</port>
<port xsi:type="esdl:OutPort" name="Out" id="560eb546-6e19-4fb7-9dce-741ed12310a6" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" connectedTo="27daf107-0ce8-4870-bb8c-45421a62ed83"/>
</asset>
<asset xsi:type="esdl:ResidualHeatSource" id="8172d5d3-61a4-4d0b-a26f-5e61c2a22c64" minTemperature="65.0" maxTemperature="85.0" power="2000000.0" name="ResidualHeat_expensive">
<geometry xsi:type="esdl:Point" lat="51.985595402776624" lon="4.379819333553315"/>
<port xsi:type="esdl:OutPort" name="Out" id="974230fb-e753-4fc1-a762-82de7d960e62" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed" connectedTo="adb264b4-2ba0-4a49-9fc7-f57a29fb6346"/>
<port xsi:type="esdl:InPort" name="In" id="4b5d5d6c-82ef-441b-9e0b-478cf3c8031c" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" connectedTo="ba6017c5-bedf-411c-9e49-72f0b5053991"/>
<costInformation xsi:type="esdl:CostInformation" id="922dcf25-d360-4078-a4f6-5d8ef49616a7">
<variableOperationalCosts xsi:type="esdl:SingleValue" id="57c019c2-148b-4ab8-9e6e-4f1774fc039d" value="100.0">
<profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitType" physicalQuantity="COST" description="Cost in EUR/MWh" id="828d850b-280d-469c-adfb-36268ef1c99c" unit="EURO" perMultiplier="MEGA" perUnit="WATTHOUR"/>
</variableOperationalCosts>
</costInformation>
</asset>
<asset xsi:type="esdl:Joint" id="ed9a2b96-2fff-4650-b875-41c6f05a6e44" name="Joint_9580_ret">
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="51.985749025873034" lon="4.3802350759506234"/>
<port xsi:type="esdl:InPort" name="In" id="adb264b4-2ba0-4a49-9fc7-f57a29fb6346" connectedTo="974230fb-e753-4fc1-a762-82de7d960e62 efaeb481-99cf-4071-b1f1-9041f1a56922" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<port xsi:type="esdl:OutPort" name="Out" id="061f1df2-f724-4b08-aa5f-6f19b06c2f92" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed" connectedTo="a779e3ec-8215-43c9-84ff-baa1c93abfea df318cbd-81f2-467c-a081-7feb4256dbfa 14757d8c-9685-47e2-bf2a-517ee556ab56"/>
</asset>
<asset xsi:type="esdl:Joint" id="95802cf8-61d6-4773-bb99-e275c3bf26cc" name="Joint_9580">
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="51.98563669935972" lon="4.380224347114564"/>
<port xsi:type="esdl:InPort" name="In" id="e3bbc000-98be-43d7-898e-7a503871786f" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" connectedTo="388ae7b7-2a05-4b50-acf7-adebf4c24ab4 1f153f2f-adf6-4e3b-94ca-aef1644e8c7d c7ef3ba2-332e-4c8d-bc53-449179a4bc22"/>
<port xsi:type="esdl:OutPort" name="Out" id="ba6017c5-bedf-411c-9e49-72f0b5053991" connectedTo="4b5d5d6c-82ef-441b-9e0b-478cf3c8031c d6bf4a19-117e-4a03-b6e4-1acca1a63f2b" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
</asset>
<asset xsi:type="esdl:Pipe" id="275a0b40-b6ce-4e7d-b954-efeff0f25734" length="72.13358767664306" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_275a">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98579197417133" lon="4.380412101745606"/>
<point xsi:type="esdl:Point" lat="51.98609261110622" lon="4.381345510482789"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="a779e3ec-8215-43c9-84ff-baa1c93abfea" connectedTo="061f1df2-f724-4b08-aa5f-6f19b06c2f92" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<port xsi:type="esdl:OutPort" name="Out" id="95f46ccf-bac8-4a44-a854-2bbe2fb3c5e6" connectedTo="3f514c6b-fd11-4821-9e6c-4a4d13d46762" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<material xsi:type="esdl:CompoundMatter" compoundType="LAYERED">
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.004">
<matter xsi:type="esdl:Material" id="c4af6ec7-a8da-4412-b4c4-62d3b5c8ecb8" name="steel" thermalConductivity="0.00014862917548188605"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.03725">
<matter xsi:type="esdl:Material" id="b74a8c0f-9c8a-4a02-8055-c77943b414c1" name="PUR" thermalConductivity="2.1603217928675567"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.0036000000000000003">
<matter xsi:type="esdl:Material" id="aff626e3-66f1-470f-a86d-f1f6adb336cb" name="HDPE" thermalConductivity="0.011627406024262562"/>
</component>
</material>
</asset>
<asset xsi:type="esdl:Pipe" id="b5babf87-0530-49b5-914d-008d733ac5bf" length="73.56064145043287" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_b5ba">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98563339563447" lon="4.380374550819398"/>
<point xsi:type="esdl:Point" lat="51.98549794268959" lon="4.381425976753236"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="14757d8c-9685-47e2-bf2a-517ee556ab56" connectedTo="061f1df2-f724-4b08-aa5f-6f19b06c2f92" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<port xsi:type="esdl:OutPort" name="Out" id="99e5f517-4fbb-4e1e-89e2-606f1121adeb" connectedTo="5f607bc1-31a6-4bc8-8911-aefd4d2cfc4d" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<material xsi:type="esdl:CompoundMatter" compoundType="LAYERED">
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.004">
<matter xsi:type="esdl:Material" id="c4af6ec7-a8da-4412-b4c4-62d3b5c8ecb8" name="steel" thermalConductivity="0.00014862917548188605"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.03725">
<matter xsi:type="esdl:Material" id="b74a8c0f-9c8a-4a02-8055-c77943b414c1" name="PUR" thermalConductivity="2.1603217928675567"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.0036000000000000003">
<matter xsi:type="esdl:Material" id="aff626e3-66f1-470f-a86d-f1f6adb336cb" name="HDPE" thermalConductivity="0.011627406024262562"/>
</component>
</material>
</asset>
<asset xsi:type="esdl:Pipe" id="5871f6ef-5d92-4a13-8843-6c56c2ac747f" length="70.32745329931934" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_5871">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98571598869247" lon="4.380438923835755"/>
<point xsi:type="esdl:Point" lat="51.985758937022446" lon="4.381463527679444"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="df318cbd-81f2-467c-a081-7feb4256dbfa" connectedTo="061f1df2-f724-4b08-aa5f-6f19b06c2f92" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<port xsi:type="esdl:OutPort" name="Out" id="c9d98764-3e85-4676-9504-73f7eeb242f5" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed" connectedTo="ee56b88f-a264-4389-ba57-6f2b52a05e1c"/>
<material xsi:type="esdl:CompoundMatter" compoundType="LAYERED">
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.004">
<matter xsi:type="esdl:Material" id="c4af6ec7-a8da-4412-b4c4-62d3b5c8ecb8" name="steel" thermalConductivity="0.00014862917548188605"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.03725">
<matter xsi:type="esdl:Material" id="b74a8c0f-9c8a-4a02-8055-c77943b414c1" name="PUR" thermalConductivity="2.1603217928675567"/>
</component>
<component xsi:type="esdl:CompoundMatterComponent" layerWidth="0.0036000000000000003">
<matter xsi:type="esdl:Material" id="aff626e3-66f1-470f-a86d-f1f6adb336cb" name="HDPE" thermalConductivity="0.011627406024262562"/>
</component>
</material>
</asset>
<asset xsi:type="esdl:HeatingDemand" id="506c41ac-d415-4482-bf10-bf12f17aeac6" minTemperature="70.0" power="1000000.0" name="HeatingDemand_506c">
<geometry xsi:type="esdl:Point" CRS="WGS84" lat="51.98578206302921" lon="4.381629824638368"/>
<port xsi:type="esdl:InPort" name="In" id="ee56b88f-a264-4389-ba57-6f2b52a05e1c" connectedTo="c9d98764-3e85-4676-9504-73f7eeb242f5" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed">
<profile xsi:type="esdl:SingleValue" value="0.1" id="5317d120-2e6e-415d-a3bc-bdd6268997d3">
<profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitReference" reference="e9405fc8-5e57-4df5-8584-4babee7cdf1b"/>
</profile>
</port>
<port xsi:type="esdl:OutPort" name="Out" id="a4d4447f-683c-4daf-aafd-f20efc13bd43" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" connectedTo="e3839971-e5b0-4b3a-9c55-ac2baab8966a"/>
</asset>
<asset xsi:type="esdl:Pipe" id="22771285-490c-42e3-a6be-82c383b5f21e" length="72.13358767664306" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_275a_ret">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98607261110622" lon="4.381325510482789"/>
<point xsi:type="esdl:Point" lat="51.98577197417133" lon="4.380392101745606"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="75a9a056-987d-41dc-9ecf-ca3edfef31d8" connectedTo="d86d3ed7-77d8-4766-bfa1-ed9209edf0b6" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
<port xsi:type="esdl:OutPort" name="Out" id="c7ef3ba2-332e-4c8d-bc53-449179a4bc22" connectedTo="e3bbc000-98be-43d7-898e-7a503871786f" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
</asset>
<asset xsi:type="esdl:Pipe" id="e68bff9f-422c-4a1b-90b0-80a5bfc1cabf" length="70.32745329931934" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_5871_ret">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98573893702245" lon="4.381443527679444"/>
<point xsi:type="esdl:Point" lat="51.98569598869247" lon="4.380418923835755"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="e3839971-e5b0-4b3a-9c55-ac2baab8966a" connectedTo="a4d4447f-683c-4daf-aafd-f20efc13bd43" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
<port xsi:type="esdl:OutPort" name="Out" id="1f153f2f-adf6-4e3b-94ca-aef1644e8c7d" connectedTo="e3bbc000-98be-43d7-898e-7a503871786f" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
</asset>
<asset xsi:type="esdl:Pipe" id="4605c1d2-62fc-40f3-8451-c6335b8d822a" length="73.56064145043287" innerDiameter="0.16030000000000003" outerDiameter="0.25" name="Pipe_b5ba_ret">
<geometry xsi:type="esdl:Line" CRS="WGS84">
<point xsi:type="esdl:Point" lat="51.98547794268959" lon="4.381405976753236"/>
<point xsi:type="esdl:Point" lat="51.98561339563447" lon="4.380354550819398"/>
</geometry>
<port xsi:type="esdl:InPort" name="In" id="27daf107-0ce8-4870-bb8c-45421a62ed83" connectedTo="560eb546-6e19-4fb7-9dce-741ed12310a6" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
<port xsi:type="esdl:OutPort" name="Out" id="388ae7b7-2a05-4b50-acf7-adebf4c24ab4" connectedTo="e3bbc000-98be-43d7-898e-7a503871786f" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
</asset>
<asset xsi:type="esdl:ResidualHeatSource" id="de0b4c1f-70f3-4d0d-8e63-09fa5fc71d0d" minTemperature="65.0" maxTemperature="70.0" power="2000000.0" name="ResidualHeat_cheap">
<geometry xsi:type="esdl:Point" lat="51.98569864416294" lon="4.379828721284867"/>
<port xsi:type="esdl:OutPort" name="Out" id="efaeb481-99cf-4071-b1f1-9041f1a56922" connectedTo="adb264b4-2ba0-4a49-9fc7-f57a29fb6346" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed"/>
<port xsi:type="esdl:InPort" name="In" id="d6bf4a19-117e-4a03-b6e4-1acca1a63f2b" connectedTo="ba6017c5-bedf-411c-9e49-72f0b5053991" carrier="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret"/>
<costInformation xsi:type="esdl:CostInformation" id="4b31fd55-a586-4818-b18d-202e876f7ad1">
<variableOperationalCosts xsi:type="esdl:SingleValue" id="57c019c2-148b-4ab8-9e6e-4f1774fc039d" value="10.0">
<profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitType" physicalQuantity="COST" description="Cost in EUR/MWh" id="828d850b-280d-469c-adfb-36268ef1c99c" unit="EURO" perMultiplier="MEGA" perUnit="WATTHOUR"/>
</variableOperationalCosts>
</costInformation>
</asset>
</area>
</instance>
<energySystemInformation xsi:type="esdl:EnergySystemInformation" id="eebe64dd-045f-49d5-9177-1e9a96a030f3">
<quantityAndUnits xsi:type="esdl:QuantityAndUnits" id="c7104449-b5eb-49c7-b064-a2a4b16ae6e4">
<quantityAndUnit xsi:type="esdl:QuantityAndUnitType" id="e9405fc8-5e57-4df5-8584-4babee7cdf1b" description="Power in MW" physicalQuantity="POWER" unit="WATT" multiplier="MEGA"/>
</quantityAndUnits>
<carriers xsi:type="esdl:Carriers" id="823f0f5a-89a9-498e-a6b7-482a08ad95b2">
<carrier xsi:type="esdl:HeatCommodity" id="c362f53a-3eaf-4d96-8ee6-944e77359fed_ret" name="Heat_ret" returnTemperature="45.0"/>
<carrier xsi:type="esdl:HeatCommodity" id="c362f53a-3eaf-4d96-8ee6-944e77359fed" name="Heat" supplyTemperature="75.0"/>
</carriers>
</energySystemInformation>
</esdl:EnergySystem>
5 changes: 5 additions & 0 deletions tests/models/unit_cases/case_1a/src/run_1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from mesido.esdl.profile_parser import ProfileReaderFromFile
from mesido.physics_mixin import PhysicsMixin
from mesido.qth_not_maintained.qth_mixin import QTHMixin
from mesido.techno_economic_mixin import TechnoEconomicMixin

import numpy as np

Expand Down Expand Up @@ -61,6 +62,10 @@ def solver_options(self):
return options


class HeatProblemWithTechnoEconomicMixin(HeatProblem, TechnoEconomicMixin):
pass


class HeatProblemTvar(HeatProblem):
def energy_system_options(self):
options = super().energy_system_options()
Expand Down
Loading
Loading