PowerRecord

class flexops.core.registration.PowerRecord(var: Any, name: str, kind: PowerKind, temperature: Any | None = None)

A registered power-draw variable.

var

The live Pyomo Var (kW).

Type:

Any

name

The nomenclature constant value (e.g. "power_electrical").

Type:

str

kind

The PowerKind of the draw.

Type:

flexcore.nomenclature.PowerKind

temperature

The heat duty’s temperature (a unit-carrying value); set only when kind is PowerKind.THERMAL, else None.

Type:

Any | None