Skip to content
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

Battery control: hold battery while min soc not reached #11941

Merged
merged 4 commits into from
Feb 3, 2024

Conversation

rivengh
Copy link
Contributor

@rivengh rivengh commented Jan 29, 2024

This PR extents the battery control mechanism to hold the battery also while minSoc is not reached, corresponding to #11511.

From my point of view this case should be treated in the same way as when smartCostActive or api.ModeNow is true.

@rivengh rivengh force-pushed the battery-lock-on-min-soc-not-reached branch from c15917f to 93bc2df Compare January 29, 2024 16:24
@premultiply
Copy link
Member

Hatten wir schon mal diskutiert.
Fazit war: Nicht sinnvoll da unnötig teurer Netzbezug generiert wird.

@andig
Copy link
Member

andig commented Jan 29, 2024

Seems you could do the same by physically configuring minsoc on your battery. Hence nothing we should do in software.

@andig andig closed this Jan 29, 2024
@andig andig added the wontfix This will not be worked on label Jan 29, 2024
@rivengh
Copy link
Contributor Author

rivengh commented Jan 30, 2024

Seems you could do the same by physically configuring minsoc on your battery. Hence nothing we should do in software.

No, this is a different story. I am referring to the vehicles minSoc not the home battery soc.
But anyway, it seems that you already discussed this topic and decided to don't include this case.

@andig
Copy link
Member

andig commented Jan 30, 2024

I don't think this was discussed before, more that me (and probably @premultiply) misunderstood the intention of this PR.

@premultiply es geht um Sofortladen bis minSoc- den Aspekt hatten mir m.E. noch nicht diskutiert?

/cc @naltatis

@naltatis
Copy link
Member

Mir ist das in der eigenen Nutzung auch schon aufgefallen. Glaube auch, dass wir? (aber auf jeden Fall ich) über Min-Soc einfach nicht gesprochen/nachgedacht haben. Eigentlich finde ich die Änderung hier konsistent mit unserer anderen "Schnell-Laden im PV-Modus" Funktionen. Also "weil Preis günstig" oder "weil Abfahrtszeit gesetzt". Da setzen wir ja auch Hold. Der Fall Schnelladen "weil Fahrzeug Akkustand niedrig" passt für mich genau in diese Reihe und wäre erwartungskonformes Verhalten.

@premultiply Aussage, dass das ggf. teurer ist, mag je nach Umständen stimmen. Aber daher machen wir "Batterycontrol" ja zu nem Opt-In Feature, für, dass sich der Nutzer aktiv entscheiden muss.

Kurz: ich wäre dafür, das wieder aufzumachen.

@andig andig reopened this Jan 31, 2024
@andig andig added enhancement New feature or request and removed wontfix This will not be worked on labels Jan 31, 2024
@andig
Copy link
Member

andig commented Jan 31, 2024

LGTM. @premultiply? Hier geht es um Schnelladen während das Fahrzeug seinen minSoc nicht erreicht hat- also analog Sofortladen. Ok?

@premultiply
Copy link
Member

Ich enthalte mich dazu. 🤷🏻‍♂️
Macht wenn ihr denkt dass das besser ist.

core/site_battery.go Outdated Show resolved Hide resolved
@andig
Copy link
Member

andig commented Jan 31, 2024

Also doch kein Mißverständnis?

Fazit war: Nicht sinnvoll da unnötig teurer Netzbezug generiert wird.

Könntest Du nochmal sagen wo der Unterschied zu "Schnelladen" ist?

@premultiply
Copy link
Member

Schnellladen ist etwas was man ggf. aktiv auswählen muss bzw. kann.
Das minSoc-Laden wird hingegen nachdrücklich automatisch zu jedem Zeitpunkt gestartet wenn das Fahrzeug nur angeschlossen wird und sonst im PV-Modus nicht geladen würde. Das kann auch bei sehr, sehr teurem Netzstrom sein.

Letztendlich ist es aber wahrscheinlich reine Geschmackssache.

@rivengh
Copy link
Contributor Author

rivengh commented Feb 1, 2024

Danke, dass ihr den PR doch nochmal in Betracht zieht.

Ich sehe es genau so wie @naltatis geschrieben hat, dass es einfach konsistent zu den anderen Funktionen ist:

Eigentlich finde ich die Änderung hier konsistent mit unserer anderen "Schnell-Laden im PV-Modus" Funktionen. Also "weil Preis günstig" oder "weil Abfahrtszeit gesetzt". Da setzen wir ja auch Hold. Der Fall Schnelladen "weil Fahrzeug Akkustand niedrig" passt für mich genau in diese Reihe und wäre erwartungskonformes Verhalten.

Ich kann den Einwand von @premultiply natürlich auch verstehen, jedoch trifft, dass imho auf alles Schnelllade-Modi zu. Außerdem kann ja auch das minSoc-Laden vom Nutzer explizit aktiviert oder deaktiviert werden. Ist es aktiviert, lebe ich immer mit dem Risiko, dass nach dem Anstecken aus dem Netz geladen wird.

@GrimmiMeloni
Copy link
Collaborator

Sieht für mich auch schlüssig aus.
Ich nutze das Vehicle min-Soc Feature bisher nicht, daher hatte ich das nicht auf dem Radar. Für mich ist das aber genau das gleiche wie Modus "schnell". Sollten wir wie gezeigt mit reinnehmen.

@andig andig marked this pull request as draft February 2, 2024 15:29
@rivengh rivengh force-pushed the battery-lock-on-min-soc-not-reached branch from 10c6458 to 95de154 Compare February 2, 2024 16:17
@andig andig marked this pull request as ready for review February 2, 2024 16:31
@andig andig merged commit ed6bd89 into evcc-io:master Feb 3, 2024
6 checks passed
@rivengh rivengh deleted the battery-lock-on-min-soc-not-reached branch February 4, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants