Inverter modeling¶
The Inverter device composes a Node (as a DC bus junction) with two Connections, one per direction, to model bidirectional DC/AC power conversion with separate efficiency and power limits per direction.
Model elements created¶
graph LR
subgraph "Device"
SS["Node<br/>(is_source=false, is_sink=false)"]
Inv["Connection<br/>{name}:dc_to_ac"]
Rect["Connection<br/>{name}:ac_to_dc"]
end
DCDevices["DC Devices<br/>(Battery, PV)"]
ACNode["Connection Target<br/>(AC Bus)"]
DCDevices -->|connect to| SS
SS --> Inv
Inv --> ACNode
ACNode --> Rect
Rect --> SS
| Model Element | Name | Parameters From Configuration |
|---|---|---|
| Node | {name} |
is_source=false, is_sink=false (pure junction) |
| Connection | {name}:dc_to_ac |
Inverting efficiency and power limit |
| Connection | {name}:ac_to_dc |
Rectifying efficiency and power limit |
Metered terminal convention¶
Inverters are rated, metered, and controlled on the AC side. Each connection therefore places its efficiency segment next to the DC bus and its power-limit segment at the AC end:
| Connection | Segment order | Power limit applies to |
|---|---|---|
{name}:dc_to_ac |
efficiency, power limit | Power delivered to the AC side |
{name}:ac_to_dc |
power limit, efficiency | Power drawn from the AC side |
The DC to AC, AC to DC, and active power sensors all report AC-side power. The DC bus supplies the DC to AC power plus the inverting loss, and receives the AC to DC power less the rectifying loss.
Devices created¶
Inverter creates 1 device in Home Assistant:
| Device | Name | Created When | Purpose |
|---|---|---|---|
| Primary | {name} |
Always | DC/AC conversion tracking and DC bus monitoring |
Parameter mapping¶
The adapter transforms user configuration into connection segments:
| User Configuration | Segment | Segment Field | Notes |
|---|---|---|---|
efficiency_source_target |
EfficiencySegment | efficiency_source_target |
Efficiency when inverting (DC to AC) |
efficiency_target_source |
EfficiencySegment | efficiency_target_source |
Efficiency when rectifying (AC to DC) |
max_power_source_target |
PowerLimitSegment | max_power_source_target |
Maximum inverting power (optional) |
max_power_target_source |
PowerLimitSegment | max_power_target_source |
Maximum rectifying power (optional) |
connection |
Connection | target |
AC side node to connect to |
| — | Node | is_source=false |
DC bus is not a power source |
| — | Node | is_sink=false |
DC bus is not a power sink |
Sensors created¶
The sensors this element creates, with their entity IDs, are listed under Sensors created on the Inverter page.
Configuration examples¶
Basic hybrid inverter¶
| Field | Value |
|---|---|
| Name | Main Inverter |
| AC connection | Home Bus |
| DC to AC efficiency | 97.0 |
| AC to DC efficiency | 97.0 |
With power limits¶
| Field | Value |
|---|---|
| Name | Hybrid Inverter |
| AC connection | Home Bus |
| DC to AC efficiency | 96.0 |
| AC to DC efficiency | 95.0 |
| Max DC to AC power | 5.0 |
| Max AC to DC power | 5.0 |
Typical use cases¶
Hybrid Inverter Systems: Connect batteries and solar panels to the inverter's DC bus, with the AC side connecting to the home bus where loads and grid are attached.
DC-Coupled Solar + Battery: When solar and battery share a DC bus, the inverter handles all DC/AC conversion. This models systems where solar feeds the battery directly on the DC side.
Asymmetric Power Ratings:
Some inverters have different power ratings for inverting vs. rectifying.
Configure separate max_power_source_target and max_power_target_source to model this.
Physical interpretation¶
The Inverter represents a power electronics device that converts between DC and AC power. The DC bus acts as a junction point where DC devices (batteries, solar panels with DC output) connect, while the AC side connects to your home's AC network.
Configuration guidelines¶
- Efficiency Values: Typical modern inverters achieve 95-98% efficiency. Set slightly lower values to account for real-world losses.
- Separate Efficiencies: Rectifying (AC to DC) efficiency may differ from inverting (DC to AC). Measure or consult specifications for accurate values.
- Power Limits: Configure limits matching your inverter's continuous AC power rating. Peak/surge ratings should not be used as they are not sustainable.
- DC Bus Connections: Other elements (batteries, PV) should connect to the inverter's DC bus by specifying the inverter name as their connection target.
Next steps¶
-
Node model
Underlying model element for the DC bus.
-
Connection model
How power limits and efficiency are applied.
-
Battery modeling
Connect batteries to the inverter's DC bus.
-
Solar modeling
Connect solar panels to the inverter's DC bus.