Bindings package
Requirements.Examples.SimplePumpingSystem.Components.Bindings
ยท source
Functions to map variables from the target to the requirement component
Extends Modelica.Icons.Package
Binding functions that map the variables of the Modelica.Fluid components of the plant to the observation records of the requirement blocks in Checks. Keeping the binding in a function decouples the requirement definition from the plant model: the requirement blocks use their own variable names, and only the binding function knows the names of the plant component.
- tankObservation_from_OpenTank: OpenTank to Tank observation.
- pumpObservation_from_PrescribedPump: PrescribedPump to Pump observation.
- Records: the input records of the binding functions, built at the call site.
Revisions
| Date | Description |
|---|---|
| Sept. 14, 2026 | SourceObservation_from_PartialSource and Records.PartialSource removed; CheckPumpingSystem builds the source observations with the Checks.Records.Source constructor (see there) (H. Tummescheit, Model Based Innovation LLC) |
Contents
| Name | Kind | Description | |
|---|---|---|---|
| Records | package | Records containing observation variables used as inputs to the binding functions | |
| tankObservation_from_OpenTank | function | Map OpenTank variables to Tank observations record | |
| pumpObservation_from_PrescribedPump | function | Map PrescribedPump variables to pump observations record |