BoundaryRecord

class flexops.core.registration.BoundaryRecord(var: Any, name: str, resource: str, kind: BoundaryKind)

A registered boundary flow — a resource entering or leaving a facility.

var

The live Pyomo Var carrying the total flow across the boundary, indexed over the time set.

Type:

Any

name

The variable’s local name on its unit block.

Type:

str

resource

The resource’s name (e.g. "raw_water", "brine"), the key its flow aggregates under. Two blocks sharing one name sum into a single row.

Type:

str

kind

Whether the flow enters (BoundaryKind.FEED) or leaves (BoundaryKind.PRODUCT) the facility.

Type:

flexops.core.registration.BoundaryKind