Hi Stefan,
As I was able to get my SolardEdge Battery system working I’ve tried to implement the write registers for getting control over charge/discharge power.
I´ve implemented SymmetricEss and MangedSymmetricEss natures. But I´m stuck getting the this.ess.setActivePowerEquals(this.config.power()); method working.
Is it right to feed just the registers
protocol.addTask(//
new FC16WriteRegistersTask(0xE00E, //
m(ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS, new FloatDoublewordElement(0xE00E).wordOrder(WordOrder.LSWMSW),
ElementToChannelConverter.SCALE_FACTOR_2), //
m(ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_EQUALS, new FloatDoublewordElement(0xE010).wordOrder(WordOrder.LSWMSW),
ElementToChannelConverter.SCALE_FACTOR_2))); //
The Log
2023-03-05T18:10:15,216 [_cycle ] INFO [enems.edge.ess.power.api.Power] [SetActivePowerEquals] reducing requested [1000 W] to maximum power [0 W] for [ess0P]
2023-03-05T18:10:15,216 [_cycle ] WARN [r.solver.CalculatePowerExtrema] Unable to MINIMIZE [ess0] phase [ALL] pwr [ACTIVE]. Setting it to zero.
2023-03-05T18:10:15,217 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlFixActivePower0]: No Feasible Solution [Channel [SetActivePowerEquals]+ess0P EQUALS 0]
2023-03-05T18:10:15,218 [_cycle ] WARN [ems.edge.ess.core.power.Solver] Power-Solver: Unable to solve under constraints!
2023-03-05T18:10:16,250 [modbusWR] INFO [bstractOpenemsSunSpecComponent] [meter0] Ignoring SunSpec-Model [713] starting at [41264]
I`ve also took a look on the fenecon commercial. But I still don´t unterstanbd relation between the single natures.
The only thing in the first step is to control the charge power of the system to get a time of use tariff working in the second step.
Have you got any hints for me?
regards
klinki