nmakel / solaredge_modbus

SolarEdge Modbus data collection library
MIT License
143 stars 34 forks source link

Module based information for SolarEdge Home Battery 48V #90

Open milkotodorov opened 10 months ago

milkotodorov commented 10 months ago

Hello,

currently one can see the information for SolarEdge Home Battery 48V as a whole. Example - I have 9.2 kWh battery with 2x 4.6 kWh modules:

  "batteries": {
    "Battery1": {
      "c_manufacturer": "SolarEdge",
      "c_model": "SolarEdge Home Battery 9.2kWh",
      "c_version": "48V DCDC 3.1.16 BMS 1.1300.0",
      "c_serialnumber": "XXXXXXXX",
      "c_deviceaddress": 112,
      "c_sunspec_did": 0,
      "rated_energy": 9200.0,
      "maximum_charge_continuous_power": 5650.0,
      "maximum_discharge_continuous_power": 8192.0,
      "maximum_charge_peak_power": 5350.0,
      "maximum_discharge_peak_power": 8550.0,
      "average_temperature": 23.0,
      "maximum_temperature": 0.0,
      "instantaneous_voltage": 821.004638671875,
      "instantaneous_current": -0.8409345746040344,
      "instantaneous_power": 690.0,
      "lifetime_export_energy_counter": 1,
      "lifetime_import_energy_counter": 1818,
      "maximum_energy": 9200.0,
      "available_energy": 8197.2001953125,
      "soh": 99.0,
      "soe": 28.888887405395508,
      "status": 3,
      "status_internal": 3,
      "event_log": 0,
      "event_log_internal": 0
    }
  }

I wonder whether how to display the information for each module? It must be possible as the SolarEdge support can access such data.

Any ideas on which registers this information is written? Would be great to have this.

Thanks, Milko

LotadaC commented 10 months ago

As far as I understand, you have two modules (BAT-05K48) combined to one battery (9,2kWh). It's possible to interconnect up to five modules, but only the first module is connected to the inverter.

Installation Guide page 25 figure 18: "6" and "7" are used to interconnect the modules, but only one Module is connected via "1" to the inverter.

Therefore, only one set of SunSpec-Battery-Registers is generated and readable (the combined battery).

How did the SE-support access the data? Using the SE Set App? Maybe there is more data available this way...

Another question: Issue #81 is open yet. The Home Battery is DC-coupled. I_DC-Power (register 40100 and ScaleFactor 40101) is the pure generated PV-power, correct? This power has to be combined (=added to the) with Battery_n_instantaneous_power (register 57716 (0xE174) - negative values charge, positive discharge), to get the inverter DC input power? I_AC_Power (40083/40084) represent the inverter output power? A meter between home and grid measures import/export, using M_AC_Power (40206/40210) and I_AC_Power I'm able to calculate home consumption?