Skip to content

Junction modeling

The Junction device composes a Node model element to represent an electrical bus where multiple elements connect and power must balance.

Model elements created

graph LR
    subgraph "Device"
        NodeModel["Node<br/>(is_source=false, is_sink=false)"]
    end
Model Element Name Parameters From Configuration
Node {name} is_source=false, is_sink=false (pure junction)

Junction creates only a Node model element with no implicit Connection.

Devices created

Junction creates 1 device in Home Assistant:

Device Name Created When Purpose
Primary {name} Always Junction point for power balance

Parameter mapping

The adapter transforms user configuration into model parameters:

User Configuration Model Element Model Parameter Notes
name Node name Element name
— Node is_source Always false: a junction cannot add power
— Node is_sink Always false: a junction cannot remove it

A Junction device is always a pure junction. Power enters and leaves the network only through device elements that bound and price it, such as Grid, Solar, and Loads. The Node device exposes the model-layer source and sink flags for when unlimited production or consumption is wanted.

Sensors created

The sensors this element creates, with their entity IDs, are listed under Sensors created on the Junction page.

Configuration examples

Single bus (most common)

Field Value
Name Switchboard

Multi-bus topology

DC Bus:

Field Value
Name DC Bus

AC Bus:

Field Value
Name AC Bus

Typical use cases

Single-Bus System: Most residential installations use the Switchboard junction created with the hub as the central connection point for all elements.

DC/AC Separation: Systems with DC-coupled batteries and AC-coupled solar may use separate DC and AC buses connected by a converter.

Multi-Site Systems: Large installations may use multiple junctions to represent different physical locations or voltage levels.

Physical interpretation

Junction represents an electrical bus where Kirchhoff's current law applies—total power flowing in must equal total power flowing out at every instant.

Configuration guidelines

  • Name Clearly: Use descriptive names like Switchboard, DC Bus, AC Bus to clarify system topology.
  • Single Junction Sufficient: Most home systems only need the Switchboard. Don't create more junctions unless you have a specific need (DC/AC separation, etc.).
  • No Storage: Junctions have no capacity—power balance is instantaneous. Use Battery elements for energy storage.
  • Connection Target: Other elements specify which junction they connect to via their connection field.

Next steps