STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.model.component.EvalContext Class Reference

Static Public Attributes

tuple ports [PortState, ...]
tuple flows [float, ...]
tuple states = ()
tuple dstates = ()
Mapping signals = field(default_factory=dict)
float t = 0.0

Detailed Description

Everything a component needs to evaluate its residuals once.

Ports and flows are in the order the component's spec declares them, so a
component indexes its own ports positionally without looking up names in a
hot loop.

Definition at line 59 of file component.py.

Member Data Documentation

◆ dstates

tuple feedtwin.model.component.EvalContext.dstates = ()
static

Definition at line 75 of file component.py.

◆ flows

tuple feedtwin.model.component.EvalContext.flows [float, ...]
static

Definition at line 68 of file component.py.

◆ ports

tuple feedtwin.model.component.EvalContext.ports [PortState, ...]
static

Definition at line 67 of file component.py.

◆ signals

Mapping feedtwin.model.component.EvalContext.signals = field(default_factory=dict)
static

◆ states

tuple feedtwin.model.component.EvalContext.states = ()
static

Definition at line 72 of file component.py.

◆ t


The documentation for this class was generated from the following file: