I am designing a PV system with battery storage (kibam) for a simulated building. The generators follow baseload scheme and the bus type is DirectCurrentWithInverterDCStorage.The battery never gets charged, it only discharges during the simulation period. I have used the kibam code available from the example idf file and have only changed the number of series and parallel modules.Is there any way to control the battery charge and discharge operation; that is charge/discharge the battery during certain time interval.Also how can I implement the following scheme that the PV charges the battery during daytime with no battery discharge; only when some additional building load appears for a brief period during day or evening it is met by battery discharge.When there is no PV generation available are the batteries by the grid ? As I cannot see the battery being charged I am not sure about this.