- feedbackSTFunc
feedbackSTFunc
Works with VSimPD and VSimVE licenses.
Function that pulls its values from a
feedbackDesired
history.
See the “feedbackDesired” history section in the Reference manual.
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
feedback
is then multiplied by the value ofexpression
to produce the resulting value ofaddjustableTerm
. The value offeedback
changes 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>