After my batteries are fully charged (SOC >95%), I like to switch on the water heater on (instead of just switching on, I like to control the power of the heater); if the SOC is bellow 90%, I like to switch the water heater off. If the SOC is <20%, I like to start the generator to charge the batteries again up to 50% SOC. Anybody any suggestion how to implement this?