Skip to content

Multi-Level Priority Strategies

Place the same device at multiple priority positions with different thresholds and surplus requirements to implement sophisticated energy management strategies.


Hanergy allows the same device to appear multiple times in the priority list. Each entry has its own threshold, setpoint, and minimum surplus requirement. The engine evaluates them independently as it walks through the list from top to bottom.

This pattern enables strategies like:

  • Charge the EV to 60% at modest amps (high priority), then top up to 80% at full power (low priority)
  • Fill the battery to 80% early in the day, then finish to 100% only if surplus remains after all other loads are served
  • Heat the house to 20 degrees at priority 2, then push to 22 degrees at priority 6

A household with four devices: EV charger, home battery, heat pump, and pool pump.

PriorityDeviceThresholdMin SurplusPurpose
1EV Charger60% SOC1400 WBaseline EV charge for daily commute
2Home Battery80% SOC500 WBattery to 80% for evening coverage
3Heat Pump22 C1000 WComfortable room temperature
4EV Charger80% SOC3000 WTop up EV if surplus is abundant
5Pool Pump—800 WCirculation whenever surplus permits
6Home Battery100% SOC500 WFill battery completely on high-production days

Surplus is below every entry’s minimum threshold. No loads activate. The household runs entirely from solar production with a small grid import for the remainder.

  • Priority 1 (EV to 60%): surplus exceeds 1400 W and the EV is at 35% SOC. Hanergy activates the charger at moderate amps. Approximately 1380 W allocated. Remaining surplus: approximately 220 W.
  • Priority 2 (Battery to 80%): needs 500 W. Only 220 W remains. Skipped.

The EV charger is the only active load.

  • Priority 1 (EV to 60%): still active, EV at 48% SOC. Approximately 1380 W allocated. Remaining: approximately 2120 W.
  • Priority 2 (Battery to 80%): 500 W threshold met. Battery charging starts at a moderate rate, approximately 800 W. Remaining: approximately 1320 W.
  • Priority 3 (Heat Pump): needs 1000 W. 1320 W available. Heat pump activates. Approximately 1000 W allocated. Remaining: approximately 320 W.
  • Priority 4 (EV to 80%): needs 3000 W. Only 320 W remains. Skipped.

Three loads running simultaneously.

  • Priority 1 (EV to 60%): EV has reached 62% SOC. Entry is satisfied — no power allocated.
  • Priority 2 (Battery to 80%): battery at 78% SOC. Still charging. Approximately 800 W allocated. Remaining: approximately 5700 W.
  • Priority 3 (Heat Pump): room temperature is 22.5 C. Entry is satisfied.
  • Priority 4 (EV to 80%): EV is at 62%, below 80% threshold. 5700 W available, exceeds 3000 W requirement. Charger activates at maximum amps. Approximately 5000 W allocated. Remaining: approximately 700 W.
  • Priority 5 (Pool Pump): needs 800 W. Only 700 W remains. Skipped for now.
  • Priority 6 (Battery to 100%): needs 500 W. Insufficient remaining. Skipped.

Shedding begins in reverse priority order:

  1. Priority 6 (Battery to 100%) — shed first (lowest priority active load)
  2. Priority 5 (Pool Pump) — shed next
  3. Priority 4 (EV to 80%) — shed (the EV charger turns off)

Higher-priority loads that are still unsatisfied remain active as long as surplus permits. The engine preserves the most important loads for as long as possible.

All managed loads are off. The household draws from the battery (charged to approximately 85% during the day) and the grid.


Not all priority entries make sense year-round.

  • Winter: disable heat pump cooling entries, disable pool pump entries, lower EV top-up thresholds (less surplus available)
  • Summer: disable heating entries, enable pool pump, raise EV top-up thresholds (more surplus available)
  • Shoulder seasons: enable both heating and pool entries at lower priorities

To disable an entry without removing it, set Enabled to No in Settings > Priorities. The entry is preserved in the configuration and can be re-enabled at any time.


  1. High-priority entries get surplus first. Place daily essentials (EV commute charge, battery baseline) at the top.
  2. Lower entries only activate when higher ones are satisfied or when surplus is large enough for both. This is the waterfall model.
  3. Shedding happens in reverse. When surplus drops, the lowest-priority active load is shed first. Higher-priority loads are preserved.
  4. Different thresholds for the same device create tiers. The first entry handles the “must have” charge level, the second handles the “nice to have” top-up.
  5. The minimum surplus value controls when each tier activates. A low min_surplus_w means the entry activates easily. A high value means it only activates on high-production days.