SimPowerSystems | ![]() ![]() |
Creating Your Own Library
Simulink gives you the possibility of creating 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 you develop a new model, you can add it to your personal library. You can also organize your library in different sublibraries according to their functions, as is done in the powerlib library.
Figure 1-31: Nonlinear Inductance and Resistance Blocks in my_PSBlibrary
One advantage of using a library is that all blocks that you copy from that library are referenced to the library. In other words, if you make a correction in your library block, the correction is automatically applied to all circuits using that block.
![]() | Modeling a Nonlinear Resistance | Connecting Your Model with Other Nonlinear Blocks | ![]() |