Suppose we have a system in which a battery is connected to an inverter. The inverter is capable of operation in all the four quadrants. Can we calculate the SoC of the battery using the following formula? if not, how can we do so?
SoC (%) = SoC_initial +/- (P * t) / (Battery Capacity * Efficiency) +/ - (Q * t) / (Battery Capacity * Power Factor * Efficiency)
(+ for charging and – for discharging)