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

Scale to 2p/3p only if 1p maxcurrent is exceeded #2782

Merged
merged 4 commits into from
Mar 6, 2022
Merged

Conversation

andig
Copy link
Member

@andig andig commented Mar 5, 2022

Dieser PR verhindert das frühe Hochschalten auf 2p/3p, solange der Maximalstrom für 1p noch nicht überschritten ist.

@premultiply wie besprochen. Der Test sieht etwas komisch aus weil er jetzt für upscaling doppelt ausgeführt wird: einmal mit reduziertem Maximalstrom so dass skaliert werden muss und einmal mit 16A Maximalstrom so dass die 2p/3p Leistung noch innerhalb der Reichweite von 1p liegt und daher nicht skaliert werden darf.

Mit diesem Ansatz haben wir eine Hysterese- hoch- und runter schalten so spät wie möglich. Dafür auf Kosten der abnehmenden Ladeeffizienz an der Untergrenze der 3p Ladung. Das wäre in einem separaten PR nochmal zu überlegen.

@andig andig added the enhancement New feature or request label Mar 5, 2022
@andig andig requested a review from premultiply March 5, 2022 10:45
@andig andig merged commit cb63a85 into master Mar 6, 2022
@andig andig deleted the feature/prefer-1p branch March 6, 2022 10:45
dontbyte pushed a commit to dontbyte/evcc that referenced this pull request Aug 2, 2022
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.

2 participants