OpenModelica-OpenIPSL/C2/Modelling-SMIB-using-OpenIPSL/English
Visual Cue | Narration |
Slide Number 1 | Welcome to the Spoken Tutorial on Modelling of a SMIB system using OpenIPSL. |
Slide Number 2
|
In this tutorial, we will learn:* What is a controlled SMIB system
|
Slide Number 3
|
To record this tutorial, I am using* OpenModelica Version 1.12.0 and
Windows
|
Slide Number 4
Prerequisites
|
To follow this tutorial, you should have knowledge of:* Power systems
For relevant OpenModelica tutorials, please visit our website. |
Slide Number 5
Modelling of a SMIB system using OpenIPSL |
Earlier in this series, we have already seen how to* Simulate a SMIB system and
|
Slide Number 6
|
* In this tutorial, we’ll learn how to model a SMIB.
|
* Before getting started we will briefly learn about Automatic Voltage Regulator (AVR) and Power System Stabilizer (PSS.)
| |
Slide Number 7
What is a controlled SMIB system?
|
Automatic Voltage Regulator(AVR)
|
Slide Number 8
What is a controlled SMIB system?
|
Power System Stabilizer(PSS)
|
Slide Number 9
What is a controlled SMIB system? |
Optimal tuning of AVR controller and PSS parameters is necessary.
|
Slide Number 10
|
Before launching OMEdit let us look at the Single Line Diagram(SLD) of the SMIB system.
|
Slide Number 11
How to model a SMIB system? |
This SLD helps us to get an overview of our system. |
Launch OMEdit | Now let us launch OMEdit. |
Open OpenModelica and OpenIPSL | Once OMEdit is launched we will create a new Modelica Package.
|
Highlight and click on the icon which is below the file to the top left corner . | To create a new "Modelica Package", click on the icon at the top left corner below the file.
|
Point at the name column. | Now type the desired name in the Name column.
|
Create a package with the name “SMIB_Controlled”
|
Now I will type the name as "SMIB_Controlled".
|
We have to create two models under this package
1. Network. 2. Generator. | |
Create two models under the main package.
|
Now to create the models, right-click on the SMIB_Controlled package.
|
Highlight the class column SMIB_Controlled
|
Here we can see that the Insert in class column is automatically filled as "SMIB_Controlled".
|
Repeat the above procedure. | Now follow the same procedure to create Generator model.
|
Point to the Expand button >> click on it
|
After creating the models you can see the Expand button to the left of the package.
|
Open network model.
|
We can see two models already opened. Click on the network tab at the top.
|
Open the slides
Slide number 12 |
The following are the components required to model the SMIB system.* Generator (Order VI)
|
Slide number 13 | Automatic Voltage Regulator (AVR)(Order III)* Power Line
|
Open OMEdit window | Let’s go back to the OMEdit window |
Click on the network tab | Click on the network tab at the top if it is not already opened. |
Drag and drop all the components | Drag and drop all the components required onto the Network window as shown. |
Drag and drop all the described components | For Buses navigate to "OpenIPSL--> Electrical--> Buses--> Bus".
Drag and drop the Bus onto the Modeling window of Network. |
Type name=Bus 1 >> Ok | Then type the component name as Bus 1 and click on Ok. |
We require three Buses as mentioned earlier in the requirements. | |
Repeat for Bus 2 and Bus 3 | Now do the same for Bus 2 and Bus 3. |
Drag and drop all the described components | In a similar manner, drag and drop all the required components. |
Drag and drop the required components on to network model window. | For the two winding transformers, navigate to "OpenIPSL--> Electrical--> Branches--> PSAT-->Two winding transformer".
|
Go back to Slide Number 11 | From the single line diagram shown here, we can get a clear idea about the network. |
Go back to OMEdit.
|
Let us go back to OMEdit.
|
Connect the components as described | To connect two components, click on the pwpin of the first component.
|
Connect the components in Network model as shown in SLD. | Between Bus1 and Bus2 the Two winding transformer is connected.
|
Connect the components in Network model as shown in SLD. | The infinite bus is connected to Bus3.
|
The Power Fault block is connected to Bus 2. | |
Connect the components in Network model as shown in SLD. | The system data block is placed on the Network model plane.
|
Switch to Generator model window | The Network is connected now and let us go to the Generator modelling window.
|
Point to PSS and AVR | PSS and AVR are connected to the generator to achieve required control. |
Point to AVR | AVR controls the field voltage of the generator taking the generator terminal voltage as input. |
Point to PSS | The PSS takes 'w'(Rotor speed) as the input and feeds AVR. |
Drag and drop components on to Generator modelling window | Now let us drag and drop PSS, AVR and Generator on to the Generator modelling window. |
Connect the components as described | For Automatic Voltage Regulator (AVR)(Order III) navigate to "OpenIPSL--> Electrical--> Controls--> PSAT-->AVR-->AVRTypeIII". |
Connect the components as described | For Power System Stabilizer (PSS) (Order II) navigate to "OpenIPSL--> Electrical--> Controls--> PSAT-->PSS-->PSSTypeII". |
Connect the components as described | For Generator (Order VI) navigate to "OpenIPSL--> Electrical--> Machines--> PSAT-->Order6". |
Connect the components as described | For Power Pin navigate to "OpenIPSL--> Interfaces--> PwPin".
This Power Pin acts as an interface between the Generator and Network models. |
Adjust and resize the components | Adjust and resize the components as shown to make it look better. |
Connect the components as described | Let us connect the components.
|
The output "Vf" of AVRTypeIII is connected to input "Vf" of the generator. | |
Point to PSS input signal | The PSS input signal is connected to 'w'(Rotor speed) of the generator. |
Point to the output of PSS | The output of PSS is fed to "Vs" of the AVRTypeIII. |
Point to the connection | The Mechanical power is not controlled here so Pm and Pm0 of the generator are connected together. |
Point to PwPin | The Power pin of the generator is connected to PwPin. |
Point to PwPin | This PwPin acts as an interface between the two, Generator and Network classes. |
Shift to Icon view of the Generator model | Now shift to the icon view using the "Icon View".
|
Here I will use a circle to represent my generator and its controls. | |
Select the ellipse | Select the ellipse at the top toolbar to draw a circle as shown. |
Drag the cursor to draw a circle | After selecting eclipse, click on the top left corner and drag the cursor to draw a circle. |
Shift to network window and drag and drop Generator model onto it | Now let us go back to our network modelling window.
|
Navigate to "SMIB_Controlled-->Generator" and connect it to Bus1.
| |
We can use command "Ctrl+S" and then a pop-up opens up.
| |
Slide Number 14
Summary |
This brings us to the end of this tutorial.
In this tutorial, we have learnt:
|
Slide Number 15
Assignment |
As an assignment:* We recommend that you take an example network from any textbook or publications.
|
Slide Number 16
Power System Simulation Project |
The FOSSEE team invites contributions to develop power system networks using OpenIPSL library.
https://om.fossee.in/powersystems
|
Slide Number 17
About the Spoken Tutorial Project |
The video at the following link summarises the Spoken Tutorial project.
Please download and watch it. |
Slide Number 18
Spoken Tutorial Workshops |
We conduct workshops using Spoken Tutorials and give certificates.
Please contact us. |
Slide Number 19
Forum slide |
Please post your timed queries in this forum |
Slide Number 20
Forum for specific questions:
|
Please post your general queries in this forum |
Slide Number 21
|
The FOSSEE team coordinates the TBC project.
For more details, please visit these sites. |
Slide Number 22
|
The FOSSEE team helps migrate commercial simulator labs to OpenModelica.
|
Slide Number 23
|
Spoken Tutorial and FOSSEE projects are funded by NMEICT, MHRD, Government of India. |
Acknowledgements | We acknowledge the contributions made by Prof. Luigi Vanfretti and Mr. Biswarup Mukherjee for the models used in this series. |
Slide Number 24
|
This tutorial is created by Samboju Sai Kiran.
|