Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

I can't say for sure if you will be able to achieve exactly what you want, but the general approach would be:

  1. Set the Storage Operation Scheme of the ElectricLoadCenter:Distribution object to "TrackChargeDischargeSchedules".

  2. Create a CSV file with two columns for charging/discharging and create two Schedule:File objects. (Or you can use Schedule:Compact or another schedule type if you find it easier.)

  3. Assign the above Schedule:File objects to the Storage Charge Power Fraction Schedule Name and Storage Discharge Power Fraction Schedule Name fields.

This assumes that you know exactly when you want to charge/discharge the battery. If instead you want to apply your logic while the simulation runs, you could instead use an EMS program to look at the PV production, building demand, time of year, etc., for a given timestep and actuate the charge/discharge schedules.