- feedbackSTFunc
feedbackSTFunc¶
Works with VSimPD and VSimVE licenses.
Function that pulls its values from a
feedbackDesiredhistory. See feedbackDesired history.
feedbackSTFunc Parameters¶
- kind
For STFunc, must be set to feedbackSTFunc.
- feedback
Points to the feedback history being used.
- expression
For any space time function, this value is a guess as to what the adjustable term (current for example) will look like to produce the desired quantity (voltage in this case). The value obtained from the
feedbackis then multiplied by the value ofexpressionto produce the resulting value ofaddjustableTerm. The value offeedbackchanges at every time step, but ideally will approach a constant value.
Example feedbackSTFunc Block¶
<STFunc adjustableTerm>
kind = feedbackSTFunc
feedback = feedbackHistory
expression = 0.5*J_DRIVE*tanh(t/T0)
</STFunc>