Prepare network common
add_HV_links(network, config, n_years)
Add high voltage connections as links in the lossy transport model (see Neumann et al)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
network
|
Network
|
the pypsa network |
required |
config
|
dict
|
the configuration dictionary |
required |
n_years
|
int
|
the number of years for discounting |
required |
Source code in workflow/scripts/prepare_network_common.py
calc_renewable_pu_avail(renewable_ds, planning_year, snapshots)
Calaculate the renewable per unit availability
Parameters:
Name | Type | Description | Default |
---|---|---|---|
renewable_ds
|
Dataset
|
the renewable dataset from build_renewable_potential |
required |
planning_year
|
int
|
the investment year |
required |
snapshots
|
Index
|
the network snapshots |
required |