Replies: 1 comment 2 replies
-
|
There is no 'gate' control you need to set for predbat to let the battery discharge to meet house load when there's no solar. Predbat calls this Demand mode. It sounds like the error is probably with the plan rather than the inverter execution, which usually points to an error in the configuration. In your inverter definition I don't see you have defined the inverter_name clause, which needs to match inverter_type in apps.yaml Try this If not, please supply your full log file and apps.yaml, as I said its probably a misconfiguration but there should be an error in the logs to indicate this |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi gcoan / team,
Spent the evening trying to figure out why Predbat refuses to plan any discharge for our setup — battery sits at 100% (or whatever the autonomous self-consumption mode leaves it at) for the entire 48h plan horizon, even through clearly expensive slots, with grid covering all load. Looking for guidance on what we're missing in our custom inverter config.
Setup
Custom inverter type
EP_CUBEdefined entirely inapps.yaml(no built-in support — we maintain a Home Assistant integration for the Canadian Solar EP Cube: https://github.com/SkiLtY/ha-ep-cube). Service-based dispatch viahas_service_api: True.nipar44/predbat_addon)Problem
Plan view shows battery frozen at high SoC through expensive slots:
Battery has 20 kWh capacity but Predbat plans to import ~50 kWh from grid over 48h while battery does nothing. Clear economic case for discharge during peaks (~12p/kWh savings vs overnight refill) but Predbat never plans one.
Asymmetric behavior is the smoking gun: Predbat correctly models PV charging the battery up (e.g., 75% → 100% via solar over morning hours), but doesn't model any autonomous discharge — SoC stays perfectly flat during load-only periods, suggesting Predbat's self-consumption simulation isn't running for this inverter type.
What we've tried
All of these in
apps.yamlor viainput_numberentities:has_reserve_soc: True✓set_charge_window: True✓set_discharge_window: True✓inverter_can_force_export: True✓ (despite no SEG tariff, to test)select.predbat_mode→ "Control charge & discharge"input_number.predbat_best_soc_keep = 1.0(5%)input_number.predbat_best_soc_min = 5.0(25%)input_number.predbat_metric_battery_cycle = 0input_number.predbat_metric_battery_value_scaling = 1.0(default)battery_charge_power_curve/battery_discharge_power_curve(after the "near full rate" issue from discussion Warn: Cannot find battery discharge curve #3750 — confirmed warnings cleared)All input_number metrics at defaults that should permit discharge planning. Plan still shows no discharge windows. Predbat logs are silent — no errors, no "discharge skipped because..." messages.
Relevant capability flags in apps.yaml
Question
What capability flag (or other config) tells Predbat that this inverter handles autonomous self-consumption discharge — so the plan view reflects the battery covering overnight load when PV is unavailable, instead of leaving it frozen at high SoC?
Is
has_ge_inverter_mode/has_fox_inverter_modegating the self-consumption simulation? Should I claim one of these for a non-GE/non-Fox inverter that has equivalent autonomous behavior, or is there a different flag we're missing?Happy to share the full
apps.yamlif useful — pointer: https://github.com/SkiLtY/ha-ep-cube-dev/blob/main/predbat_config/apps.yaml (private repo, but I can paste it inline if you can't view).Thanks for any guidance — your responses on #3750 last week were already enormously helpful.
Beta Was this translation helpful? Give feedback.
All reactions