PyPSA / pypsa-ariadne

MIT License
6 stars 4 forks source link

Export Non-Energy Variables #80

Closed toniseibold closed 1 month ago

toniseibold commented 1 month ago

This PR exports numerous variables and addresses https://github.com/PyPSA/pypsa-ariadne/issues/66

Non-Energy Use Variables

PyPSA-ariadne takes only non-energy use in the chemical industry into account. Initially, the non-energy use is read in from the IDEES database. The function get_non_energy_use() follows the logic:

Since we model the demand for MeOH and NH3 with its synthesis routes, demands in CH4 and H2 are calculated

PyPSA-Eur is not taking into account biomass for the paper&pulp production. Furthermore, the demand of solids for non-energy use in 2015 is added as a demand in naphtha. As a result, the demand in solids is zero. Since PyPSA-Eur is only demanding for naphtha in industry, we can not distinguish between liquids from petroleum, biomass and Fischer-Tropsch. PyPSA-Eur only demands hydrogen for ammonia production, whether it's produced via SMR or renewable is up to the system.

Production Variables

The function get_production reads in the production from the files industrial_production_per_country_tomorrow_{planning_horizons}-modified.csv. Together with the config[industry][St_primary_fraction], the variables Production|Non-Metallic Minerals|Cement, Production|Steel, Production|Steel|Primary, Production|Steel|Secondary are exported. CAVE: since those values are taken from FORECAST anyway, they are not meaningful when comparing models

toniseibold commented 1 month ago

image image image image

lindnemi commented 1 month ago

nice work toni!

So if i get this right, all non-energy feedstocks in pypsa-eur are either modelled as H2, naptha or methane.

For these 3 carriers energy-use and non-energy use is mixed. Furthermore, for some reason, naptha for industry also contains the demand in solids!

On the contrary,coal for industry and solid biomass for industry are energy-use only.

lindnemi commented 1 month ago

Final-Energy-Industry-excl-Non-Energy-Use-Hydrogen

Strangely, H2 demand seems to be greater than supply in [2020,2030] (This is for CurrentPolicies). Any ideas @toniseibold?

toniseibold commented 1 month ago

Hydrogen demand should now be positive. I calculate a fossil hydrogen share and use that to differentiate between CH4 and H2 demand. Additionally, if the ammonia demand is modeled, the Haber-Bosch links are used.