Simulink Control Design™ - MathWorks

(Tuis.) #1
opspec(i).Outputs(1).Known = true;
end

Specify different known output values for each operating point specification.

opspec(1).Outputs(1).y = 1500;
opspec(2).Outputs(1).y = 2000;
opspec(3).Outputs(1).y = 2500;

Alternatively, you can configure operating point specifications using the Linear Analysis
Tool and export the specifications to the MATLAB workspace. For more information, see
“Import and Export Specifications for Operating Point Search” on page 1-73.

Find the operating points that meet each of the three output specifications. findop
computes all the operating points using a single model compilation.

ops = findop(sys,opspec);

Operating point search report 1:
---------------------------------

Operating point search report for the Model scdspeed.
(Time-Varying Components Evaluated at time t=0)

Operating point specifications were successfully met.
States:
----------
(1.) scdspeed/Throttle & Manifold/Intake Manifold/p0 = 0.543 bar
x: 0.596 dx: 3.41e-09 (0)
(2.) scdspeed/Vehicle Dynamics/w = T//J w0 = 209 rad//s
x: 157 dx: -5.57e-07 (0)

Inputs:
----------
(1.) scdspeed/Throttle perturbation
u: -1.61 [-Inf Inf]

Outputs:
----------
(1.) scdspeed/rad//s to rpm
y: 1.5e+03 (1.5e+03)

Operating point search report 2:

1 Steady-State Operating Points

Free download pdf