quintel / etm-esdl

http://esdl.energytransitionmodel.com/api/v1/
1 stars 0 forks source link

Add carrier option (Add SingleValue to Electricity Carrier based on average electricity price) #80

Closed Charlottevm closed 1 year ago

Charlottevm commented 1 year ago

In the Meso case, Teacos needs an average yearly electricity price in order for their model to operate. The ETM is the best model to generate this number and insert it in the ESDL (see below for example).

This function should be integrated with the export_esdl API.

Example in ESDL:

<carrier xsi:type="esdl:EnergyCarrier" id="6e7acef6-c9c6-41c6-9723-f8588f431037" name="Electricity">
        <cost xsi:type="esdl:SingleValue" value="5.0" id="babe3e08-721b-4796-b26f-b69ff901f56c">
          <profileQuantityAndUnit xsi:type="esdl:QuantityAndUnitType" id="a11fe9e3-c497-4bac-b75b-adbf4d94fbff" physicalQuantity="COST" description="Cost in EUR/MWh" perUnit="WATTHOUR" perMultiplier="MEGA" unit="EURO"/>

Use gquery average electricity price: merit_order_price_average