Simulink Control Design™ - MathWorks

(Tuis.) #1

(^9) To find the optimized operating point using the states at t = 10 as the initial values,
click Start trimming.
(^10) To evaluate whether the resulting operating point values meet the specifications, in
the Data Browser, in the Linear Analysis Workspace section, double-click
op_trim1.
The Actual dx values are at or near zero, showing that the operating point is at a
steady state.
Initialize Operating Point Search at the Command Line
You can initialize operating point searches with a simulation snapshot when computing
operating points using the findop function.
Open the Simulink model.
sys = 'watertank';
load_system(sys)
Simulate the model until it reaches a steady state, and extract an operating point
snapshot. For this example, use ten time units.
opsim = findop(sys,10);
Create an operating point specification object. By default, all model states are specified to
be at steady state.
opspec = operspec(sys);
Initialize Steady-State Operating Point Search Using Simulation Snapshot

Free download pdf