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

Limit pv current in case of imminent phase switch #13254

Closed
wants to merge 10 commits into from

Conversation

MarkusGH
Copy link
Contributor

@MarkusGH MarkusGH commented Apr 1, 2024

Title says it all.
Fix #13182

Limit pv current in case of imminent phase switch
Fix return value
Fox return value
Fix test for pvScalePhases
@MarkusGH MarkusGH marked this pull request as ready for review April 1, 2024 16:59
@andig andig added the enhancement New feature or request label Apr 1, 2024
@andig andig requested a review from GrimmiMeloni April 1, 2024 17:08
Copy link
Sponsor Collaborator

@GrimmiMeloni GrimmiMeloni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the magic value, but would also be OK to keep as is.
I like the way this change "stays in the neighborhood". Good stuff.

core/loadpoint.go Outdated Show resolved Hide resolved
Copy link
Sponsor Collaborator

@GrimmiMeloni GrimmiMeloni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Added check for maxCurrent
@andig andig closed this Apr 4, 2024
@evcc-io evcc-io locked as too heated and limited conversation to collaborators Apr 4, 2024
@MarkusGH MarkusGH deleted the patch-4 branch April 4, 2024 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants