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

[Request] Additional PowerLimiter strategy: Empty battery at night #139

Closed
helgeerbe opened this issue Mar 16, 2023 · 11 comments
Closed

[Request] Additional PowerLimiter strategy: Empty battery at night #139

helgeerbe opened this issue Mar 16, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@helgeerbe
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Battery was yesterday nearly full. Today my solar system produces more energy, than I can consume. So MPPT goes into absorption and reduces the charge current.

Actual strategy is to charge battery until start threshold is reached and then empty battery.
This is fine as long you don't have additional unbuffered solar systems.

Describe the solution you'd like

I would like to have a new strategy.

If system is in state solarPassthrough and panelPower drops below lowerPowerLimit the inverter shouldn't be switched off. Instead the powerLimiter should switch in state normal_operations.

So when the sun is not shining, battery should be used and empty the battery over night. Each morning maximum battery capacity is available to store unconsumable energy.

This code be realized as an option if solar passthrough is enabled.

Describe alternatives you've considered

No response

Additional context

No response

@helgeerbe helgeerbe added the enhancement New feature or request label Mar 16, 2023
@helgeerbe helgeerbe self-assigned this Mar 16, 2023
@helgeerbe helgeerbe moved this to 📋 Backlog in ToDos before release Mar 16, 2023
@berni2288
Copy link

berni2288 commented Mar 16, 2023

Hmm, you can just set the start threshold lower.

Example:

  • Stop threshold: 20%
  • Start threshold: 25%

Then you will probably not have any problems.

What you are suggesting is quite difficult because there can be a short sun burst and then suddenly only 10% panel output again.

@berni2288
Copy link

Woops, new record for 2023: 4 kWh in one day. My batterie also got full it seems 😄:

image

@helgeerbe
Copy link
Collaborator Author

This happened to me, too. But I just have an 2kW Battery. So I would prefer to keep the battery as empty as possible.

I just implemented it in my branch and will test it tomorrow.

If state is solarPassThrough and PanelPower drops below lowerPowerLimit it will drain the battery until stopThreshold is reached. When inverter restarts it will start with solarPassTrhough.

@berni2288
Copy link

I understand, losing energy is not good.

Could you make this feature configurable? I have the fear that when it's a cloudy day that it would stop and start the inverter very often.
The load-corrected voltage value is not very relieable and can jump around when there are bigger sudden power limit changes. This is quite hard to test. It might work good for some time and then suddenly get into a stop/start loop.

@helgeerbe
Copy link
Collaborator Author

It already is,

image

@Adminius
Copy link

can we also limit power output if no solar?
e.g. HM600, if sun is shining: as today
at night (as example) there is no solar power, then max. 100W (configurable) are allowed (less losses and no so high voltage drop)

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in ToDos before release Mar 20, 2023
@helgeerbe helgeerbe reopened this Mar 20, 2023
@helgeerbe
Copy link
Collaborator Author

helgeerbe commented Mar 20, 2023

To understand your request.

You want one upper limit during the day and another one for the night? What is the benefit?

Even at night, maximum will be the upper power limit. But normally it should follow your power import from the grid.

If you set the limit to 600W. Does it make a difference if you can consume the energy at night within one hour. Or you set a lower limit to 100W and consume your energy within 6 hours?

@Adminius
Copy link

The difference is the cell voltage and voltage drop at hiher current. The voltage drops less at lower power. In most cases this can be longer battery usage.
Example: cells are at about 3.1V. And the voltage drops at 100W limit only 0.1V and 0.3V at 600W.
BMS will shutdown at 2.7V.
With a 600W we are near the BMS undervoltage, because of 3.1-0.3=2.8V. If one cell of the pack goes below, BMS turns off. And the voltage recovers an stays at around 2.9V.

Now we are limiting to 100W, 3.1-0.1=3.0V, it is a lot until under voltage protection and you can use your battery much longer = more Wh usable before BMS turns off.

It is not only day/night, it is in general: the upper limit without solar production (Victron Production Power < upper limit) should be less then 100W in my example.

@helgeerbe
Copy link
Collaborator Author

I See your point.
I would propose to use upper and lower power limit, when inverter is on battery and to add a new upper power limit for solar pass through. Power above this limit will load the battery.

@helgeerbe
Copy link
Collaborator Author

Put upper solar passthrough limit in issue #142

Copy link

github-actions bot commented Apr 5, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
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

No branches or pull requests

3 participants