Power System Blockset | ![]() ![]() |
Changing Your Circuit Parameters
Each time that you change a parameter of the powerlib blocks, you have to restart the simulation in order to re-evaluate the state-space model and update the parameters of the nonlinear models. However, you may change any source parameter (Magnitude, Frequency or Phase) during the simulation. The modification will take place as soon as you apply the modification or close the source block menu.
As for the Simulink blocks, all the powerlib block parameters that you specify in the dialog box can contain MATLAB expressions using symbolic variable names. Before running the simulation, you must assign a value to each of these variables in your MATLAB workspace. This allows you to perform parametric studies by changing the parameter values in a MATLAB script.
![]() | Creating Your Own Library of Models | Example of MATLAB Script Performing a Parametric Study | ![]() |