STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.comps.base.Violation Class Reference

Public Member Functions

str __str__ (self)

Static Public Attributes

str severity = "error"

Detailed Description

A design limit this component's configuration breaks.

Reported rather than raised. A bend tighter than the tube's minimum radius
is buildable -- somebody will build it -- and the model should still solve
so you can see what it costs, while saying clearly that the hardware is out
of spec. Raising would force a choice between modelling reality and
modelling the rules.

Phase 15's constraint API generalises this: MEOP, NPSH margin, injector
stiffness and structural limits are the same shape of statement.

Definition at line 130 of file base.py.

Member Function Documentation

◆ __str__()

str feedtwin.comps.base.Violation.__str__ ( self)

Definition at line 150 of file base.py.

Member Data Documentation

◆ severity

str feedtwin.comps.base.Violation.severity = "error"
static

Definition at line 146 of file base.py.


The documentation for this class was generated from the following file:
  • lib/feedtwin/feedtwin/comps/base.py