Plant Output Value (POUVAL)

Returns the run-time value of a plant output.

Format

POUVAL(Plant Output Name, Element Number)

Arguments

 
Plant Output Name
Name of the plant output to reference.
Element Number
The element number in the list of outputs for the given plant output name.

Examples

model_1.POU corresponds to a definition of a plant output list. This plant output list contains three input variables, defined as follows:
(model_1.VAR_1, model_1.VAR_2, model_1.VAR_3)
where:
model_1.VAR_1 = "sin(2*PI*TIME)"
model_1.VAR_2 = "2"
model_1.VAR_3 = "5"
At any time in the simulation,
 
Function
POUVAL(model_1.POU,1)
Result
sin(2*PI*TIME)
At .75 seconds into the simulation,
 
Function
POUVAL(model_1.PIN,1)
Result
-1