use of io.openems.test.utils.devicenatures.UnitTestAsymmetricMeterNature in project openems by OpenEMS.
the class PhaseRectificationActivePowerTest method setUpBeforeClass.
@BeforeClass
public static void setUpBeforeClass() throws Exception {
ess = new UnitTestAsymmetricEssNature("ess0");
meter = new UnitTestAsymmetricMeterNature("meter0");
controller = new PhaseRectificationActivePowerController();
essThingMap = new Ess(ess);
meterThingMap = new Meter(meter);
controller.ess.updateValue(essThingMap, true);
controller.meter.updateValue(meterThingMap, true);
}
Aggregations