How to make sure your solar-plus-battery system works in a blackout