aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md52
1 files changed, 37 insertions, 15 deletions
diff --git a/README.md b/README.md
index bd66ed4..2e5ba83 100644
--- a/README.md
+++ b/README.md
@@ -4,31 +4,44 @@ Like BWP WPsim, but for every German postcode. Hourly DWD air temperatures 2007â
(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 pumps: Remko LWM 80/110/150 with maximum capacity and COP per outdoor and flow
- temperature (W35/W45/W55) from the installation manual, see `web/devices.js`. The
- bivalence point follows from capacity and load; in bivalent-alternativ mode it is a
- manual switching temperature. Load the heat pump cannot cover above it is shown as
- uncovered. Hours below the minimum capacity are counted as cycling.
+- Heat pumps: Remko LWM 80/110/150 (installation manual) and Panasonic Aquarea generation J
+ (WH-MDC05/07/09J3E5) and generation L (WH-WDG05/07/09LE5, service manual heating
+ capacity tables) with maximum capacity and COP per outdoor and flow temperature
+ (W35/W45/W55), see `web/devices.js`. The bivalence point
+ follows from capacity and load; in bivalent-alternativ mode it is a manual switching
+ temperature. Load the heat pump cannot cover above it is shown as uncovered. Hours below
+ the minimum capacity are counted as cycling (Remko only; Panasonic does not publish it).
- Generic heat pump: capacity equals the load at a manual bivalence point and changes by a
fixed %/K; COP of the LWM 110 (air) or Carnot-based (ground/water).
- Modes: monovalent (heater rod), bivalent-parallel (optional cut-off temperature),
bivalent-alternativ. Flow temperature fixed or weather-compensated.
+- Inputs in five steps (location, building, heat pump, hot water & PV, costs), then the
+ full results; the key figures stay visible above every step and update live.
- 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.
+- Optional hot water and PV, each switched on separately (step 4, results in their own section):
+ - Hot water: daily demand charged from 11 to 15 h MEZ at tank temperature + 5 K, with
+ priority over heating; the backup heater covers what the heat pump cannot.
+ - PV: hourly yield from DWD 10-minute global and diffuse irradiation (nearest solar
+ station per year), south, 30° tilt, Hay-Davies transposition, 14 % losses, module
+ temperature from the air temperature. Inputs are only kWp and battery kWh (90 % round
+ trip, 1 C) and whether surplus is fed in (otherwise curtailed). PV and battery supply
+ the heat pump and heater rod only, no household load.
+- Results: heat demand, coverage shares, JAZ, electricity, self-consumption, autarky,
+ costs; charts and CSV export.
The app is static HTML/JS; all calculations run in the browser.
## Quick start
Requires [uv](https://docs.astral.sh/uv/). The weather data is not part of this
-repository. Build it once from the original sources (downloads about 700 MB into
-`.cache/`, writes about 150 MB to `web/data/`, takes a few minutes):
+repository. Build it once from the original sources (downloads about 1.9 GB into
+`.cache/`, writes about 190 MB to `web/data/`, takes about 30–60 minutes):
```sh
uv run scripts/prep.py
```
-uv picks a suitable Python and installs the script's dependencies (numpy) from the
+uv picks a suitable Python and installs the script's dependencies (numpy, pandas) from the
metadata at the top of `scripts/prep.py`.
Then serve the `web/` directory and open http://127.0.0.1:8765:
@@ -49,17 +62,26 @@ fetch fresh data (for example after DWD publishes a new year).
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
+4. Downloads the 10-minute solar archives from
+ [DWD](https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/10_minutes/solar/historical/),
+ sums them to hours (UTC, all six values required) and keeps years with global
+ irradiation under the same gap limits; missing hours are filled from the same hour of the
+ surrounding days, missing diffuse values with the Erbs correlation. Stations that only
+ record sunshine duration are skipped. The PV yield per kWp is computed here and written
+ to `web/data/pv/`; each temperature station uses the nearest solar station per year.
+5. 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.
+- JAZ ignores cycling, circulation pump and tank losses beyond the hot water demand entered,
+ so it is on the optimistic side.
+- PV orientation is fixed; the battery starts empty every year and is not charged from the grid.
- Device data is full load at nominal conditions; part load, defrost beyond the datasheet
- points and other devices are not modelled. Capacities were digitised from the manual's
+ points and other devices are not modelled. Remko capacities were digitised from the manual's
diagrams (about ±0.2 kW).
-- Not affiliated with BWP, Remko or DWD.
+- Not affiliated with BWP, Remko, Panasonic or DWD.
## License and data sources
@@ -67,7 +89,7 @@ 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).
+- Weather data: Deutscher Wetterdienst (DWD), Climate Data Center, hourly air temperature
+ and 10-minute solar irradiation, 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.