Power System Blockset    

Modifying the Nonlinear Models of the Powerlib_models Library

This version of the Power System Blockset does not allow you to add a block icon in the powerlib library and its corresponding model in the Powerlib_models library. However, you can temporarily modify the nonlinear models provided with the Power System Blockset. To use your own Powerlib_models library, you must first copy the powerlib_models.mdl file into your working directory or in any other directory. If you are using a directory different from the current directory, you must specify this new directory in the MATLAB search path in front of the standard blockset directory.

Then you can customize this new Powerlib_models library as long as you don't change the names of the blocks, the number of inputs and outputs, and the number of parameters in their dialog box. The next time that you run the simulation, the modifications will take place in your circuit.


 Limitations with the Nonlinear Models Creating Your Own Library of Models