Rule add_electricity#
![digraph snakemake_dag {
graph [bgcolor=white,
margin=0,
size="8,5"
];
node [fontname=sans,
fontsize=10,
penwidth=2,
shape=box,
style=rounded
];
edge [color=grey,
penwidth=2
];
3 [color="0.25 0.6 0.85",
label=simplify_network];
4 [color="0.50 0.6 0.85",
fillcolor=gray,
label=add_electricity,
style=filled];
4 -> 3;
5 [color="0.36 0.6 0.85",
label=build_bus_regions];
5 -> 4;
6 [color="0.58 0.6 0.85",
label=base_network];
6 -> 4;
7 [color="0.31 0.6 0.85",
label=build_powerplants];
7 -> 4;
8 [color="0.28 0.6 0.85",
label=build_shapes];
8 -> 4;
9 [color="0.22 0.6 0.85",
label=build_renewable_profiles];
9 -> 4;
10 [color="0.44 0.6 0.85",
label=build_hydro_profile];
10 -> 4;
}](../_images/graphviz-fe2c5a7a1c662850733afd15cc05f81d12c8349b.png)
Adds electrical generators, load and existing hydro storage units to a base network.
Relevant Settings#
costs:
year:
version:
rooftop_share:
USD2013_to_EUR2013:
dicountrate:
emission_prices:
electricity:
max_hours:
marginal_cost:
capital_cost:
conventional_carriers:
co2limit:
extendable_carriers:
include_renewable_capacities_from_OPSD:
estimate_renewable_capacities_from_capacity_stats:
renewable:
hydro:
carriers:
hydro_max_hours:
hydro_max_hours_default:
hydro_capital_cost:
lines:
length_factor:
See also
Documentation of the configuration file config.yaml at costs,
electricity, load_options, renewable, lines
Inputs#
resources/costs.csv: The database of cost assumptions for all included technologies for specific years from various sources; e.g. discount rate, lifetime, investment (CAPEX), fixed operation and maintenance (FOM), variable operation and maintenance (VOM), fuel costs, efficiency, carbon-dioxide intensity.data/bundle/hydro_capacities.csv: Hydropower plant store/discharge power capacities, energy storage capacity, and average hourly inflow by country. Not currently used!
data/geth2015_hydro_capacities.csv: alternative to capacities above; not currently used!resources/demand_profiles.csv: a csv file containing the demand profile associated with busesresources/shapes/gadm_shapes.geojson: confer Rule build_shapesresources/powerplants.csv: confer Rule build_powerplantsresources/profile_{}.nc: all technologies inconfig["renewables"].keys(), confer Rule build_renewable_profilesnetworks/base.nc: confer Rule base_network
Outputs#
networks/elec.nc:
Description#
The rule add_electricity ties all the different data inputs from the preceding rules together into a detailed PyPSA network that is stored in networks/elec.nc. It includes:
today’s transmission topology and transfer capacities (in future, optionally including lines which are under construction according to the config settings
lines: under_constructionandlinks: under_construction),today’s thermal and hydro power generation capacities (for the technologies listed in the config setting
electricity: conventional_carriers), andtoday’s load time-series (upsampled in a top-down approach according to population and gross domestic product)
It further adds extendable generators with zero capacity for
photovoltaic, onshore and AC- as well as DC-connected offshore wind installations with today’s locational, hourly wind and solar capacity factors (but no current capacities),
additional open- and combined-cycle gas turbines (if
OCGTand/orCCGTis listed in the config settingelectricity: extendable_carriers)