From 51f8c2935ae3f80b15ad0ab71708ad006ad49da9 Mon Sep 17 00:00:00 2001 From: Toni Seibold <153275395+toniseibold@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:25:15 +0200 Subject: [PATCH] Adding config for post discretization bugfix (#1309) * Adding config for post discretization bugfix --- config/config.default.yaml | 1 + doc/configtables/solving.csv | 1 + envs/environment.yaml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/config.default.yaml b/config/config.default.yaml index e67a3d83..1cb19dbb 100644 --- a/config/config.default.yaml +++ b/config/config.default.yaml @@ -915,6 +915,7 @@ solving: DC: 0.3 H2 pipeline: 0.3 gas pipeline: 0.3 + fractional_last_unit_size: false agg_p_nom_limits: agg_offwind: false diff --git a/doc/configtables/solving.csv b/doc/configtables/solving.csv index d2e22c28..ec1080d2 100644 --- a/doc/configtables/solving.csv +++ b/doc/configtables/solving.csv @@ -23,6 +23,7 @@ options,,, -- -- -- {carrier},,, -- -- link_threshold,,float,The threshold relative to the discrete link unit size beyond which to round up to the next unit by carrier (given in dictionary style). -- -- -- {carrier},,, +-- -- fractional_last_unit_size,bool,"{'true','false'}",When true, links and lines can be built up to p_nom_max. When false, they can only be built up to a multiple of the unit size. agg_p_nom_limits,,,Configure per carrier generator nominal capacity constraints for individual countries if ``'CCL'`` is in ``{opts}`` wildcard. -- agg_offwind,bool,"{'true','false'}",Aggregate together all the types of offwind when writing the constraint. Default is false. -- include_existing,bool,"{'true','false'}",Take existing capacities into account when writing the constraint. Default is false. diff --git a/envs/environment.yaml b/envs/environment.yaml index 8ee9806a..9352d56b 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -10,7 +10,7 @@ dependencies: - python>=3.8 - pip -- pypsa>=0.30.2 +- pypsa>=0.30.3 - atlite>=0.2.9 - linopy