lisazeyen
57aea1db35
drop H2 and battery buses from pypsa-eur
2020-12-02 13:03:13 +01:00
lisazeyen
de33ed3eb5
update mocksnakemake for testing
2020-12-02 12:48:11 +01:00
Tom Brown
1ea31f0e57
Redo investment-year-dependent exogenous retrofitting parameter
...
Specify as dictionary, use get_parameter to get correct value.
Also remove old parameter "space_heating_fraction" since this is
superceded by the new exogenous retro code.
2020-12-01 14:41:11 +01:00
Tom Brown
974155bd46
Merge branch 'master' into retro
2020-11-30 17:07:43 +01:00
Tom Brown
17bf0dfbb1
prepare_costs: use default lifetime from config.yaml
...
Rather than hard-coding 25 years.
2020-11-30 17:01:14 +01:00
Tom Brown
7cfce2e324
Merge pull request #76 from PyPSA/country-subsets
...
energy_totals: only fix 'BA' if in list of countries
2020-11-30 16:43:15 +01:00
Tom Brown
90e1d75df6
land transport: allow share of fossil-FCEV-EV to change over time
...
Allow share of land transport to be set exogenously in config.yaml.
2020-11-30 16:20:26 +01:00
Tom Brown
abbaa0d098
Move CO2 budgets from data/co2_budget.csv to dict in config.yaml
...
Strategy is too keep as much of configuration in config.yaml as
possible.
We also aim to allow exogenous investment-year-dependent
configurations to be done in a similar manner (e.g. share of district
heating or FCEV transport).
2020-11-30 13:21:38 +01:00
Fabian Neumann
a143ab7122
energy_totals: only fix 'BA' if in list of countries
2020-11-24 13:44:02 +01:00
lisazeyen
e511dac148
fix bug for urban_fraction factor, rewrite pattern for defining country, location and temporal resolution, add more comments for endogenously retrofitting
2020-11-11 18:18:56 +01:00
Tom Brown
65944e20ca
plot_network: Fix bugs in plotting of today's network
2020-10-28 18:47:28 +01:00
Tom Brown
a613da6031
make_summary: Don't add back line costs for LV for PyPSA-Eur > 0.2.0
...
PyPSA-Eur now includes HVAC and HVDC line costs with LV option.
So don't add them back to costs afterwards.
2020-10-28 18:24:54 +01:00
Tom Brown
9721dccc0f
Make micro CHP optional, option to reduce non-NH3 basic chemicals
...
Also add option to limit extension of HVAC and HVDC transmission
lines.
Also fix bug that option to limit solar & wind potential was bypassed.
2020-10-28 18:21:28 +01:00
lisazeyen
63f1e99c8b
remove unnecessary variables when adding endogenously retrofitting
2020-10-21 19:19:38 +02:00
lisazeyen
1e2895023b
add script for building retro costs per country and sector, add retrofitting parameters to config.yaml
2020-10-21 16:04:27 +02:00
lisazeyen
d1282ba315
add option for endogenously retrofitting
2020-10-21 15:21:26 +02:00
Tom Brown
989495ce79
prepare_sector_network: Type of new busmap index and values to str
...
Otherwise they're read in as integers and the mapping fails.
2020-10-21 14:31:37 +02:00
lisazeyen
301d74f059
add option for exogenously retrofitting, space heat demand is reduced before adding losses in DH
2020-10-21 14:30:26 +02:00
lisazeyen
75ff2d19ee
move transport data input path to Snakefile
2020-10-21 13:45:49 +02:00
lisazeyen
0563c986a2
modify mocksnakemake for testing
2020-10-21 13:35:34 +02:00
Tom Brown
f0ef0e1136
Merge pull request #70 from eb5194/master
...
compatibility with pypsa-eur PR: clustermaps to csv
2020-10-21 13:01:17 +02:00
Tom Brown
e8b923e076
industry: subtract today's ind elec demand, add back new demand
...
Since today's industrial electricity demand is distributed by
population and GDP, subtract this from the regular electricity demand
(which already has space/water heating subtracted).
Now regular electricity demand is only non-heating electricity demand
in residential and tertiary sectors.
Add back new industry electricity demand at the correct locations, as
determined using the hotmaps database.
2020-10-12 14:56:41 +02:00
Tom Brown
80cbe98630
industry: add current nodal electricity demand to subtract later
2020-10-12 13:26:21 +02:00
Tom Brown
f2b347334d
industry: build nodal energy demand from nodal production
2020-10-12 12:20:04 +02:00
Tom Brown
f0937e203b
industry: separate code for distribution key from nodal production
...
This allows us to reuse the key for today's nodal energy demand from
industry.
2020-10-12 12:07:49 +02:00
Tom Brown
90f5349b7d
Use hotmaps industrial database for distribution in each country
...
I.e. per sector geographical distribution of industrial facilities
within each country.
Drop facilities outside Europe and with no geocoordinates.
Use ETS emissions as a distribution key; where emissions data is
missing, substitute with an average for that sector and that country
(strong assumption).
2020-10-05 20:04:04 +02:00
eb5194
5dabdac288
add_existing_baseyear: read input file as .csv
2020-10-02 12:21:31 +02:00
eb5194
9fac6f5392
prepare_sector_network: read input file as .csv
2020-10-02 12:20:55 +02:00
Tom Brown
b862bb95cd
Fix H2 underground potentials from TWh to MWh; simplify H2 data
2020-09-25 16:23:45 +02:00
Tom Brown
de52711700
Fix calculation of solar rooftop potentials for "m" clusters
...
I.e. when the generators are clustered to the "simplified" network
resolution, but the grid is clustered further, e.g. by using the
clusters = 37m "m" option.
2020-09-25 15:25:41 +02:00
Tom Brown
6b964865e7
Merge pull request #69 from PyPSA/salt_cavern_potential
...
Salt cavern potential
2020-09-22 20:19:29 +02:00
Tom Brown
a1904886ac
Merge branch 'master' into distribution
2020-09-22 20:18:21 +02:00
Tom Brown
98435d7fc6
Merge pull request #68 from PyPSA/yaml_loader
...
read config.yaml for testing with yaml.safe_load()
2020-09-22 20:17:32 +02:00
lisazeyen
7972637334
add upper energy capacity limit for hydrogen storage per country, caution: for multiple nodes in one country storage potential is distributed by population
2020-09-22 09:54:52 +02:00
lisazeyen
27e2584ae8
split hydrogen storage into underground storage in salt cavern for countries with potential, others overground hydrogen storage, switch costs from gas storage to corresponding hydrogen storage
2020-09-22 09:52:53 +02:00
lisazeyen
7fe7dc381f
read config.yaml for testing with yaml.safe_load()
2020-09-22 09:32:24 +02:00
lisazeyen
e1babafa35
remove taken the minimum of old solar p_nom_max and solar rooftop because no overlap between the potentials
2020-09-22 09:24:30 +02:00
lisazeyen
736c7166ac
add missing multiplication with gas distribution grid cost factor
2020-09-22 09:18:28 +02:00
Tom Brown
791a58fc6b
Make selection of biomass classes (solid, biogas) more explicit
...
List classes in config.yaml, rather than integer selection in
build_biomass_potentials.py.
Also output potentials for all years and scenarios for analysis.
2020-09-21 18:35:45 +02:00
Tom Brown
44ee205820
Fix recalculation of offshore connection costs for "m" clusters
...
I.e. when the generators are clustered to the "simplified" network
resolution, but the grid is clustered further, e.g. by using the
clusters = 37m "m" option.
2020-09-21 17:04:45 +02:00
Tom Brown
ac4100922a
Include also industry new electricity load at low voltage bus
...
For consistency with the existing industry electricity load already
there.
This only applies when the electricity distribution grid is inserted.
2020-09-21 12:06:20 +02:00
lisazeyen
6d440499d5
add option to add costs for gas distribution. Caution, currently assuming same costs for gas distribution as the ones for electricity distribution
2020-09-15 18:03:33 +02:00
lisazeyen
b2789960fc
add missing resistive heater and micro CHP to electricity distribution, add new electricity demand for industry to electricity distribution, restrict solar rooftop potential, change for testing mocksnakemake input for the costs to technology database
2020-09-15 17:48:57 +02:00
Tom Brown
06a3b029d8
When changing prim/secondary production, take account of existing
...
Don't fix uniform ratios e.g. of 0.3:0.7 primary:secondary for steel
and aluminium, but convert the necessary amount of existing primary in
each country so that the overall ratio applies at European level.
This stops sudden swings from primary to secondary in countries
dominated by primary production.
2020-09-07 19:15:40 +02:00
Tom Brown
c58f18667d
Add non-EU28 energy demand per country and sector for today
...
Use the industrial production per sector and multiply with EU28
averages for energy per sector.
2020-09-07 19:12:47 +02:00
Tom Brown
783e026ebf
Separate ammonia from basic chemicals in today's industry energy
2020-09-07 18:41:07 +02:00
Tom Brown
04629b5113
For DRI+EAF route for primary steel, add electricity for DRI shaft
2020-09-07 17:23:31 +02:00
Tom Brown
916aa5e0d9
Generate today's industry demand per ct and per sector
...
Only covers EU28 at the moment.
Uses the energy balances sheets from JRC-IDEES.
2020-09-07 16:48:06 +02:00
Tom Brown
aa3ffb9ac2
Remove biomass from chemicals, cement; increase in PPA, FBT
...
Remove non-existing biomass from chemicals and cement, since these
need higher temperatures than achievable with residues and waste.
Increase biomass in pulp and paper (since already used extensively
here and T < 500), and replace methane with biomass in food, beverages
and tobacco, since temperatures needed are low (T < 500).
2020-09-07 14:49:20 +02:00
Tom Brown
f3dcda9179
Include integrated steelworks in industry_sector_ratio
...
Also switch it from sep=";" to ","
2020-09-07 11:04:50 +02:00