Battery bank controller in energyplus
My building is an off-grid building and I need to assign that some components just work when the battery state of charge is higher than a certain threshold. How can I define that in Energyplus.