PyPSA / pypsa-ariadne

High resolution, sector-coupled model of the German Energy System
https://ariadneprojekt.de/en/model-documentation-pypsa/
MIT License
12 stars 4 forks source link

Transport Demand from Aladin Sector Model #118

Closed toniseibold closed 3 months ago

toniseibold commented 3 months ago

Adressing https://github.com/PyPSA/pypsa-ariadne/issues/102

This PR now takes the road and rail transport demand for hydrogen, electricity and liquids from the Aladin model that also exports to the ariadne databse.

rule: build_mobility_demand The rule reads the demand for electricity, hydrogen and liquids from buses, LDV, rail and trucks. The number of electric vehicles is also retrieved since it determines the V2G and BEV charger capacities.

rule: modify_prenetwork aladin_mobility_demand This function gets the loads for [land transport oil, land transport fuel cell, land transport EV] and overwrites the loads with the values from the Aladin model. Note that the demand is time dependent and therefore, the relative transport demand is built from the n.loads_t.p_set dataframe.

Comparison with Remind

image image

toniseibold commented 3 months ago

Talked with Fabian about it as well. Works but makes it intransparent for others to understand where the mobility demand is coming from. We are slowly hollowing out the pypsa-eur workflow by using the infrastructure (links, loads etc.) but replacing data shortly before solving. Especially when moving from pypsa-ariadne to pypsa-de we should reconsider some of this.