.Modelica_LinearSystems2.WorkInProgress.plotRootLociNoLoop

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.

Interface

function plotRootLociNoLoop
  import Simulator = DymolaCommands.SimulatorAPI;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.StateSpace;
  input String modelName = "Modelica.Mechanics.Rotational.Examples.First" "Name of the Modelica model" annotation(
    Dialog(__Dymola_translatedModel));
  input Modelica_LinearSystems2.WorkInProgress.Internal.ModelParameters modelParams[:] = {Modelica_LinearSystems2.WorkInProgress.Internal.ModelParameters(parName = "Jload", parMin = 1, parMax = 6, nVar = 10)} annotation(
    Dialog(__Dymola_label = "Model parameters", __Dymola_importDsin(button = "Select model parameter" "Select parameters to be optimized", onlyStart = true, fields(parName = initialName, parValue = initialValue.value, parMin = initialValue.minimum, parMax = initialValue.maximum, parUnit = initialValue.unit))));
  input Modelica_LinearSystems2.WorkInProgress.Internal.LinearizationOptions simulationOptions = Modelica_LinearSystems2.WorkInProgress.Internal.LinearizationOptions(method = "Dassl", tolerance = 0.0001) annotation(
    Dialog(__Dymola_label = "Simulation setup"));
  input Integer position[4] = {5, 5, 600, 450} "Window Position" annotation(
    Dialog(group = "Plot settings"));
  input Boolean useLegend = true "Use legend" annotation(
    Dialog(group = "Plot settings"));
  input Boolean grid = true "Add grid" annotation(
    Dialog(group = "Plot settings"));
  input MarkerStyle markerStyle = MarkerStyle.Square "Style of marker" annotation(
    Dialog(group = "Plot settings"));
  input Integer markerColorMin[3] = {0, 0, 255} "Color of marker for minimum parameter value" annotation(
    Dialog(group = "Plot settings", colorSelector = true));
  input Integer markerColorMax[3] = {255, 0, 0} "Color of marker for maximum parameter value" annotation(
    Dialog(group = "Plot settings", colorSelector = true));
end plotRootLociNoLoop;

Generated at 2024-04-22T18:15:51Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos