Estimate the open-loop response of the plant in the watertank model. First, open the
model.
model = 'watertank';
open_system(model);
Define a linearization I/O set that specifies the plant, and find a steady-state operating
point for estimation.
io(1)=linio('watertank/PID Controller',1,'input');
io(2)=linio('watertank/Water-Tank System',1,'openoutput');
watertank_spec = operspec(model);
opOpts = findopOptions('DisplayReport','off');
op = findop(model,watertank_spec,opOpts);
Then, create an input signal for estimation, and estimate the frequency response of the
specified portion of the model. Use the simout output argument to store the estimation
data.
input = frest.Sinestream('Frequency',logspace(-3,2,10));
[sysest,simout] = frestimate(model,op,io,input);
Open the Simulation Results Viewer.
frest.simView(simout,input,sysest)
15 Alphabetical List