Introduction
A common question from solar energy storage users is:
“Can my LiFePO4 battery charge while it is powering the house?”
The short answer is:
Yes, the energy storage system can charge the battery while loads are operating.
But the electrical behavior is often misunderstood.
The battery is not necessarily receiving 50A from the charger while independently delivering 30A to the load as two unrelated processes.
In many systems, the important value is the net power flow at the battery terminals.
Understanding this concept helps explain why:
- Battery charging slows when household loads increase
- SOC sometimes stays unchanged even when solar power is available
- Charging current changes when an air conditioner starts
- A battery can move from charge to discharge within seconds
Start with a Simple Solar System
Imagine:
Solar generation: 5kW
House load: 2kW
Ignoring losses for simplicity, approximately: 3kW
remains available for battery charging.
The energy flow is:
PV → House Load
plus
PV → Battery
The battery does not need to supply the 2kW house load because solar is already providing it.
The battery receives the surplus.
What If the Load Increases?
Now suppose the air conditioner starts.
Solar generation remains: 5kW
but house load rises to: 4.5kW
Only approximately: 0.5kW
remains for battery charging.
The battery is still charging, but much more slowly.
This explains why a customer may say:
“My charging current suddenly dropped even though the sunlight did not change.”
The reason may simply be that the loads increased.
What If Load Exceeds Solar Production?
Now assume:
Solar generation: 5kW
Load: 7kW
There is a 2kW energy deficit.
The battery may now supply that missing energy.
The power flow becomes:
PV → Load: 5kW
Battery → Load: 2kW
The battery has changed from charging to discharging even though the PV array is still generating significant power.
Net Battery Power Is the Key
A useful simplified formula is:
Battery Power ≈ Generation − Load
when other grid and conversion factors are ignored.
If the result is positive: Battery charges.
If the result is negative: Battery discharges.
If generation approximately equals load: Battery current may be close to zero.
This simple principle explains much of the behavior users see on hybrid inverter displays.
Example: Solar + Grid + Load
Hybrid systems can be more complicated.
Suppose:
Solar: 3kW
Grid charging allowance: 2kW
House load: 4kW
Total available power: 3 + 2 = 5kW
Load consumes: 4kW
Approximately: 1kW
can remain for battery charging.
The inverter’s energy-management strategy determines the exact flow.
Is the Battery Really Charging and Discharging at the Same Time?
At the battery terminals, current has a direction.
At a given instant, the battery normally experiences a net:
- Charging current
- Discharging current
- Near-zero current
Different power sources and loads can operate simultaneously, but their power flows combine through the DC or AC bus.
For practical troubleshooting, the important parameter is therefore:
net battery current
not simply whether the charger and inverter are both turned on.
Why the Display Can Be Confusing
Different devices may display different measurements.
The solar controller may show: 60A charging output
while the BMS shows only: 25A battery charging current
Is something wrong?
Not necessarily.
Part of the available power may be supplying:
- Inverter loads
- DC loads
- System electronics
before reaching the battery.
Always identify where each current sensor is located.
Example with Current
Suppose a 51.2V system has:
Solar charger output: 80A
DC-side system load equivalent: 30A
Approximate battery net charging current may be: 80A − 30A = 50A
The MPPT displaying 80A does not necessarily mean the battery itself is receiving 80A.
This distinction is important during troubleshooting.
Why SOC Can Stay at the Same Percentage for Hours
A customer may report:
“Solar is charging, but my battery stays at 55%.”
Possible explanation:
Solar power is available, but nearly all of it is being consumed by loads.
For example:
Solar production: 4kW
Loads: 3.8kW
Only around: 0.2kW
remains for charging.
On a large battery bank, such a small net charging power may increase SOC very slowly.
Displayed SOC may remain at the same integer percentage for a long time.
Large Air Conditioners Can Reverse Battery Current
Consider a tropical home.
Before the air conditioner starts:
Solar = 6kW
Load = 2kW
Battery receives around: 4kW charging
Then several air conditioners start:
Load rises to 8kW
Solar remains 6kW
The battery now supplies around: 2kW
The BMS display may therefore switch rapidly from:
+charging
to
-discharging
This can be normal energy-management behavior.
The Battery Does Not Need to Be Disconnected While Charging
Some users are familiar with small rechargeable devices that should not be heavily used during charging.
A properly designed stationary LiFePO4 ESS is different.
Hybrid inverters are specifically designed to coordinate:
- Solar generation
- Grid input
- Battery charging
- Battery discharging
- Active loads
Loads can remain powered while the battery charges.
There is normally no need to disconnect the building loads just because the battery is charging.
But Combined Current Still Matters
Although net battery current is important, the overall system must still be designed correctly.
Consider a DC bus with:
- Large charger
- Large inverter
- Battery bank
The busbars, breakers and cables may carry significant current depending on where each connection is located.
System designers must consider:
- Maximum charging current
- Maximum discharge current
- Inverter power
- Charger power
- Load current
- Cable routing
Do not size conductors from average net battery current alone.
What Happens When Grid Power Is Available?
Hybrid inverter behavior depends on its operating mode.
Possible priorities include:
Solar First
Solar supplies loads first, then battery.
Battery First
Battery may support loads even while grid is available.
Utility First
Grid powers loads while solar charges the battery.
Self-Use Mode
Solar supplies loads first, excess solar charges battery, and battery supports loads when solar becomes insufficient.
Different inverter manufacturers use different names.
Understanding the selected mode is essential when analyzing battery current.
Charging Priority Can Change the Result
Consider:
PV = 5kW
Load = 3kW
Battery SOC = 50%
In a self-consumption mode:
- 3kW may supply loads
- 2kW may charge battery
But in another control strategy, some grid power may also charge the battery.
Therefore, identical hardware can show different power flows depending on software settings.
Why BMS Current and Inverter Current May Differ Slightly
Even when both devices measure battery current, small differences can occur because of:
- Sensor accuracy
- Sampling rate
- Measurement location
- Display update interval
- Calibration
For example:
Inverter display: 42A
BMS display: 40A
A small difference is not automatically a fault.
Large persistent differences should be investigated.
Does Charging While Loads Are Running Damage the Battery?
Normally, no.
What matters is whether battery operation remains within approved limits for:
- Voltage
- Net current
- Temperature
- SOC
- BMS protection
The existence of simultaneous solar production and household load is normal for an energy storage system.
The battery experiences the resulting net current.
The Important Exception: Rapidly Changing Loads
Loads such as:
- Air conditioners
- Pumps
- Compressors
- Motors
can change power demand quickly.
When a large load starts, the battery may suddenly transition from charging to discharging.
For example:
Before motor startup: Battery = +40A charging
During startup: Battery = −80A discharging
The battery and BMS must be capable of handling these transitions.
This is especially important when the battery bank is small relative to inverter power.
A 5kW Inverter Does Not Mean a 5kW Battery Charger
Another common misunderstanding is:
“I have a 5kW inverter, so my battery should always charge at 5kW.”
Inverter output rating and battery charging rating may be different.
A 5kW inverter may have:
- Lower AC charging power
- Different MPPT charge limit
- Configurable battery-current limit
At the same time, active loads reduce the power available for charging.
Always check the specific inverter datasheet.
Example: 51.2V 200Ah Battery
Battery energy: 51.2V × 200Ah = 10.24kWh
Suppose solar produces: 5kW
and loads consume: 1kW
Approximately 4kW may be available for battery charging before losses and equipment limits.
Later, loads increase to: 4kW
Now only around: 1kW
is available.
The same battery may therefore take very different times to reach full SOC on the same sunny day.
Why Charging-Time Calculations Often Fail
Customers sometimes calculate:
Charger power = 5kW
Battery needs 10kWh
Therefore charging takes 2 hours.
That estimate assumes the entire 5kW reaches the battery continuously.
In reality:
- Loads consume power
- Solar changes
- Charging current may taper
- Battery temperature can limit current
- Inverter limits can apply
Therefore, net battery charging power should be used for charging-time calculations.
Can the Grid Charge the Battery While the Battery Supports Loads?
Yes, depending on inverter architecture and operating mode.
For example, grid power might provide: 4kW
while site load is: 6kW
The battery may supply the remaining: 2kW
In this situation the grid charger is active, but the battery is still net discharging.
This surprises many users.
Again, the net power balance determines battery behavior.
Troubleshooting “It Says Charging but SOC Is Falling”
If the user sees a charging symbol but SOC continues decreasing, check:
- Solar/charger output power
- Total active load
- Battery net current
- Grid contribution
- Inverter operating mode
- BMS current direction
- Large intermittent loads
The charger may be operating correctly but providing less power than the loads consume.
For Distributors: Ask for the Whole Screen
When troubleshooting remotely, do not ask the customer for only one battery screenshot.
Request data showing:
- PV power
- Load power
- Grid power
- Battery power
- Battery SOC
- Battery voltage
- Battery current
Ideally, all values should be recorded at approximately the same time.
This makes the energy flow much easier to understand.
Commercial ESS Applications
The same principle applies at much larger scale.
Consider a commercial site:
PV: 100kW
Facility load: 70kW
Battery may charge at approximately: 30kW
before losses and limits.
Later: Facility load rises to 130kW
with PV still at 100kW.
The battery may discharge: 30kW
to reduce grid import.
The battery can transition between charge and discharge many times during the day as load and solar production change.
This is normal ESS operation.
Why This Matters for Battery Sizing
A battery should not be selected only according to daily energy capacity.
The designer should also understand:
- Peak charging power
- Peak discharge power
- Load transitions
- Motor startup
- Inverter power
A 20kWh battery with insufficient BMS current capability may not support a high-power inverter even if its energy capacity appears adequate.
Energy and power must both be evaluated.
Practical Rule
When analyzing a solar ESS, think in this order:
What power is being generated?
What power are the loads consuming?
What is coming from or going to the grid?
What remains for the battery?
This approach is much more useful than looking at battery SOC alone.
Conclusion
A LiFePO4 energy storage system can charge the battery while loads are operating.
However, the battery responds to the net energy balance of the system.
When generation exceeds load demand, the battery can charge.
When load demand exceeds available generation, the battery may discharge.
When both are nearly equal, battery current may approach zero.
This explains many common customer observations, including:
- Slow charging under heavy loads
- SOC remaining unchanged
- Battery current suddenly reversing
- Charger output differing from BMS current
HIZN supplies LiFePO4 batteries for residential solar, commercial ESS, telecom and off-grid systems with multiple capacity and BMS current options.
If you are selecting a battery for a solar inverter, send us the inverter power, charging power, peak load and daily consumption. We can help evaluate both battery capacity and required BMS current.