Skip to content

TREX10 Power Management

partach edited this page Feb 14, 2026 · 2 revisions

TREX10 Power Management

Overview

Power management on TREX10 inverters is implemented through direct manipulation of the Economic Rule 1 Power register.

Register Control

The TREX10 uses a single register for power management control:

Eco_rule_1_Power

Register: Eco_rule_1_Power

Function: Controls the maximum power level for charging and discharging operations

Units: Kilowatts (kW)

Range: Depends on inverter specifications

Power Adjustment Algorithm

Decrease Power

Trigger: Any phase current exceeds Max Amperage threshold

Action:

On state change the integration writes the following register:
Eco_rule_1_Power = Current_Power - 1 kW

Cycle: Repeats each monitoring cycle until all phases are within safe limits

Behavior:

  • Immediate response to overload condition
  • Gradual reduction prevents system shock
  • Continues until safe operating condition restored

Increase Power

Trigger: System has scaled back power, and current demand decreases

Action:

On state change the integration writes the following register:
Eco_rule_1_Power = Current_Power + 1 kW

Limit: Continues until power reaches user-configured desired level in integration

Cycle: Repeats each monitoring cycle

Behavior:

  • Gradual restoration of full capacity
  • Maximizes system utilization
  • Prevents immediate re-triggering of overload

Implementation Flow

┌─────────────────────────────────────┐
│  Monitor Phase Currents (3 phases) │
└──────────────┬──────────────────────┘
               │
               ▼
        ┌──────────────┐
        │ Any phase >  │
        │ Max Amperage?│
        └──┬────────┬──┘
           │        │
          Yes      No
           │        │
           ▼        ▼
    ┌──────────┐  ┌────────────────────┐
    │ Decrease │  │ Current Power <    │
    │ Power    │  │ Desired Power?     │
    │ -1 kW    │  └──┬─────────────┬───┘
    └────┬─────┘     │            │
         │          Yes           No
         │           │            │
         │           ▼            │
         │    ┌──────────┐       │
         │    │ Increase │       │
         │    │ Power    │       │
         │    │ +1 kW    │       │
         │    └────┬─────┘       │
         │         │             │
         └─────────┴─────────────┘
                   │
                   ▼
           ┌──────────────┐
           │ Update       │
           │ Eco_rule_1_  │
           │ Power        │
           └──────┬───────┘
                  │
                  ▼
           ┌──────────────┐
           │ Wait for     │
           │ next cycle   │
           └──────────────┘

Example Scenarios

Scenario 1: Overload Event

Initial State:

  • Eco_rule_1_Power = 5 kW
  • Phase 1: 12A
  • Phase 2: 18A
  • Phase 3: 22A ⚠️ (exceeds 20A limit)

Cycle 1:

Eco_rule_1_Power = 5 kW - 1 kW = 4 kW

Result: Monitor phase currents in next cycle

Cycle 2 (if still over limit):

Eco_rule_1_Power = 4 kW - 1 kW = 3 kW

Continues until all phases < 20A

Scenario 2: Power Restoration

Initial State (after overload resolved):

  • Eco_rule_1_Power = 3 kW (reduced from 5 kW desired)
  • All phases < 20A
  • Desired power: 5 kW

Cycle 1:

Eco_rule_1_Power = 3 kW + 1 kW = 4 kW
Monitor: All phases still safe? Yes → Continue

Cycle 2:

Eco_rule_1_Power = 4 kW + 1 kW = 5 kW
Monitor: Reached desired power → Stop increasing

Advantages

Simplicity

  • Single register control
  • Direct power adjustment
  • Straightforward implementation

Responsiveness

  • 1 kW steps provide good granularity
  • Quick response to changing conditions
  • Smooth power transitions

Reliability

  • Well-tested approach
  • Clear cause-and-effect relationship
  • Predictable behavior

Integration Considerations

Coordination with Energy Management

Power management operates independently but must coordinate with energy management modes:

  • From_Grid Mode: Power reduction affects charging rate
  • To_Grid Mode: Power reduction affects discharge rate
  • Off Mode: Power management still active for safety

User Configuration

Users should set:

  1. Desired Power Level: Target for normal operation
  2. Max Amperage: Overload threshold per phase

The integration handles all register updates automatically.

Related Pages