diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 7abdadff..8bca2770 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1521,6 +1521,22 @@ def add_heat(n, costs): capital_cost=costs.at[key, 'efficiency'] * costs.at[key, 'fixed'], lifetime=costs.at[key, 'lifetime'] ) + + if options["pellet_boiler"]: + #TODO: Add surcharge for pellets + n.madd("Link", + nodes[name] + " biomass boiler", + p_nom_extendable=True, + bus0=spatial.biomass.nodes, + bus1=nodes[name] + f" {name} heat", + bus2="co2 atmosphere", + carrier=name + " biomass boiler", + efficiency=costs.at['biomass boiler', 'efficiency'], + efficiency2=costs.at['solid biomass', 'CO2 intensity']-costs.at['solid biomass', 'CO2 intensity'], + capital_cost=costs.at['biomass boiler', 'efficiency'] * costs.at['biomass boiler', 'fixed'], + lifetime=costs.at['biomass boiler', 'lifetime'] + ) + if options["solar_thermal"]: