Skip to content

Commit b2b04a2

Browse files
cpschaucpschau
and
cpschau
authored
reincluded fuel type in chp carrier attribute (#1622)
Co-authored-by: cpschau <caspar.schauss@ieg.fraunhofer.de>
1 parent 246e49f commit b2b04a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/release_notes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Release Notes
1111
Upcoming Release
1212
================
1313

14+
* Re-included the fuel name as part of the carrier attribute for CHP plants added in :mod:`prepare_sector_network`
1415

1516
* Added option to use dynamic capacity for pit storage using the ``e_max_pu`` attribute of the store component, which is calculated in the new rule :mod:`build_tes_capacity_profiles` and added to the network in :mod:`prepare_sector_network`.
1617

scripts/prepare_sector_network.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3246,7 +3246,7 @@ def add_heat(
32463246
bus1=nodes,
32473247
bus2=nodes + " urban central heat",
32483248
bus3="co2 atmosphere",
3249-
carrier="urban central CHP",
3249+
carrier=f"urban central {fuel} CHP",
32503250
p_nom_extendable=True,
32513251
capital_cost=costs.at["central gas CHP", "capital_cost"]
32523252
* costs.at["central gas CHP", "efficiency"],
@@ -3266,7 +3266,7 @@ def add_heat(
32663266
bus2=nodes + " urban central heat",
32673267
bus3="co2 atmosphere",
32683268
bus4=spatial.co2.df.loc[nodes, "nodes"].values,
3269-
carrier="urban central CHP CC",
3269+
carrier=f"urban central {fuel} CHP CC",
32703270
p_nom_extendable=True,
32713271
capital_cost=costs.at["central gas CHP", "capital_cost"]
32723272
* costs.at["central gas CHP", "efficiency"]

0 commit comments

Comments
 (0)