function rootLocusOfModel2 input String modelName "Name of the Modelica model" annotation( Dialog(__Dymola_translatedModel)); input Modelica_LinearSystems2.Records.ParameterVariation modelParam[:] "Model parameter to be varied (exactly one) and values for other parameters"; input Modelica_LinearSystems2.WorkInProgress.RootLocusNew.Cases cases "Case definitions with critieria of different operating points" annotation( Dialog); input Boolean linearizeAtInitial = true "= true, if linearization at initial time; otherwise simulate until t_linearize" annotation( choices(checkBox = true)); input Modelica.Units.SI.Time t_linearize = 0 "Simulate until t_linearize and then linearize, if linearizeAtInitial == false" annotation( Dialog(enable = not linearizeAtInitial)); input Modelica_LinearSystems2.Records.SimulationOptionsForLinearization simulationSetup = Modelica_LinearSystems2.Records.SimulationOptionsForLinearization() "Simulation options it t_linearize > 0, if linearizeAtInitial == false" annotation( Dialog(enable = not linearizeAtInitial)); input Modelica_LinearSystems2.Utilities.Plot.Records.RootLocusDiagram diagram annotation( Dialog); input Modelica_LinearSystems2.Utilities.Plot.Records.Device device "Properties of device where figure is shown" annotation( Dialog); end rootLocusOfModel2;