PINVAL

The PINVAL function returns component comp of PINPUT/id.

Format

PINVAL (id, comp)

Arguments

 
id
The identifier of the PINPUT whose data is being requested.
comp
An integer that specifies the component of the PINPUT to be returned.

Examples

VARIABLE/21, FUNCTION=10*SIN(2.4*TIME)+3.5
VARIABLE/22, FUNCTION=DZ(21,11,32)
PINPUT/10, VARIABLES=21,22
SFORCE/1, TRANSLATIONAL, I=62, J=47
, FUNCTION=-1.08*(PINVAL(10,2)-4.6)
PINPUTs and POUTPUTs are used to generate the A, B, C, and D matrices for a mechanical system at an operating point. PINPUTs define the inputs to the system (plant) and POUTPUTs define the outputs from the system (plant). These can be accessed with function expression also, as shown in the example above. PINVAL(10,2) is the second element in the VARIABLES list for PINPUT/10 (that is, VARIABLE/22).
See other System element measures available.