Battery simulation

Hi folks, hope you are doing well
I am new to OpenEMS. I already have a backend (Controller API Backend) that receives data from OpenEMS. I want to configure a battery so that the backend receives ESS state of charge (SoC), max/min voltage, and max/min temperature in JSON format.
From what I understand, to set up battery voltage, temperature, charging/discharging, etc., we should configure the Simulator Battery . I have also configured the Simulator Modbus Bridge because it is required for the Battery-Inverter Sinexcel . This setup is necessary because the ESS Generic Managed Symmetric configuration needs both Battery-Inverter and Battery IDs to create an ESS instance. I use the created ESS (in my case, with ID 'ess3 ') in the Controller ESS Fix Active Power . As I understand it required controller to send battery data to our backend. But with this configuration OpenEms still do not send battery data, here is log rom openEms:

2024-11-14T15:44:14,000 [Worker-0] INFO  [ackend.SendChannelValuesWorker] [ctrlBackend0] Sending [33 values]: {meter1/ActivePowerL2=382, meter1/ActivePowerL3=382, meter1/ActivePowerL1=382, ess0/ActivePowerL3=402, meter0/ActivePower=-60, ess0/ActivePowerL1=402, meter1/ActivePower=1146, ess0/ActivePowerL2=402, _sum/ProductionAcActivePowerL3=382, _sum/ProductionAcActivePowerL1=382, _sum/EssActivePowerL1=394, _sum/ProductionAcActivePowerL2=382, _sum/EssActivePowerL2=394, _sum/EssActivePowerL3=394, _sum/GridActivePower=-60, meter0/ActivePowerL3=-20, meter0/ActivePowerL2=-20, meter0/ActivePowerL1=-20, _sum/UnmanagedConsumptionActivePower=2267, _sum/ProductionAcActivePower=1146, ess1/ActivePower=1181, ess0/ActivePower=1206, ess1/DebugSetActivePower=1181, _sum/EssDischargePower=1181, _sum/ConsumptionActivePower=2267, _sum/ProductionActivePower=1146, _sum/ConsumptionActivePowerL3=756, _sum/ConsumptionActivePowerL1=756, _sum/ConsumptionActivePowerL2=756, _sum/EssActivePower=1181, _sum/GridActivePowerL3=-20, _sum/GridActivePowerL2=-20, _sum/GridActivePowerL1=-20}
2024-11-14T15:44:14,001 [_cycle  ] INFO  [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:47 %|L:1181 W Grid:-60 W Production:1146 W Consumption:2267 W] batteryInverter0[GoStopped|Grid:Undefined] ctrlBackend0[State:WARNING: UnableToSend] ess1[SoC:47 %|L:1181 W|Allowed:-10000;10000 W] ess3[Error|SoC:50 %|L:UNDEFINED|Allowed:0;0|State:FAULT: Start battery inverter timeout passed!] meter0[-60 W] meter1[1146 W]

What am I missing? Could someone please suggest any improvements? Additionally, I would like to receive ESS state of charge (SoC), max/min voltage, max/min temperature, and reactive power.

Hi,

for commercial Use of OpenEMS i suggest you to join the OpenEMS Association.

Greetings

Hey @Sn0w3y, thanks for your response! I only need to simulate the data, so I don’t think I need to join the Association. Could you help with setting up the battery simulation?

If you only need to Simulate - why do you need Backend though?

I am currently working on a system that will handle data sent from OpenEMS, store it, and display statistical information. I do not have any real devices at the moment, I have investigated that OpenEMS provides a simulation feature, which is sufficient for my initial requirements.

The simulation “Feature” is thought for Demo Purposes.

Yes, basically thats what OpenEMS does. But what statistics do you need in Private use?

Greetings

Currently, in my database, I store consumption_active_power, ess_active_power, grid_active_power, and production_active_power. I then calculate energy consumption in kWh over specific time windows (e.g., daily, weekly, monthly) and additionally to live data display that calculated data. Now, I also need to receive battery data, including max/min voltage, max/min temperature, and ESS SoC, and display this live data on the frontend

That does not answer my Question :slight_smile:

WHY and FOR WHAT are you using OpenEMS ? :slight_smile:

Where is it applied? Which devices? Usecase?

Greetings!

Apologies if I’m missing some terminology, as I’m still new to OpenEMS. I’m currently using OpenEMS Edge and have followed these instructions. I’ve set up my own backend (configured in the Controller API Backend) to receive data from OpenEMS Edge. As of now, I’m unsure about the devices and other features. All I currently have is a basic OpenEMS Edge configuration (set up through the Apache Felix Web Console) and a simple backend to receive data from OpenEMS Edge. I already receive the data mentioned in my previous comment, but I now need to configure the battery data to be sent ( through the Apache Felix Web Console)