Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eurostat2023 data #936

Closed
wants to merge 50 commits into from
Closed

Eurostat2023 data #936

wants to merge 50 commits into from

Conversation

toniseibold
Copy link
Contributor

@toniseibold toniseibold commented Feb 16, 2024

Changes proposed in this Pull Request

Reads in the latest eurostat report from 2023 and uses it for building energy totals.
Since the JRC IDEES data is only available for 2015, the energy balances are scaled by the factor of eurostat[report_year]/eurostat[2015] data as well.
The latest swiss energy totals are added to ensure consistent energy totals.

To complement the PR, please add the eurostat data from 2023 to the zenodo data.

Missing is only the passenger car efficiency and the number of passenger cars that are initially in the JRC IDEES but not in the eurostat data set.

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

nworbmot and others added 30 commits January 12, 2024 16:42
Previously the DH share was being multiplied by the population
weighting, reducing the DH share with multiple nodes.
Previously this was handled inside prepare_sector_network.py.
Now the script build_district_heat_share.py does what the old function
create_nodes_for_heating() in prepare_sector_networks.py did.

There is no need to build nodes lists for each heating sector, since
all nodes have district heating now.
This makes the distribution of existing heating to urban/rural,
residential/services and spatially more transparent.
Without this formatting, there is an error adding a string to a list.
Co-authored-by: Fabian Hofmann <fab.hof@gmx.de>
The source URL has changed. It represents the year 2012 and is only
for buildings, not district heating. So the capacities for urban
central are now set to zero from this source.
This is because old costs default (25) is longer than all heating
technologies (20). Script was distributing across 25 years, then
throwing out boilers older than 20 years, an inconsistent
behaviour.

Now existing boilers are smoothly distributed across 20 years.
This allows them to cover heat demand peaks e.g. 10% higher than
those in the data.

The disadvantage of manipulating the costs is that the capacity is
then not quite right. This way at least the costs are right.

Doing it properly would require introducing artificial peaks, but this
creates new problems (e.g. what is going on with wind/solar/other
demand).
This is required so that other models can do CO2 limits on each type
of aviation separately.
Also allow industrial coal demand to be regional (so we can include
them in regional CO2 constraints).
p-glaum and others added 19 commits February 12, 2024 09:42
This is so that the full EU28 ammonia demand can be correctly
subtracted in the build_industry_sector_ratios.py script.

No other downstream scripts are affected by this change.
in build_industry_sector_ratios.py. In the config the units are Mt/a,
they are multiplied by MWh/t, but what is desired is GWh/a.
I.e. split basic chemicals (without ammonia) into MeOH, Cl and HVC.

This now agrees with scheme for industrial sectors tomorrow.
This makes sure the distribution key is correct when only subsets of
countries are used. This is then consistent with the HVC, MeOH and Cl
totals being EU28 totals.

Without this change, industry production is overestimated when using
subsets of countries.

Or the user has to adjust the totals for industrial production
themselves.
This uniformises how demand for basic chemicals is calculated.

We also avoid unnecessary use of ammonia production separately.
For each country we gradually switch industry processes from today's
specific energy carrier usage per ton material output to the
best-in-class energy consumption of tomorrow in the
industry_sector_ratios.csv.

This is done on a per-country basis. The ratio of today to tomorrow's
energy consumption is set with the
config["industry"]["sector_ratios_fraction_future"] parameter.
@toniseibold toniseibold changed the title Eurostat2023 mobility Eurostat2023 data Feb 21, 2024
@toniseibold
Copy link
Contributor Author

toniseibold commented Feb 21, 2024

Updated files for Switzerland:
source.txt
switzerland-new_format.csv

@toniseibold toniseibold marked this pull request as ready for review February 21, 2024 15:46
@lisazeyen
Copy link
Contributor

lisazeyen commented Feb 22, 2024

@toniseibold can you merge with the current master instead of ariadne2? Otherwise there are many changes in the files not connected to the PR.

And have you done some plausibility checks energy totals before and after the update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants