functionrootLocusOfModel
Return the root locus of one parameter (= eigen values of the model that is linearized for every parameter value)
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | modelName | Name of the Modelica model | |
| Modelica_LinearSystems2.Records.ParameterVariation[:] | modelParam | Model parameter to be varied (exactly one) and values for other parameters | |
| Modelica_LinearSystems2.Records.SimulationOptionsForLinearization | simulationSetup | Modelica_LinearSystems2.Records.SimulationOptionsForLinearization() | Simulation options |
| Boolean | reorder | false | True, if eigen values shall be reordered so that they are closest to the previous ones |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,:] | Re | Re[nx,np] Real values of eigenvalues Re[j,i], where i are the different parameter values and j the eigenvalue numbers | |
| Real[:,:] | Im | Im[nx,np] Imaginary values of eigenvalues Im[j,i], where i are the different parameter values and j the eigenvalue numbers | |
| Real[:] | s | s[np] The different parameter values s[i] associated with Re[i,j] and Im[i,j] | |
| String | paramName | Name of the parameter that was varied | |
| String | paramUnit | Unit of parameter paramName |