I'd like to use Modelica_LinearSystems2.ModelAnalysis.Linearize
to analyze the dynamic characteristics of my model, so I execute the following commands, but in the result, the variables that I am interested in don't show up.
My question is:
How could I assign the specific variables used in the function of Modelica_LinearSystems2.ModelAnalysis.Linearize
?
That linearization is just based on the inputs, outputs, and states and you cannot change that function to linearize something else.
However, you can modify those sets of variables.
output Real my1=IWantToLinearize;
xint
by xint+u
and declare u
as an input, to linearize w.r.t. changes here. However, you have to be careful so that the computation of xint
is unchanged.