-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix of solar constraint in post discretization #1343
Conversation
Validator ReportI am the Validator. Download all artifacts here. General Files comparison
NRMSE: Normalized (combined-min-max) Root Mean Square Error Model Metrics Comparing |
* feat: add temperature reduction to workflow * chore: fix name change issues * feat: update input/output of dependent rules * feat: add {planning _horizons} wildcard to COP input in myopic rules * fix: exponential temperature reduction * feat: add {planning_horizons} wildcard to solve_perfect * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * style: "_today" -> "_baseyear" * doc: update configtables * style: "_today" -> "_baseyear" (config) * feat: update heat pump efficiency in add_brownfield * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: pass planning_horizons to add_brownfield * feat: update COPs for perfect foresight * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update release notes * Update doc/release_notes.rst Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> * Update scripts/build_central_heating_temperature_profiles/run.py Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> * Update scripts/build_central_heating_temperature_profiles/run.py Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> * Update build_central_heating_temperature_profiles.run * style: simplify update_heat_pump_efficiency functions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update README.md * [pre-commit.ci] pre-commit autoupdate (#1352) updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/psf/black-pre-commit-mirror: 24.8.0 → 24.10.0](psf/black-pre-commit-mirror@24.8.0...24.10.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * transmission_projects: update AC line types to high-temperature lines (#1348) * Bugfix of solar constraint in post discretization (#1343) * Update NEP DC20 to underground * fix: remove broken pre-commit rule (docformatter) (#1362) * prepare for pypsa `0.31.0` (#1340) * prepare for pypsa `0.31.0` * Update mock_snakemake (#1345) * test: log env diff (#1338) * Update mock_snakemake --------- Co-authored-by: Lukas Trippe <lkstrp@pm.me> Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> * resolve other deprecations --------- Co-authored-by: Davide Fioriti <67809479+davide-f@users.noreply.github.com> Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> * [github-actions.ci] Update fixed environment (#1363) * [create-pull-request] automated change * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix: more robust `progress_retrieve` (#1361) * madd to add --------- Co-authored-by: Amos Schledorn <a.schledorn@tu-berlin.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Amos Schledorn <60692940+amos-schledorn@users.noreply.github.com> Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de> Co-authored-by: Philipp Glaum <95913147+p-glaum@users.noreply.github.com> Co-authored-by: Toni Seibold <153275395+toniseibold@users.noreply.github.com> Co-authored-by: Tom Brown <t.brown@tu-berlin.de> Co-authored-by: Lukas Trippe <lkstrp@pm.me> Co-authored-by: Davide Fioriti <67809479+davide-f@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com>
Bugfix
Changes proposed in this Pull Request
When the post discretization is enabled, the function
add_solar_potential_constraints
is called multiple times.The first time, the optimal capacity of generators with carrier
solar-hsat
is zero. However, the second time, the optimal capacity can be greater than zero which would then overly reduce the potential.Since the
p_nom
is set in the next planning horizon in the ruleadd_brownfield
switching fromp_nom_opt
top_nom
is the correct way to formulate the boundary condition.Checklist
not applicable
envs/environment.yaml
.not applicable
config/config.default.yaml
.not applicable
doc/configtables/*.csv
.not applicable
doc/data_sources.rst
.not applicable
doc/release_notes.rst
is added.not applicable