PLECS 2.2 Online Help |
Perform an ac sweep.
Extras/Analysis Tools
The AC Sweep block enables you to determine the transfer function of a generic system from a single input to one or more outputs. The analysis is performed by injecting a small sinusoidal signal at different frequencies into the system and extracting the same frequencies from the system output(s) by Fourier analysis. The perturbation signal is available at the block output. The system outputs to be analyzed must be fed into the block's input port.
An ac sweep can be started either by clicking the button Start analysis or with the MATLAB command
placsweep(block);
where block is the Simulink handle or the full block path of the AC Sweep block. The block handle or path can be followed by parameter/value pairs that override the settings in the dialog box.
For additional information see section AC Analysis.
Brute force simulation simply simulates the system on a cycle-by-cycle basis until the difference between the state variables at the beginning and end of a cycle become sufficiently small. With this setting the parameter Max number of iterations actually limits the number of cycles until a steady state is reached.
Steady-state analysis performs a steady-state analysis for each perturbation frequency.
Start from model initial state uses the initial state values specified in the model - either in the individual blocks or in the simulation parameters.
Start from unperturbed steady state performs a steady-state analysis of the unperturbed system to determine the initial state vector for the ac sweep.
for each state variable.