mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-11-25 23:16:18 +01:00
WeatherOpenMeteo stored Open-Meteo's direct_radiation, the beam on the horizontal plane, as weather_dni. PVForecastPVLib transposes weather_dni as direct normal irradiance, so for a 40 deg south plane in Berlin the clear-sky plane-of-array irradiance came out at 25 % of the true value on 21 December, 58 % on 21 March and 80 % on 21 June. The plain Open-Meteo radiation variables are also means over the preceding hour, stored at the hour's end, while EOS weather irradiance is the value at the record time, as BrightSky and ClearOutside derive it from the cloud cover and as PVForecastPVLib reads it with the sun position at the record time. The provider now requests and maps shortwave_radiation_instant, direct_normal_irradiance_instant and diffuse_radiation_instant. The instantaneous variables (temperature, humidity, clouds, wind) keep their stamps; no record is shifted. test_update_data and test_openmeteo_radiation_mapping pinned the old mapping of direct_radiation to weather_dni and now expect the instant variables. The recorded sample response predates them, so the tests add clear-sky irradiance to it instead of a new recording. Additional changes Describe the irradiance of the OpenMeteo provider in the prediction docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assisted-by: Claude Code (claude-opus-5-5)