functionplotRootLociNoLoop

Plot root loci of nonlinear Modelica model by linearizing the model for variations of one model parameter

Information

Syntax

plotRootLoci(modelName, modelParams, simulationOptions, position, useLegend, grid, markerStyle, markerColorMin, markerColorMax)

Description

Calling this function with default setup the following root loci plot will be generated.

Inputs

TypeNameDefaultDescription
StringmodelName"Modelica.Mechanics.Rotational.Examples.First"Name of the Modelica model
Modelica_LinearSystems2.WorkInProgress.Internal.ModelParameters[:]modelParams{Modelica_LinearSystems2.WorkInProgress.Internal.ModelParameters(parName = "Jload", parMin = 1, parMax = 6, nVar = 10)}
Modelica_LinearSystems2.WorkInProgress.Internal.LinearizationOptionssimulationOptionsModelica_LinearSystems2.WorkInProgress.Internal.LinearizationOptions(method = "Dassl", tolerance = 0.0001)
Integer[4]position{5, 5, 600, 450}Window Position
BooleanuseLegendtrueUse legend
BooleangridtrueAdd grid
MarkerStylesmarkerStyleMarkerStyles.SquareStyle of marker
Integer[3]markerColorMin{0, 0, 255}Color of marker for minimum parameter value
Integer[3]markerColorMax{255, 0, 0}Color of marker for maximum parameter value