From 651afa5e560808f1bb87d292a584d2f097851db3 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 6 Nov 2026 16:43:57 +0100 Subject: Heat pump coverage calculator for all German postcodes Static web app modelled on BWP WPsim: hourly DWD temperatures per postcode, manual bivalence point, COP estimate from the Remko LWM 110 datasheet, backup fuel types and costs. Weather data is built locally with scripts/prep.py and not part of the repository. Co-Authored-By: Claude Opus 5.5 --- README.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..c942e7f --- /dev/null +++ b/README.md @@ -0,0 +1,66 @@ +# Deckungsanteil Wärmepumpe + +Like BWP WPsim, but for every German postcode. Hourly DWD air temperatures 2007–2025 +(about 470 stations, nearest station per postcode) drive a simple model: + +- Heating load linear from Norm-Heizlast at Norm-Außentemperatur to 0 at the heating limit. +- Heat pump capacity equals the load at the (manual) bivalence point and changes by a + fixed %/K with outdoor temperature. Modes: monovalent, bivalent-parallel (optional + cut-off temperature), bivalent-alternativ. +- COP from the Remko LWM 110 datasheet (A−7/A2/A7 at W35), transferred to other flow + temperatures via the Carnot efficiency; flow temperature fixed or weather-compensated. +- Backup fuel: heater rod, natural gas, LPG, oil, pellets or firewood, with amounts in kWh, m³, l, kg or rm. +- Results: heat demand, coverage shares, JAZ, electricity, costs; charts and CSV export. + +The app is static HTML/JS; all calculations run in the browser. + +## Quick start + +The weather data is not part of this repository. Build it once from the original sources +(needs Python ≥ 3.10 and numpy; downloads about 700 MB into `.cache/`, writes about +150 MB to `web/data/`, takes a few minutes): + +```sh +python3 -m venv .venv && .venv/bin/pip install numpy +.venv/bin/python scripts/prep.py +``` + +Then serve the `web/` directory and open http://127.0.0.1:8765: + +```sh +python3 -m http.server 8765 -d web +``` + +Re-running `scripts/prep.py` reuses the downloads in `.cache/`; delete that directory to +fetch fresh data (for example after DWD publishes a new year). + +## What `scripts/prep.py` does + +1. Downloads the station list and hourly air temperature archives (`historical/`) from the + [DWD Climate Data Center](https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/historical/). +2. Keeps years with at most 3 % missing hours and no gap over 72 h (gaps are interpolated) + and stations with at least 10 such years. +3. Estimates the Norm-Außentemperatur per station as the two-day mean undercut on 10 days + in 20 years. This is within about 0.5–2.5 K of the DIN/TS 12831-1 values (usually + warmer); the user can override it. +4. Downloads [GeoNames postal codes](https://download.geonames.org/export/zip/) and assigns + each postcode to its nearest station. + +## Limitations + +- No altitude correction between postcode and station. +- JAZ ignores cycling, circulation pump and hot water, so it is on the optimistic side. +- LWM 110 datasheet values were taken from retailer listings; check them against the + manufacturer's datasheet. +- Not affiliated with BWP, Remko or DWD. + +## License and data sources + +Code: [MIT](LICENSE). + +The generated data is subject to its sources' terms: + +- Weather data: Deutscher Wetterdienst (DWD), Climate Data Center, hourly air temperature, + see the [DWD terms of use](https://opendata.dwd.de/climate_environment/CDC/Terms_of_use.pdf). + Attribution: "Datenbasis: Deutscher Wetterdienst". +- Postcodes: [GeoNames](https://www.geonames.org/), CC BY 4.0. -- cgit v1.3