You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1e6f573
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Add pv_ac_limit for AC coupled inverter PV clipping
Adds a new pv_ac_limit config setting that allows users with AC-coupled
inverters (non-hybrid) to model clipping from their PV system (e.g.,
microinverters with an AC output limit).
- config.py: Add pv_ac_limit to APPS_SCHEMA as a float
- fetch.py: Read pv_ac_limit (in Watts) and store as kWh/min on self
- predbat.py: Initialize self.pv_ac_limit = 0
- prediction.py: Pass pv_ac_limit through and apply AC clipping in
the non-hybrid (else) branch after inverter_limit handling
- tests/test_infra.py: Add pv_ac_limit parameter to simple_scenario
and reset_inverter
- tests/test_model.py: Add four new test scenarios for pv_ac_limit
- docs/apps-yaml.md: Document the new pv_ac_limit setting
Agent-Logs-Url: https://github.com/springfall2008/batpred/sessions/c2b66364-9d11-4c05-8b9f-88095c31c6dd
Co-authored-by: springfall2008 <48591903+springfall2008@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/apps-yaml.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -913,6 +913,28 @@ If you have multiple inverters then set the value of each one in a list format.
913
913
914
914
NB: inverter_limit is ONLY used by Predbat to improve the quality of the plan, any solar clipping is done by the inverter and is not controlled by Predbat.
915
915
916
+
### **pv_ac_limit**
917
+
918
+
Optional, applies to **non-hybrid (AC coupled) inverters only**.
919
+
920
+
Controls the way Predbat models the maximum AC output of your PV system.
921
+
This does not change the way the inverter is controlled.
922
+
923
+
When set, defines the maximum AC output power in watts for your PV system (e.g. microinverters).
924
+
This is used by Predbat to model clipping that occurs when your PV generation exceeds the AC output limit,
925
+
for example if you have microinverters with a rated maximum AC output.
926
+
927
+
This setting is ignored for hybrid inverters (`inverter_hybrid: true`) because in a hybrid system the PV
928
+
connects directly to the DC bus and clipping is already modelled via `inverter_limit`.
929
+
930
+
Example:
931
+
932
+
```yaml
933
+
pv_ac_limit: 3600
934
+
```
935
+
936
+
NB: pv_ac_limit is ONLY used by Predbat to improve the quality of the plan, any solar clipping is done by the inverter and is not controlled by Predbat.
0 commit comments