question

beeda avatar image
beeda asked

On grid only if battery 100%

MultiPlus-II 48/3000/35-32

SmartSolar MPPT Ve.Can 1500/100 rev2

Battery Pylontech LiFePo


Hi


i want to set my Victron to is ON Grid only if Battery is full charged ca 100%-98%.


It is possible ?


Thanks


Battery:


100-98% - On Grid

98-20% - Off Grid

20-0% - On Grid


Overloaded - On Grid


Off Grid - I mean island mode

offgridmppt overvoltageisland mode
2 |3000

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

2 Answers
matt1309 avatar image
matt1309 answered ·

HI @Beeda


How would you ever get to <98% if you're using grid above 98%? As in if the grid goes down?


The way I would do this is with node red.

if( SoC => 98 || SoC <= 20){ //if greater than 98% or less than 20%

//set ESS mode to Keep batteries charged.

}else if (SoC >20% && SoC <98%){ if soc in between 20 and 98

//ESS mode Optimised without battery life

}


3 comments
2 |3000

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

beeda avatar image beeda commented ·

For this Logic funktion i need any special thing, or wher can i this sett ?


I do not use Grid for Baterry charging.


I use Grid only if Solar power do not go or battery is empty and if is my system overloaded. I want tu be in Offline mode (no Energy from my Electricityprovider) if i have power from Battery or Solar or kombination.


If Batery 100% charged is. I want to sent energy to my Electricityprovider i have Virtualbattery (I store Energy with my Electricityprovider).
0 Likes 0 ·
matt1309 avatar image matt1309 beeda commented ·

To make custom integrations/setups you can use node red.

Some more info on installing that here:

Venus OS Large image: Signal K and Node-RED [Victron Energy]


I'd suggest you break down the requirements into clearly defined criteria under each scenario. As at the moment it's not clear when you want grid to cover loads and when you want solar to cover loads.


The below code will be a decent starting point for you. It dynamically adjusts the minimum battery soc the system will get to.

Therefore the below code should ensure that loads are covered by the grid if battery >98% and if there isn't enough Sun, if there sufficient sun the solar will be used (but no battery)


If battery <98 but >20 then the system works as "normal ESS" system.


If batter <20 then loads are covered by battery.



if( SoC => 98){ //if greater than 98% or less than 20%

minSOC = 98

}else if( SoC <=20){

minSoC = 20

}else if (SoC >20% && SoC <98%){ if soc in between 20 and 98

minSoC = 0;

}
return minSoC;

.

0 Likes 0 ·
beeda avatar image beeda matt1309 commented ·
Many Thanks,


it is directly what i was looking for.

0 Likes 0 ·
janieronen avatar image
janieronen answered ·

Agree with matt1309 that nodeRED is best way to build custom functionalities.


But what is reason to go island mode? If you just set Grid set-point to 0 and limit feed-in to 0 on those periods when want to not use grid. That can be achieved by using nodeRED setting these parameters.

1 comment
2 |3000

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

beeda avatar image beeda commented ·

Reason is to save money.


Because if i am On Grid and even though i have Enough energy from Solar or Battery. The system still use ca 10-15% energy every day form Grid. I talk about ca 1,5kWh (per year 0,55MWh)

0 Likes 0 ·

Related Resources

Victron Offgrid page

Additional resources still need to be added for this topic