How to Prevent a Hybrid Inverter from Charging or Discharging the LiFePO4 Battery at the Wrong Time?

Introduction

A hybrid solar system is often expected to follow a simple operating strategy:

  1. Solar power supplies household loads.
  2. Excess solar charges the LiFePO4 battery.
  3. Additional excess power is exported or limited.
  4. The battery supplies household loads when solar power is insufficient.
  5. The grid provides power only when necessary.

However, customers sometimes observe the opposite behaviour:

  • Battery charges from the grid during an expensive tariff period.
  • Battery discharges while solar power is available.
  • Solar power is exported while the battery remains empty.
  • Inverter shows power flowing in the wrong direction.
  • Battery discharges into the utility grid.
  • Grid import increases when the battery should be supplying the house.
  • Zero-export control does not work.
  • Battery repeatedly charges and discharges at low power.
  • One phase imports power while another phase exports power.

These symptoms are frequently caused by incorrect measurement or control settings rather than a battery defect.

The inverter must know:

  • How much power the house is consuming
  • How much power is entering from the grid
  • How much power is being exported
  • Which direction current is flowing
  • Which tariff period is active
  • Which SOC reserve must be maintained

It receives this information from a smart meter, CT clamps or an external energy-management system.

If the measurement is wrong, the inverter makes the wrong decision.

What Does a CT Clamp Do?

A current transformer, commonly called a CT, measures alternating current in an AC conductor.

The inverter or smart meter uses CT data to determine:

  • Grid import
  • Grid export
  • Household load
  • Zero-export control
  • Battery charging requirement
  • Battery discharging requirement
  • Energy-monitoring data

A CT normally has a marked direction, such as:

  • Arrow
  • K to L
  • P1 to P2
  • House to Grid
  • Grid to Load

The required direction is inverter-specific.

Current GoodWe instructions, for example, require the CT direction to follow the designated house-to-grid or arrow-to-grid orientation; reversing it can cause measurement errors or inverter alarms.

Always follow the exact manual supplied with the installed inverter and meter.

How a Reversed CT Changes System Behaviour

Assume the house is importing 2kW from the grid.

A correctly installed CT reports:

Grid import: +2kW

A reversed CT may report:

Grid export: −2kW

The inverter may then respond by:

  • Charging the battery
  • Reducing solar production
  • Increasing battery discharge
  • Activating zero-export control incorrectly
  • Displaying negative household consumption

The inverter is responding logically to incorrect information.

Symptom 1: Battery Charges from the Grid Unexpectedly

Possible causes include:

  • CT installed backwards
  • Grid charging enabled
  • Time-of-use schedule active
  • Backup reserve charging
  • Low-SOC recovery function
  • Battery maintenance charging
  • Incorrect meter phase assignment
  • Meter communication failure
  • Inverter operating in backup mode
  • Remote control command from an EMS

Before changing the battery settings, determine whether the energy is intentionally commanded or caused by incorrect measurement.

Symptom 2: Battery Discharges While Solar Is Available

This may occur when:

  • CT reports false grid export.
  • Solar production does not cover all phase loads.
  • Time-of-use forced discharge is active.
  • Battery is performing peak shaving.
  • Export control is incorrectly configured.
  • External PV inverter output is not measured.
  • Meter is installed at the wrong location.
  • System data has a short measurement delay.

In some installations, battery discharge during solar production can be normal for a few seconds as loads and clouds change. Persistent discharge requires investigation.

Symptom 3: Solar Is Exported While the Battery Remains Empty

Possible causes include:

  • Battery charging is disabled.
  • Battery has reached a temperature or BMS limit.
  • Charging schedule prevents charging.
  • Export-first operating mode is selected.
  • Battery reserve setting is incorrect.
  • Meter or CT is installed at the wrong connection point.
  • External PV production is not included in system control.
  • Battery communication has failed.
  • The inverter receives a zero charging-current limit.

The customer may believe the battery is being ignored, but the inverter may be following a configuration rule.

Prevention Step 1: Select the Correct Meter and CT

Use the meter model approved for the inverter.

Confirm:

  • Single-phase or three-phase meter
  • Direct current meter or external CT meter
  • CT transformation ratio
  • Maximum current
  • Accuracy class
  • RS485 compatibility
  • Communication address
  • Baud rate
  • Inverter firmware support
  • Number of inverters

Do not assume that any Modbus meter will work because it has an RS485 port.

Some hybrid inverter control functions depend on model-specific data registers and communication behaviour.

Prevention Step 2: Install the Meter at the Correct Point

The smart meter or CTs normally need to measure the complete power exchange between the property and utility grid.

The measurement point is commonly near the point of grid connection and ahead of the loads that the inverter must monitor.

Official GoodWe documentation specifies installing the CT near the grid connection point and before the relevant loads for correct export-control operation.

Incorrect positions include:

  • CT around only the inverter cable
  • CT around only one household circuit
  • CT installed after some loads but before others
  • CT installed around both live and neutral together
  • Meter positioned where it cannot see an existing PV inverter
  • CT installed on the backup output instead of grid connection

The final position must match the manufacturer’s single-line diagram.

Prevention Step 3: Confirm CT Direction Before Closing the Panel

Before energization:

  1. Identify the utility-grid side.
  2. Identify the building-load side.
  3. Locate the CT direction mark.
  4. Confirm the required orientation in the manual.
  5. Check the correct phase conductor.
  6. Photograph the installation.
  7. Label each CT.
  8. Record its direction in the commissioning report.

For a three-phase system, label:

  • CT-A / L1
  • CT-B / L2
  • CT-C / L3

Do not rely on memory after the switchboard is closed.

Prevention Step 4: Match Each CT to the Correct Phase

In a three-phase system, the current measurement and voltage reference must correspond to the same phase.

Incorrect arrangement:

  • CT-A installed on L2
  • CT-B installed on L1
  • CT-C installed on L3

This can produce incorrect:

  • Power direction
  • Power factor
  • Import and export values
  • Phase load measurement
  • Zero-export control
  • Battery power command

Confirm phase rotation and phase assignment with suitable test equipment.

Do not correct a phase mismatch only through software unless the inverter manufacturer permits it.

Prevention Step 5: Configure the Correct CT Ratio

External CTs may be rated, for example:

  • 100A/5A
  • 200A/5A
  • 500A/5A
  • 1000A/5A

The meter or inverter must use the correct ratio.

If the physical CT is 200A/5A but the software is configured for another ratio, the inverter calculates the wrong power.

Consequences may include:

  • Battery charging too strongly
  • Battery discharge too weakly
  • Incorrect zero-export control
  • False energy reports
  • Incorrect peak-shaving response

GoodWe documentation specifically requires configuring the transformation ratio according to the installed CT.

Prevention Step 6: Verify Meter Communication

The inverter may communicate with the meter using RS485.

Check:

  • A and B polarity
  • Correct port
  • Communication address
  • Baud rate
  • Cable type
  • Shielding
  • Termination
  • Cable length
  • Meter power supply
  • Communication status

When communication fails, the inverter may:

  • Stop battery control
  • Use a fallback mode
  • Disable zero export
  • Display zero load
  • Show a meter communication alarm
  • Follow old data temporarily

Do not leave the system operating without confirming how it responds to meter communication loss.

Prevention Step 7: Confirm the Operating Mode

Hybrid inverter modes may include:

  • Self-consumption
  • Solar first
  • Battery first
  • Backup
  • Time of use
  • Peak shaving
  • Grid support
  • Forced charging
  • Forced discharging
  • Zero export
  • Feed-in priority

The names vary by manufacturer.

Document:

  • Normal operating mode
  • Grid-charging permission
  • Battery-discharge permission
  • Export limit
  • Minimum SOC
  • Backup reserve
  • Charging schedule
  • Discharging schedule

A system can have correct wiring but still operate unexpectedly because the wrong mode was selected.

Prevention Step 8: Review Every Time-of-Use Schedule

Check:

  • Start time
  • End time
  • Days of week
  • Charging current
  • Discharging power
  • Target SOC
  • Seasonal schedule
  • Local time zone
  • Daylight-saving settings
  • Overlapping periods

Common configuration mistakes include:

  • Charge and discharge periods overlapping
  • Schedule remaining active from factory testing
  • Grid charge enabled every day
  • Weekend schedule different from weekdays
  • Inverter clock incorrect
  • Cloud platform using another time zone
  • Target SOC above the backup reserve

Take screenshots of the final schedules.

Prevention Step 9: Distinguish Backup Reserve from Grid Charging

A high backup reserve does not always mean the grid will automatically charge the battery.

This behaviour is model-specific.

Possible control options include:

  • Reserve only: battery stops discharging below the set SOC.
  • Grid maintenance: grid charges to the reserve.
  • Forced charge: grid charges to a target SOC.
  • Emergency mode: battery remains near full.
  • Storm mode: grid pre-charges before expected outages.

Explain the selected behaviour to the customer.

Otherwise, the customer may interpret intentional reserve charging as a system fault.

Prevention Step 10: Include External PV Inverters in Measurement

Some properties contain:

  • Existing grid-tied PV inverter
  • New hybrid inverter
  • Battery inverter
  • Several PV systems
  • AC-coupled solar

If the smart meter does not measure all relevant generation and loads, the hybrid inverter cannot calculate the correct household power balance.

The installation may require:

  • Meter at the main grid point
  • Additional generation meter
  • Correct meter-placement setting
  • EMS
  • Approved AC-coupling configuration

Do not connect a new hybrid inverter without reviewing the existing PV measurement architecture.

Three-Phase Systems Require Additional Checks

In a three-phase property:

  • Solar may be generated on one phase.
  • Loads may consume power on another.
  • The battery inverter may be phase-limited.
  • Utility billing may use net or per-phase measurement.
  • Zero-export control may respond per phase or in total.

A customer may see:

  • Import on Phase B
  • Export on Phase A
  • Net power near zero

Whether this is normal depends on:

  • Inverter phase architecture
  • Meter logic
  • Local utility billing
  • Phase-balancing function
  • Export-control rules

Verify the inverter’s ability to support:

  • Three-phase net metering
  • Per-phase zero export
  • Unbalanced loads
  • Phase-specific backup
  • Multiple inverters

Why the Battery May Charge and Discharge Repeatedly

Small oscillations may occur because:

  • Household loads change rapidly.
  • Solar production changes with clouds.
  • Measurement and inverter control have a short delay.
  • The zero-export target is set exactly to 0W.
  • Meter data updates at intervals.
  • Several inverters respond independently.

For example:

  1. System detects 100W grid import.
  2. Battery begins discharging.
  3. Load falls.
  4. System detects export.
  5. Battery begins charging.
  6. Load rises again.

This may repeat.

Possible improvements include:

  • Export-control deadband
  • Minimum charging power
  • Minimum discharging power
  • Smoothing time
  • Correct meter location
  • Central controller for several inverters

These settings are equipment-specific.

Commissioning Test 1: Load Direction

With PV and battery disabled where appropriate:

  1. Turn on a known household load.
  2. Confirm the meter shows grid import.
  3. Confirm the power value is approximately reasonable.
  4. Check all phases.

If it shows export, inspect CT direction or phase assignment.

Commissioning Test 2: Controlled Export

With suitable sunlight:

  1. Reduce household loads.
  2. Allow PV generation.
  3. Confirm export direction.
  4. Verify zero-export response where enabled.

Commissioning Test 3: Battery Discharge

  1. Disable grid charging.
  2. Use a known household load.
  3. Command self-consumption operation.
  4. Confirm the battery discharges toward household demand.
  5. Confirm it does not export unexpectedly.

Commissioning Test 4: Battery Charge

  1. Produce solar surplus.
  2. Confirm battery charging.
  3. Confirm grid export follows the intended priority.
  4. Check BMS charging limit.

Commissioning Test 5: Time-of-Use Operation

Simulate or wait for:

  • Charging period
  • Discharging period
  • Reserve limit
  • Schedule transition

Confirm the inverter clock and cloud-platform clock are correct.

Commissioning Test 6: Meter Communication Failure

Where safely approved:

  • Interrupt meter communication.
  • Confirm the alarm.
  • Confirm the system enters a safe state.
  • Restore communication.
  • Confirm normal control resumes.

Quick Symptom Table

Customer ObservationPossible Cause
Battery charges from grid at middayGrid charging enabled or CT direction wrong
Battery exports to gridCT/meter error or discharge/export mode
Solar exports while battery is emptyBattery charge disabled, reserve logic or meter placement
Load value is negativeCT reversed or phase mismatch
Zero export does not workWrong CT direction, meter position or communication
One phase data is abnormalCT assigned to wrong phase
Battery cycles at low powerMeasurement delay or control deadband
App data differs from utility meterMeter location, update delay or CT ratio
Battery operates at wrong timeTime-of-use schedule or inverter clock

Customer Handover Information

Provide:

  • Normal operating mode
  • Battery reserve SOC
  • Grid-charging schedule
  • Discharging schedule
  • Expected solar priority
  • Export setting
  • Meaning of positive and negative grid power
  • Cloud-data update delay
  • Tariff schedule
  • Instructions before changing any settings

Limit administrator access where random setting changes could affect system operation.

Common Prevention Mistakes

Installing the CT Without Checking Its Arrow

The inverter may reverse import and export logic.

Installing the CT Around Live and Neutral Together

The magnetic fields can cancel, producing an incorrect reading.

Mixing Phase Labels

Voltage and current no longer correspond.

Selecting the Wrong CT Ratio

Power values are scaled incorrectly.

Configuring Time of Use Before Setting the Clock

The battery operates at unexpected times.

Ignoring an Existing PV Inverter

The hybrid system cannot see all generation.

Comparing App Data from Different Times

Cloud update delay can appear to be a control problem.

Leaving Forced Charge Enabled

The battery continues charging from the grid.

Frequently Asked Questions

Why is my battery charging from the grid when solar is available?

Check grid-charging settings, reserve mode, time-of-use periods, meter data and CT direction.

Can the battery discharge to the grid?

Some systems support controlled export, while others are intended only for self-consumption. The feature must comply with local utility rules.

Which way should the CT arrow point?

The required direction depends on the inverter. Follow the exact meter and inverter manual.

Why does the app show negative household consumption?

The CT may be reversed, installed at the wrong point or assigned to the wrong phase.

Why does the battery switch between charging and discharging every few seconds?

Rapid load changes, measurement delay, zero-export control or unsuitable deadband settings may cause oscillation.

Can I turn the CT around without switching off the system?

CT and switchboard work may involve hazardous live conductors. It should be performed using the approved isolation procedure by qualified personnel.

Conclusion

Unexpected battery charging or discharging is often a measurement and control problem rather than a LiFePO4 battery failure.

A reliable hybrid system requires:

  • Approved smart meter and CT
  • Correct measurement location
  • Correct CT direction
  • Correct phase assignment
  • Correct CT ratio
  • Stable RS485 communication
  • Documented operating mode
  • Reviewed time-of-use schedules
  • Correct backup reserve
  • Inclusion of all PV systems
  • Import/export commissioning tests

For HIZN Lithium technical support, provide:

  • Inverter brand and model
  • Smart-meter model
  • CT model and ratio
  • Single-line diagram
  • Photos showing CT position and direction
  • Three-phase or single-phase supply
  • Inverter operating mode
  • Time-of-use settings
  • Grid import/export screenshots
  • Battery SOC and power data

This information helps separate battery problems from meter, wiring and inverter-control problems.

Facebook
Twitter
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *