-
-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draws from grid when house battery not full and 1p charge (maxGridSupplyWhileBatteryCharging) #15252
Comments
Thank you for the report. @andig I think we have to investigate a bit deeper what exactly happens here. |
Das Problem ist das nichtlineare Verhalten. Bei Bezug wird die WB-Leistung zurück gefahren. Wird die aber zu klein- und kann die Batterie die zusätzliche Leistung nicht aufnehmen (die ist am Ladeende!)- so kommt es zu Einspeisung. Die wird dann wieder zugunsten der WB umgeshiftet. Das eigentliche Problem hier scheint mir aber zu sein, dass die Batterie einfach nicht liefert:
Warum liefert hier der Akku nicht die 870W die aus dem Netz gezogen werden??? Ich sehe da kein Problem bei evcc. |
Because inverter cannot output more on that one phase that is used and draws from grid and the rest of PV generation goes to battery even if battery.
And this sounds exactly what maxGridSupplyWhileBatteryCharging should do as it also answer your question :
In this case evcc should do (and from docs it's exactly what it's already thought to do as I read it) :
From my logs you can see it is detecting grid import, lowers the current BUT then it switches back. And then it switches back and forth.
And this back and forth switch makes me believe it's a bug |
Maybe I misunderstand. But we've said the inverter has 3kW per phase. Where is that power? |
Most of it goes into the car charger and some goes to appliances in the house that are on the same phase.
|
Not sure if it's the same issue, but it seems to be, because after adding this parameter it behave strange, here is one example when it went to full 32A (6.3kW) when PV has only ~4.5KW generation and battery SOC is not at 95%+ when it should support charging.
|
Wie erfolgt denn die Batterieladung? Benötigt die auch den (limitierenden) AC Pfad oder direkt über DC? |
House battery is connected to DC port of the inverter. In the case above it will be charged directly from PV via inverter via the DC path. |
// sitePower returns the available delta power that the charger might additionally consume
// negative value: available power (grid export), positive value: grid import
func sitePower(log *util.Logger, maxGrid, grid, battery, residual float64) float64 {
// For hybrid inverters, battery can be charged from DC power in excess of
// inverter AC rating. This battery charge must not be counted as available for AC consumption.
// https://github.com/evcc-io/evcc/issues/2734, https://github.com/evcc-io/evcc/issues/2986
if maxGrid > 0 && grid > maxGrid && battery < 0 {
log.TRACE.Printf("ignoring excess DC charging due to grid consumption: %.0fW > %.0fW", grid, maxGrid)
battery = 0
}
return grid + battery + residual
} Das produziert bei Über/Unterschreitung der Schwelle einen Sprung um |
So it's a bug ? |
I am also troubled by this issue, see #15329 |
Describe the bug
Not totally sure if bug or my situation is really an edge case.
I have : go-e 3P charger, 1p AC charged Nissan Leaf 2018, Deye 3p Hybrid 8kW (3kW AC output per phase), 7,5kWp PV, HA
When PV produces more than the inverter can output on one phase (3kW+) and the house battery is not full and the 1p car is charing then it will pull from the grid the remaining needed charging power.
e.g. PV produces 7kW , then the inverter will supply 3kW to the charger and 4kW into the house battery and will draw 4kW from grid on the charging phase.
I though using maxGridSupplyWhileBatteryCharging: 50 would fix the issue and make the car load with maximum possible power without drawing more than 50W from grid. But the result is that it switches back and forth from a low max current to a higher max current.
When the house battery if full, the inverter will send the excess current not in battery but to the other phase of the grid and "balance" the import on the other phase => 0 costs calculated by the grid meter.
Steps to reproduce
Configuration details
Log details
Log when house battery not full (draws from grid)
Log when house battery full (does not draw from grid)
What type of operating system are you running?
Linux
Version
1.129.0
The text was updated successfully, but these errors were encountered: