fix: apply inverter_paco cap and system loss in PVForecastPVLib - #1504⁠

Planes sharing one inverter_paco feed a single physical inverter, but their AC output was summed without any cap, so a 15 kW inverter could report 21-25 kW. This PR groups the per-plane AC output by inverter_paco and clips each group's sum to its rating; planes without a rating are left alone. It also applies the configured system loss (PVGIS-style percent, same semantics as PVForecastAkkudoktorLocal) to DC and AC output instead of warning that it is unsupported.
This commit is contained in:
ChenYi-Nnergy
2026-11-09 14:41:16 +01:00
committed by GitHub
parent b92d115a39
commit 38b07f5a5b
3 changed files with 141 additions and 12 deletions
+7
View File
@@ -1014,6 +1014,13 @@ uses the configured PV system geometry together with the weather prediction
simulate the expected DC module power and AC inverter output.
The provider supports multiple PV planes and automatically sums their power.
Planes that share the same `inverter_paco` feed a single physical inverter:
their combined AC output is clipped to that rating, so the forecast never
exceeds the inverter's AC power rating. Planes with different ratings are
treated as separate inverters, and planes without a rating are not clipped.
The configured system loss (`planes[].loss`, percent) is applied to both DC
and AC output as a factor of `1 - loss / 100`, with the same semantics as
`PVForecastAkkudoktorLocal`.
Module and inverter models are selected from the CEC database by name or by
their nominal power rating. AkkudoktorEOS automatically generates and caches
the required CEC databases on first use by combining the current SAM database,