Power System Blockset | ![]() ![]() |
Creating Your Own Library
Simulink gives you the possibility to create your own library of Power System Blockset blocks. To create a library, in the File menu choose New Library. A new Simulink window named Library:untitled opens. Now copy the Nonlinear Inductance block of your circuit7
system and the Nonlinear Resistance block of your circuit8
system into that library. Save this library as my_PSBlibrary.
Next time that you develop a new model, you will add it to your personal library. You can also organize your library in different sub-libraries according to their functions as it is done in the powerlib library.
Figure 1-31: The Nonlinear Inductance and Resistance Blocks in my_PSBlibrary
One advantage of using a library is that all blocks that you copy from that library will be referenced to the library. In other words, if you make a correction in your library block, the correction will be automatically applied to all circuits using that block.
![]() | Modeling a Nonlinear Resistance | Connecting Your Model with Other Nonlinear Blocks | ![]() |