add biomass constraint for biomass spatial enabled
This commit is contained in:
parent
2d027e80c3
commit
c71c4e7567
@ -2330,6 +2330,14 @@ def add_biomass(n, costs):
|
|||||||
marginal_cost=costs.at["solid biomass", "fuel"]
|
marginal_cost=costs.at["solid biomass", "fuel"]
|
||||||
+ bus_transport_costs * average_distance,
|
+ bus_transport_costs * average_distance,
|
||||||
)
|
)
|
||||||
|
n.add(
|
||||||
|
"GlobalConstraint",
|
||||||
|
"biomass limit",
|
||||||
|
carrier_attribute="solid biomass",
|
||||||
|
sense="<=",
|
||||||
|
constant=biomass_potentials["solid biomass"].sum(),
|
||||||
|
type="operational_limit",
|
||||||
|
)
|
||||||
|
|
||||||
# AC buses with district heating
|
# AC buses with district heating
|
||||||
urban_central = n.buses.index[n.buses.carrier == "urban central heat"]
|
urban_central = n.buses.index[n.buses.carrier == "urban central heat"]
|
||||||
|
Loading…
Reference in New Issue
Block a user