Closed StigWi closed 2 weeks ago
Hi Stig, We use the discharge allowed value coming from the PCS. If the PCS is removed, you need to hardcode in an allowed value for discharge.
This can be done by changing this line: https://github.com/dalathegreat/Battery-Emulator/blob/main/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp#L282C28-L282C49 datalayer.battery.status.max_discharge_power_W = 10000;
Alternatively, I highly recommend sourcing a PCS! It will make using the battery easier
Hi Dalathegreat You have solved my problem for the last 3 weeks. Now I can sleep again. Thanks a lot:) Regards Stig
Nice! I will close this issue as completed, and make a note in the Wiki about this (needed incase the PCS is not used)
Hi, I have a Tesla battery and a Fronius gen24 plus 6 inverter.
The PCS i burned, but BMS is sending signals, so I connected the battery to the inverter without using the contactors, My inverter has charged the battery to 85% but is not discharging the battery. The battery emulator says max discharges power 0W. Can I change it anywhere or is it a restriction from the BMS, that not accept the inverter to discharge the battery?
I have attached 2 pictures.
Thanks in advance and for a very interesting projekt. Stig