*SetControlSISOInput()
Sets the input to the transfer function of the controller.
Syntax
*SetControlSISOInput(varname, val)
Arguments
- varname
- The variable name of the ControlSISO being set.
- val
- The value or expression describing the input to the transfer function.
Example
*BeginMdl( model5, "MBD Model" )
*ControlSISO( siso_0, "ControlSISO 0" )
*SolverVariable( sv_0, "Reference Speed" )
*ActionReactionForce( frc_0, "Force 0", ROT, MODEL.b_0,
MODEL.B_Ground, MODEL.p_0,
Global_Frame )
*SetSolverVariable(sv_0, 3)
*SetForce(frc_0, 0, 0, '{MODEL.siso_0.OUTPUT}')
*SetControlSISOCoeffs(siso_0, NUMER, 2, 10.00, 1.00,
DENOM, 2, 0.00, 1.00)
*SetControlSISOInput(siso_0, '-WZ({MODEL.b_0.cm.idstring})
+{sv_0.value}')
*EndMdl()
Context
Comments
The input to the controller is most often a signal from the mechanism model that is a function of one or more state variables.