.Modelica_LinearSystems2.Internal.frequencyVector2

Information

Determine frequency vector for Bode plot (using Real matrices for zeros and poles)

Interface

function frequencyVector2
  extends Modelica.Icons.Function;
  import Modelica.Units.SI;
  input Real Zeros[:, 2] "Zeros as Real matrix (first column: real, second column imaginary values)";
  input Real Poles[:, 2] "Poles as Real matrix (first column: real, second column imaginary values)";
  input Integer nPoints(min = 2) = 200 "Number of points";
  input Boolean autoRange = true "True, if abszissa range is automatically determined";
  input SI.Frequency f_min(min = 0) = 0.1 "Minimum frequency value, if autoRange = false" annotation(
    Dialog(enable = not autoRange));
  input SI.Frequency f_max(min = 0) = 10 "Maximum frequency value, if autoRange = false" annotation(
    Dialog(enable = not autoRange));
  input Boolean logX = true "=true: logarithmic scale; = false: linear scale of frequency vector";
  output SI.Frequency f[nPoints] "Frequency vector (automatic or manual)";
end frequencyVector2;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos