use of io.openems.impl.controller.symmetric.balancing.BalancingController in project openems by OpenEMS.
the class BalancingTest method setUpBeforeClass.
@BeforeClass
public static void setUpBeforeClass() throws Exception {
ess = new UnitTestSymmetricEssNature("ess0");
meter = new UnitTestSymmetricMeterNature("meter0");
controller = new BalancingController();
essThingMap = new Ess(ess);
meterThingMap = new Meter(meter);
List<Ess> essSet = new ArrayList<Ess>();
essSet.add(essThingMap);
controller.esss.updateValue(essSet, true);
controller.meter.updateValue(meterThingMap, true);
}
Aggregations