refresh
Resynchronize slLinearizer or slTuner interface with current model state
Syntax
refresh(s)
Description
refresh(s) resynchronizes the slLinearizer or slTuner interface, s, with the
current state of the model. The interface recompiles the model for the next call to
functions that either return transfer functions (such as getIOTransfer and
getLoopTransfer) or functions that tune model parameters (such as systune or
looptune). This model recompilation ensures that the interface uses the current model
state when computing linearizations. Block parameterizations and values for tuned blocks
are preserved. Use setBlockParam to sync blocks with the model.
Use this command after you make changes to the model that impact linearization.
Changes that impact linearization include modifying parameter values and reconfiguring
blocks and signals.
Examples
Resynchronize slLinearizer Interface with Current Model State
Create an slLinearizer interface.
sllin = slLinearizer('scdcascade');
Generally, you configure the interface with analysis points, openings, operating points,
and parameter values. Then, you linearize the model using the getIOTransfer,
getLoopTransfer, getSensitivity, and getCompSensitivity commands. The first
time you call one of these commands with sllin, the software stores the state of the
model in sllin and uses it to compute the linearization.
refresh