feat:add lake-water-sourced heat pumps#1951
feat:add lake-water-sourced heat pumps#1951amos-schledorn wants to merge 20 commits intofeat-improve-ptx-excess-heatfrom
Conversation
fneum
left a comment
There was a problem hiding this comment.
Looks good! Some minor comments about new dataset integration.
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
for more information, see https://pre-commit.ci
|
Note: 36110d5 fixed a bug that caused the return flow temperature to be used in the COP approximation of all heat sources, including those pre-heating the return flow. |
cpschau
left a comment
There was a problem hiding this comment.
Just nitpicking about distinction between polyhedron and polygon. Thinking about it a polyhedron is probably nothing else than a set of cohesive polygons, so also fine if it stays as it is.
I was a bit baffled about the assumption about the singular turnover per year for all lakes.
Other than that, this looks good to me. After the changes in #1893, it seems quite straightforward to add new heat sources.
This PR adds support for lake-water heat pumps, building on the implementation of @MajaHIC and the existing river-water heat implementation.
Method
Lake water heat potential is estimated by:
Water temperature: Approximated from ambient air temperature using the empirical formula from Triebs & Tsatsaronis (2022), originally developed for rivers:
where$\bar{T}_{air}$ is a 13-day moving average of ambient temperature.
Volume flow: Lake volume is assumed to turn over once per year. The annual volume is converted to an equivalent flow rate in m³/s for consistency with the river-water power calculation:
Thermal power: Calculated using the base class formula:
where$\Delta T = \min(\Delta T_{max}, T_{water} - T_{outlet,min})$ , with default $\Delta T_{max} = 1$ K.
Data Sources
Vol_totalin MCM (million m³)Changes by File
New files
scripts/build_surface_water_heat_potentials/approximators/lake_water_heat_approximator.py— Lake heat approximator classscripts/build_surface_water_heat_potentials/build_lake_water_heat_potential.py— run scriptModified files
rules/build_sector.smk— Addedbuild_lake_heat_potentialrulerules/retrieve.smk— Addedretrieve_lake_datarule for HydroLAKES GDBscripts/definitions/heat_system.py— AddedLAKE_WATERtoHeatSourceenum and heat pump cost mappingconfig/config.default.yaml— Addedlake_waterto heat source optionsconfig/plotting.default.yaml— Added colors for lake water heat componentsconfig/test/— Addedlake_wateras heat source for testsdoc/release_notes.rst— Updated documentationTesting
Config
Heat potentials
System costs
Heat mix
Air-only
Air + Lakes
Air + Lakes + Rivers
Checklist
pixi.toml(usingpixi add <dependency-name>).config/config.default.yaml.doc/configtables/*.csv.these instructions <https://pypsa-eur.readthedocs.io/en/latest/data_sources.html>_ have been followed.doc/release_notes.rstis added.