Site: base solar forecast scale on produced energy (#31612)

This commit is contained in:
Michael Geers 2026-07-09 10:11:28 +02:00 • committed by GitHub
parent 7e564b058c
commit 4f71e9675c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,7 @@ func (site *Site) solarScale() float64 {
}
const minEnergy = 0.5 // kWh
if fcst <= 0 || pv+fcst <= minEnergy {
if fcst <= 0 || pv <= minEnergy {
return 1
}