pumpObservation_from_PrescribedPump function
Requirements.Examples.SimplePumpingSystem.Components.Bindings.pumpObservation_from_PrescribedPump
ยท source
Map PrescribedPump variables to pump observations record
Extends Modelica.Icons.Function
Binding function that maps the variables of a Modelica.Fluid.Machines.PrescribedPump, collected in the Bindings.Records.PrescribedPump record, to the Pump observation record of PumpRequirements:
speed = prescribedPump.N_in p_port_a = prescribedPump.port_a.p p_port_b = prescribedPump.port_b.p
The renaming is the actual binding: the requirement block uses its own names and does not depend on the pump model.
The function is Inline=true. See
CheckPumpingSystem for the call.
Inputs
| Name | Type | Description |
|---|---|---|
prescribedPump input | Bindings.Records.PrescribedPump | Observation variables from a PrescribedPump |
Outputs
| Name | Type | Description |
|---|---|---|
pumpObservation output | Checks.Records.Pump | Pump observation variables in requirements model |