change unit from carrier gas from MWh_th -> MWh_LHV

This commit is contained in:
lisazeyen 2022-06-29 08:57:08 +02:00
parent 187c9cbaa3
commit b4d0a8404c

View File

@ -385,11 +385,13 @@ def add_carrier_buses(n, carrier, nodes=None):
n.add("Carrier", carrier) n.add("Carrier", carrier)
unit="MWh_LHV" if carrier=="gas" else "MWH_th"
n.madd("Bus", n.madd("Bus",
nodes, nodes,
location=location, location=location,
carrier=carrier, carrier=carrier,
unit='MWh_th' unit=unit
) )
#capital cost could be corrected to e.g. 0.2 EUR/kWh * annuity and O&M #capital cost could be corrected to e.g. 0.2 EUR/kWh * annuity and O&M