Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure DC transmission projects appear in the correct year (#187)
* make sure DC transmission projects appear in the correct year This script forces DC transmission projects that are built after the current investment year to have p_nom_opt = 0. The planned capacity continues to be stored in p_nom. The changes are a compromise with behaviour of PyPSA-Eur scripts: prepare_network.py sets p_nom_min = p_nom for opt setting add_brownfield.py sets p_nom_min = p_nom_opt from previous * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * only force onshore NEP projects between cutin and cutout years E.g. only force in projects planned to go into service between 2020 and 2030. Allow later lines to be built, but don't force them. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * hack the correct capacities in the post networks before exporting data. still requires fixing for 2040 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * set p_nom_min in postprocessing of transmission projects * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix Syntax warning * correctly account for international links and inverter costs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * consider international h2 and AC transmission * read discretization values from config * read threshold from config as well * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename prefix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Michael Lindner <[email protected]>
- Loading branch information