Commit Graph

234 Commits

Author SHA1 Message Date
Fabian Neumann
945180f153 allow_missing in collection rules, fixes for myopic, wildcard constraints without function 2024-02-17 23:37:03 +01:00
Fabian Neumann
35b2228891 Merge branch 'wc-to-cf' into scenario-management 2024-02-17 17:16:28 +01:00
Fabian Neumann
d2a66879de Merge branch 'master' into scenario-management 2024-02-17 17:04:36 +01:00
Fabian Neumann
dd2416a59e handle all {opts} and {sector_opts} wildcard values in config 2024-02-17 11:57:16 +01:00
Fabian Neumann
e9174d4f14
Merge branch 'master' into industry-pathway 2024-02-16 15:15:27 +01:00
Fabian Neumann
60406f1bc4
Merge pull request #933 from PyPSA/h2-pipe-losses
update h2 pipe losses
2024-02-16 13:32:30 +01:00
Fabian Neumann
9e8ed7394d
Update config/config.default.yaml 2024-02-16 13:32:24 +01:00
Fabian Neumann
4d4badc519 Merge branch 'master' into industry-pathway 2024-02-16 13:01:40 +01:00
Fabian Neumann
6a8ae68aec Merge branch 'industry-coal-bug' 2024-02-16 12:47:34 +01:00
Fabian Neumann
16e42c8fe6 further progress and bugfixes 2024-02-16 11:17:00 +01:00
martacki
6196fd6892 change default energy totals year to 2013 to comply with default weather year 2024-02-15 16:29:29 +01:00
lisazeyen
8464415b35
update for 70 bars instead of 140 2024-02-15 15:14:32 +01:00
lisazeyen
87ab0a5575
update h2 pipe losses 2024-02-15 14:58:53 +01:00
Tom Brown
e14bae345b new script to interpolate industry sector ratios today to tomorrow
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.
2024-02-14 18:29:56 +01:00
Tom Brown
7f3ad792a9 use production to determine today's energy demand for basic chemicals
This uniformises how demand for basic chemicals is calculated.

We also avoid unnecessary use of ammonia production separately.
2024-02-14 18:29:50 +01:00
Tom Brown
cc57952402 industrial prod: use EU28 total for denominator for distribution key
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.
2024-02-14 18:29:43 +01:00
Tom Brown
cbf7ed0d38 for today's industry energy demand, separate MeOH, Cl and HVC
I.e. split basic chemicals (without ammonia) into MeOH, Cl and HVC.

This now agrees with scheme for industrial sectors tomorrow.
2024-02-14 18:29:36 +01:00
Fabian Neumann
dbbfbaf1f3 Merge branch 'master' into scenario-management 2024-02-14 10:45:43 +01:00
Fabian Neumann
f024412301 simplify test cases 2024-02-12 16:49:15 +01:00
Fabian Neumann
b725a754cc Merge branch 'default-config' of github.com:PyPSA/pypsa-eur into default-config 2024-02-12 13:57:04 +01:00
Fabian Neumann
69e20e3448 need at least one entry for config/config.yaml to read as yaml 2024-02-12 13:55:32 +01:00
pre-commit-ci[bot]
abe06a68fb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-12 11:11:04 +00:00
Fabian Neumann
fe143ff8fe use default config as base configuration 2024-02-12 12:10:05 +01:00
Fabian Neumann
bb7b65eebd move create_scenarios.py to config directory 2024-02-12 11:52:07 +01:00
Tom Brown
8781e69066 bugfix: coal emissions for industry weren't tracked
Also allow industrial coal demand to be regional (so we can include
them in regional CO2 constraints).
2024-02-10 19:17:06 +01:00
Fabian Neumann
6de08bd523 Merge branch 'master' into scenario-management 2024-02-10 17:22:01 +01:00
Fabian Neumann
e0dafc50b3 add missing heat pump colors 2024-02-09 10:15:11 +01:00
Tom Brown
92d00a0c83 add new default to overdimension heating in individual buildings
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).
2024-02-07 17:18:04 +01:00
Tom Brown
6d94439bbb for existing heating use new default_heating_lifetime
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.
2024-02-07 17:15:37 +01:00
Fabian Neumann
5902be199f powerplants_filter: phase-out status 2023 (incl. nuclear in DE) 2024-02-07 11:20:05 +01:00
Fabian Neumann
823765b353 update technology-data to 0.7.0 by default 2024-02-07 09:52:30 +01:00
Fabian
76872fa0f1 add sanitize_locations function and apply it
address some deprecation warnings
2024-02-05 16:16:34 +01:00
Fabian Neumann
3db6a65c04
Merge branch 'master' into encapsulate-resource-dir 2024-02-05 08:21:49 +01:00
Fabian Neumann
6d40ff1340 config: add sensible defaults for HVC recycling and reuse 2024-02-02 11:52:01 +01:00
Fabian
d32789bd02 snakefile: allow to share resources in directory
ci: use test.sh script which can be executed locally
2024-01-31 16:53:14 +01:00
Koen van Greevenbroek
03c914bef1 Make projection selection flexible by reading directly from config 2024-01-25 14:34:03 +01:00
Koen van Greevenbroek
9aa154bd04 Add several map projection options 2024-01-25 10:44:24 +01:00
Fabian Neumann
b8a303bf1f
Merge pull request #892 from koen-vg/io-api-option
Add support for the linopy `io_api` option
2024-01-24 16:57:45 +01:00
Fabian Neumann
2ce7d78dbb revert accidental addition of personal config file 2024-01-24 16:23:44 +01:00
Koen van Greevenbroek
3e32dbccb5 Add support for the linopy io_api option 2024-01-24 11:23:56 +01:00
Fabian Neumann
2bee36be87 follow-up to #891: remove remaining solar+p3 references 2024-01-24 10:17:26 +01:00
Koen van Greevenbroek
b1ce26d270 Don't include triple solar potential option by default 2024-01-24 09:37:01 +01:00
Fabian Neumann
77f49d4404 update technology-data to 0.6.2 by default 2024-01-19 19:00:33 +01:00
Fabian Neumann
01c1b9161b COPT solver provide sensible default settings 2024-01-19 16:59:39 +01:00
Fabian Neumann
b0e23652cd
Merge branch 'master' into reformulate-co2-constraint 2024-01-18 19:34:27 +01:00
Fabian Neumann
682d3d857b cluster heat buses by default 2024-01-18 17:25:05 +01:00
lisazeyen
1613299a03 add more years to config.perfect.yaml 2024-01-12 20:57:19 +01:00
Fabian Neumann
a6edce58fb remove wave energy generator 2024-01-11 09:47:09 +01:00
euronion
01f201743d Implement everywhere_powerplants 2024-01-08 09:30:21 +01:00
Fabian Neumann
647a988c75 config: set default max_extension to finite value for loss approximation 2024-01-07 09:48:43 +01:00