# question

## Reduce Charge Power

Hello,

I'm new to Victron, ESS and Node-Red, so sorry if I ask stupid questions.

For the next winter I'm looking for a way to limit my grid power to 2500W. When the load in my house is low, I like to charge my battery to a certain level. But the total power from the grid must stay under 2500W.

I'm building this up step by step. The first step is to control the grid power.

As you can see on the bottom right there is something wrong with my calculation. The maximum charge power is to high. The battery would charge at 2526W.

When removing the wire from above the calculation works but the result is negative. Now idea how to do this calculation right.

Any help for this first step in a bigger project would be welcome.

Thanks.

charge-test.png (68.5 KiB)
charge-test-2.png (41.9 KiB)

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

You would use the vebus node and set the input AC current limit (in Amps) if you wanted to restrict grid usage.

If you aren't exporting, you can use the settings node and set the DVCC max charge current to limit battery charge, this will also limit max DC PV production. If you are exporting, this parameter is ignored.

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Thanks for the tip.

I would like to be able to dynamically adjust the limit. So this leaves me with the problem how to calculate the maximum.

Let's say I'm using 4A in my house, I want to set the limit on 10A from the grid. The maximum charge current would be 6A.

But these numbers are changing every time.

The idea is that I want to keep my battery on a certain level. When I use more then 10A, the extra power should come from the battery. It's called Peak Shaving I think.

Possible?

1 comment

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

·
Looking into this a little deeper. I hate Javascript but I found out this is the proper way to do it. Working with flow or global variables should fix this.
0 Likes 0 ·

Did you work it out? I think the following overview should give you a good start. Whenever the load value changes, it will recalculate. You might want to limit this, however, so it's not re-calculating and changing every second. eg. You might want it to re-calculate only every 5 minutes, or only if the change in load is bigger than a certain amount.

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Yes, I'm almost there. When ready I can post it here.

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

### Related Resources

What is ESS training video

ESS Quick Installation Guide

ESS design and installation manual