Giter VIP home page Giter VIP logo

Comments (2)

mkaiser avatar mkaiser commented on May 29, 2024

these values (min / max SoC, max charge dis/charge power are currently hard coded in the yaml file.

For me that was a good compromise preventing myself to accidentaly set too aggressive values ( For the sake of the batteries life I don't want to go below 5% or higher than 95% SoC. Also limiting the maximum charge / discharge power has a benefit on the components' lifetime.

I can't say anything about the SoC reserve. I still need to do some rewiring to route the inverters backup power to some lights and outlets. So it is still untested (maybe the first blackout in germany will change priorities here ;) )

For a wider range of use it would be good to have some personalized values here.

We could outsource these values to the secrets.yaml, but It will get more difficult for non-experts to get this integration running ....

I kind of dislike this idea, because most of the current users will just copy and paste upgraded .yaml files from the git and end up with several warnings, until they update their secrets.yaml

set_sg_min_soc:
  name: Set Min SoC
  min: !secret sungrow_modbus_min_soc_min 
  max: !secret sungrow_modbus_min_soc_max 
  step: 1
sungrow_modbus_min_soc_min 5
sungrow_modbus_min_soc_max 95

What do you think? Are there any good ways to solve this?

from sungrow-shx-inverter-modbus-home-assistant.

elektrinis avatar elektrinis commented on May 29, 2024

I think the inverter/battery will simply not accept a number that is not safe or out of range, same as with "reserved SOC" that I observed now: if I set 10%, it will accept this value. But if I set 11%, nothing happens.
I mean it will not start charging the battery ar higher power than it is designed, as the battery/BMS actually informs the inverter of its capabilities. So I believe the inverter will not accept 10.6kW setting if it sees the battery does not support it.
For example, I had a 9.6kW sungrow battery, which is capable of max 30A at 200V, so 6kW, and the inverter was aware of it. Then I have added some more modules and now it is capable of 30A at 470V, or max 10.6kW as limited by inverter itself.

That said I think that it is safe/OK to offer the full range and then the user can decide and test what works.

In my case I needed to set min/max SOC to 0%/100% to properly balance the battery before adding extra modules (as their SOC need to be very close).

On another note about connection of the inverter: in my current setup, I have the whole house connected on "backup" port like this: Grid -> inverter -> house. In this way the whole house would remain powered from battery in case of blackout. I chose sungrow inverter due to exactly this capability.

from sungrow-shx-inverter-modbus-home-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.