Difference between revisions of "OpenModelica-OpenIPSL/C2/Modelling-SMIB-using-OpenIPSL/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(4 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
|-
 
|-
 
|| '''Slide Number 1'''
 
|| '''Slide Number 1'''
|| Welcome to the Spoken Tutorial on '''Modelling of a SMIB system using OpenIPSL'''.
+
|| Welcome to the Spoken Tutorial on '''Modelling of a SMIB system''' using '''OpenIPSL'''.
 
|-  
 
|-  
 
|| '''Slide Number 2 '''
 
|| '''Slide Number 2 '''
Line 22: Line 22:
 
|| To record this tutorial, I am using
 
|| To record this tutorial, I am using
  
* '''OpenModelica Version 1.12.0 '''and
+
* '''OpenModelica''' version 1.12.0 and
* '''Linux OS 16.04'''
+
* '''Linux OS''' 16.04
  
Also use latest version of '''OpenIPSL''' to avoid compatibility issues. I am using '''OpenIPSL version 1.5.0'''.
+
Also use latest version of '''OpenIPSL''' to avoid compatibility issues.  
 +
 
 +
I am using '''OpenIPSL''' version 1.5.0
  
 
The process demonstrated in this tutorial is identical in other OS also such as-
 
The process demonstrated in this tutorial is identical in other OS also such as-
Line 39: Line 41:
 
|| To follow this tutorial, you should have knowledge of:
 
|| To follow this tutorial, you should have knowledge of:
  
* Power systems
+
* '''Power systems'''
* Modelling using '''OpenModelica'''
+
* '''Modelling''' using '''OpenModelica'''
  
 
For relevant '''OpenModelica '''tutorials, please visit our website.  
 
For relevant '''OpenModelica '''tutorials, please visit our website.  
Line 60: Line 62:
 
|-  
 
|-  
 
||  
 
||  
|| Before getting started we will briefly learn about '''Automatic Voltage Regulator (AVR) '''and '''Power System Stabilizer (PSS.)'''
+
|| Before getting started we will briefly learn about '''Automatic Voltage Regulator''' and '''Power System Stabilizer.'''
 
|-  
 
|-  
 
|| '''Slide Number 7'''
 
|| '''Slide Number 7'''
Line 69: Line 71:
  
 
* '''AVR''' regulates the '''generator terminal voltage'''  
 
* '''AVR''' regulates the '''generator terminal voltage'''  
* This is done by controlling the amount of current supplied to the '''generator field winding''' by the '''exciter'''.
+
* This is done by '''controlling''' the amount of current supplied to the '''generator field winding''' by the '''exciter'''.
 
* '''AVR''' improves the '''voltage regulation''' of the '''system.'''  
 
* '''AVR''' improves the '''voltage regulation''' of the '''system.'''  
 
|-  
 
|-  
Line 77: Line 79:
 
|| '''Power System Stabilizer(PSS)'''
 
|| '''Power System Stabilizer(PSS)'''
  
* '''(PSS)''' is installed with '''AVR''' to '''damp''' the low frequency '''oscillations''' in the '''power system'''.
+
* '''PSS''' is installed with '''AVR''' to '''damp''' the low frequency '''oscillations''' in the '''power system'''.
 
* This is done by providing a '''supplementary signal''' to the '''excitation system'''.
 
* This is done by providing a '''supplementary signal''' to the '''excitation system'''.
 
* '''PSS''' improves the '''damping''' of the '''system'''.
 
* '''PSS''' improves the '''damping''' of the '''system'''.
Line 92: Line 94:
  
 
'''How to model a SMIB system?'''
 
'''How to model a SMIB system?'''
|| Before launching '''OMEdit '''let us look at '''Single Line Diagram(SLD)''' of''' SMIB system'''.
+
|| Before launching '''OMEdit ''', let us look at '''Single Line Diagram''' of''' SMIB system'''.
  
 
|-  
 
|-  
Line 110: Line 112:
 
As demonstrated earlier in the series, navigate to  
 
As demonstrated earlier in the series, navigate to  
  
'''“File” --> “system libraries” --> “OpenIPSL”. '''
+
'''“File” --> “System Libraries” --> “OpenIPSL”. '''
 
|-  
 
|-  
 
|| '''Highlight and click on the icon which is below the file to the top left corner .'''
 
|| '''Highlight and click on the icon which is below the file to the top left corner .'''
Line 120: Line 122:
 
|| Now type the desired name in the '''Name''' column.
 
|| Now type the desired name in the '''Name''' column.
  
While entering the name make sure there are no spaces and the name doesn't start with a number.
+
While entering the name, make sure there are no spaces and the name doesn't start with a number.
  
 
It also doesn't accept any special characters.
 
It also doesn't accept any special characters.
Line 127: Line 129:
  
 
'''Highlight the package in libraries column.'''
 
'''Highlight the package in libraries column.'''
|| Now I will type the name as "'''SMIB_Controlled'''".
+
|| Now I will type the name as "'''SMIB underscore Controlled'''".
  
In the '''Specialization''' column dropdown, select '''Package''' and click '''Ok'''.
+
In the '''Specialization''' column drop-down, select '''Package''' and click '''Ok'''.
  
 
We can see a '''package''' in the '''Libraries Browser''' column.
 
We can see a '''package''' in the '''Libraries Browser''' column.
Line 146: Line 148:
 
Click on "'''New Modelica class'''" >> type name="'''Network'''" and Specialization="'''Model'''".
 
Click on "'''New Modelica class'''" >> type name="'''Network'''" and Specialization="'''Model'''".
  
|| Now to create the '''models''', right-click on the '''SMIB_Controlled''' package.
+
|| Now to create the '''models''', right-click on the '''SMIB_Controlled package'''.
  
 
And click on "'''New Modelica class'''".
 
And click on "'''New Modelica class'''".
  
We see a pop up window.
+
We see a pop-up window.
  
 
Type the name as "'''Network'''" and '''Specialization''' as "'''Model'''".
 
Type the name as "'''Network'''" and '''Specialization''' as "'''Model'''".
Line 157: Line 159:
  
 
Click on "'''OK'''".
 
Click on "'''OK'''".
|| Here we can see that the '''Insert''' in '''class''' column is automatically filled as "'''SMIB_Controlled'''".  
+
|| Here we can see that the '''Insert in class''' column is automatically filled as "'''SMIB underscore Controlled'''".  
  
This is because we are inserting this '''model''' in the '''SMIB_Controlled package'''.
+
This is because we are inserting this '''model''' in the '''SMIB underscore Controlled package'''.
  
 
Click on "'''OK'''".
 
Click on "'''OK'''".
Line 176: Line 178:
 
|| We can see two '''models''' already opened.  
 
|| We can see two '''models''' already opened.  
  
Click on the '''network''' tab at the top.
+
Click on the '''Network''' tab at the top.
  
 
Now let us drag and drop the required components to build the '''network'''.
 
Now let us drag and drop the required components to build the '''network'''.
Line 185: Line 187:
  
 
'''Slide number 12'''
 
'''Slide number 12'''
|| The following are the components required to model '''SMIB system'''.
+
|| The following are the components required to '''model''' a '''SMIB system'''.
  
* '''Generator (Order VI)'''
+
* '''Generator (Order Six)'''
 
* '''Buses'''
 
* '''Buses'''
 
* '''Two winding transformer'''
 
* '''Two winding transformer'''
* '''Power System Stabilizer (Order II)'''
+
* '''Power System Stabilizer (Order Two)'''
 
+
 
|-  
 
|-  
 
|| '''Slide number 13'''
 
|| '''Slide number 13'''
 
||
 
||
*'''Automatic Voltage Regulator (Order III)'''
+
*'''Automatic Voltage Regulator (Order Three)'''
 
* '''Power Line'''
 
* '''Power Line'''
 
* '''Infinite Bus'''
 
* '''Infinite Bus'''
Line 203: Line 204:
 
|-  
 
|-  
 
|| Open OMEdit window
 
|| Open OMEdit window
|| Let’s go back to the '''OMEdit''' window
+
|| Let’s go back to the '''OMEdit''' window.
  
 
|-  
 
|-  
Line 229: Line 230:
 
|| For two '''winding transformers,''' navigate to "'''OpenIPSL--> Electrical--> Branches--> PSAT-->Two winding transformer'''".
 
|| For two '''winding transformers,''' navigate to "'''OpenIPSL--> Electrical--> Branches--> PSAT-->Two winding transformer'''".
  
For '''Power Lines''', navigate to "'''OpenIPSL--> Electrical--> Branches--> PwLine'''".
+
For '''Power Lines''', navigate to "'''OpenIPSL--> Electrical--> Branches--> Power Line'''".
  
For '''Infinite Bus''', navigate to "'''OpenIPSL--> Electrical--> Buses--> InfiniteBus'''".
+
For '''Infinite Bus''', navigate to "'''OpenIPSL--> Electrical--> Buses--> Infinite Bus'''".
  
For '''Fault Block''', navigate to "'''OpenIPSL--> Electrical--> Events--> PwFault'''".
+
For '''Fault Block''', navigate to "'''OpenIPSL--> Electrical--> Events--> Power Fault'''".
 
+
For '''System Data''', navigate to "'''OpenIPSL--> Electrical-->SystemBase'''".
+
  
 +
For '''System Data''', navigate to "'''OpenIPSL--> Electrical-->System Base'''".
 
|-  
 
|-  
 
||
 
||
Line 242: Line 242:
 
|-  
 
|-  
 
|| Connect the components as described
 
|| Connect the components as described
|| To connect two components, click on the '''pwpin''' of the first component.  
+
|| To connect two components, click on the '''power pin''' of the first component.  
  
Drag and click on the second '''pwpin''' as shown.
+
Drag and click on the second '''power pin''' as shown.
 
|-  
 
|-  
 
|| Connect the components in Network model as shown in SLD.
 
|| Connect the components in Network model as shown in SLD.
|| Between '''Bus1''' and '''Bus2''', the '''Two winding transformer is''' connected.
+
|| Between '''Bus1''' and '''Bus2''', the '''Two winding transformer''' is connected.
  
'''Bus 2''' and '''Bus 3''' are connected via two power lines in parallel.
+
'''Bus 2''' and '''Bus 3''' are connected via two '''power lines''' in parallel.
 
|-  
 
|-  
 
|| Connect the components in Network model as shown in SLD.
 
|| Connect the components in Network model as shown in SLD.
Line 260: Line 260:
 
|-  
 
|-  
 
|| Connect the components in Network model as shown in SLD.
 
|| Connect the components in Network model as shown in SLD.
|| The system data block is placed on the '''Network model plane'''.
+
|| The '''system data block''' is placed on the '''Network model plane'''.
 
+
This provides the system with '''base''' and '''frequency''' for all the components.
+
  
 +
This provides the '''system''' with '''base''' and '''frequency''' for all the components.
 
|-  
 
|-  
 
||  
 
||  
 
|| Let me zoom in for better view.  
 
|| Let me zoom in for better view.  
  
For this, I am pressing CTRL and Plus symbol simultaneously.
+
For this, I am pressing '''CTRL''' and '''Plus''' symbol simultaneously.
 
+
 
|-  
 
|-  
 
|| Switch to''' Generator model window'''
 
|| Switch to''' Generator model window'''
|| The '''Network''' is connected now and let us go to the '''Generator modelling''' window.
+
|| The '''Network''' is connected now.
  
The '''Generator''' used here is of order six.
+
And let us go to the '''Generator modelling''' window.
 +
 
 +
The '''Generator''' used here is of order '''six'''.
 
|-  
 
|-  
 
|| Drag and drop components on to '''Generator modelling window'''
 
|| Drag and drop components on to '''Generator modelling window'''
Line 280: Line 280:
 
|-  
 
|-  
 
|| Connect the components as described
 
|| Connect the components as described
|| For '''Automatic Voltage Regulator (AVR)(Order III), '''navigate to '''"OpenIPSL--> Electrical--> Controls--> PSAT-->AVR-->AVRTypeIII".'''
+
|| For '''Automatic Voltage Regulator (AVR)(Order Three), '''navigate to '''"OpenIPSL--> Electrical--> Controls--> PSAT-->AVR-->AVR Type Three".'''
 
|-  
 
|-  
 
|| Connect the components as described
 
|| Connect the components as described
|| For '''Power System Stabilizer (PSS) (Order II), '''navigate to "'''OpenIPSL--> Electrical--> Controls--> PSS-->PSSTypeII'''".
+
|| For '''Power System Stabilizer (PSS) (Order Two), '''navigate to "'''OpenIPSL--> Electrical--> Controls--> PSS-->PSS Type Two'''".
 
|-  
 
|-  
 
|| Connect the components as described
 
|| Connect the components as described
|| For '''Generator (Order VI)''', navigate to "'''OpenIPSL--> Electrical--> Machines--> Order6'''".
+
|| For '''Generator (Order Six)''', navigate to "'''OpenIPSL--> Electrical--> Machines--> Order 6'''".
 
|-  
 
|-  
 
|| Connect the components as described
 
|| Connect the components as described
|| For '''Power Pin''' navigate to "'''OpenIPSL--> Interfaces--> PwPin'''".
+
|| For '''Power Pin''', navigate to "'''OpenIPSL--> Interfaces--> Power Pin'''".
  
 
This '''Power Pin''' acts as an interface between the '''Generator''' and '''Network models'''.
 
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.
+
  
The generator used here is of order six.
 
  
'''PSS''' and '''AVR''' is connected to the generator to achieve required control.
+
Point as per narrtion
 +
|| Adjust and resize the components as shown to make it look better.
  
'''AVR''' controls the field voltage of the generator taking the generator terminal voltage as input.
+
The '''generator''' used here is of '''order six'''.  
  
'''PSS''' takes rotor speed as the input and feds '''AVR'''
+
'''PSS''' and '''AVR''' is connected to the '''generator''' to achieve required '''control'''.
  
 +
'''AVR''' controls the '''field voltage''' of the '''generator''' taking the '''generator terminal voltage''' as input.
 +
 +
'''PSS''' takes '''rotor speed''' as the input and fits '''AVR'''.
 
|-  
 
|-  
 
||  
 
||  
Line 311: Line 313:
  
 
|-  
 
|-  
||  
+
|| Point or highlight as per narration
|| The '''AVR''' takes the '''generator terminal voltage''' as input i.e. '''Generator "V" '''is connected to '''AVRTypeIII "v"'''
+
|| The '''AVR''' takes the '''generator terminal voltage''' as input.
 +
 
 +
'''Generator "V" '''is connected to '''AVR Type Three "v"'''
  
The '''Initial Field voltage (Vf0)''' of the '''generator''' is given to '''AVRTypeIII''' as input.
+
The '''Initial Field voltage (Vf0)''' of the '''generator''' is given to '''AVR Type Three''' as input.
 
|-  
 
|-  
 
||  
 
||  
|| The output '''"Vf"''' of '''AVRTypeIII is''' connected to input '''"Vf"''' of the '''generator'''.
+
|| The output '''"Vf"''' of '''AVR Type Three''' is connected to input '''"Vf"''' of the '''generator'''.
 
|-  
 
|-  
 
|| Point to '''PSS input signal'''
 
|| Point to '''PSS input signal'''
|| '''PSS input signal '''is connected to ''''w'(Rotor speed)''' of the '''generator'''.
+
|| '''PSS input signal '''is connected to ''''omega'(Rotor speed)''' of the '''generator'''.
 
|-  
 
|-  
 
|| Point to the output of '''PSS '''
 
|| Point to the output of '''PSS '''
|| The output '''PSS''' is fed to '''"Vs" '''of the '''AVRTypeIII'''.  
+
|| The output '''PSS''' is fed to '''"Vs" '''of the '''AVR Type Three'''.  
 
|-  
 
|-  
 
|| Point to the connection
 
|| Point to the connection
Line 331: Line 335:
 
|-  
 
|-  
 
|| Point to '''PwPin'''
 
|| Point to '''PwPin'''
|| The Power '''pin''' of the '''generator''' is connected to '''PwPin'''.
+
|| The '''power pin''' of the '''generator''' is connected to '''Power Pin'''.
 
|-  
 
|-  
 
||  
 
||  
Line 348: Line 352:
 
|| After selecting ellipse, click on the top left corner and drag the cursor to draw a circle.  
 
|| After selecting ellipse, 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'''
+
|| Shift to network window >> drag and drop Generator model onto it
 
|| Now let us go back to our '''network modelling''' window.
 
|| Now let us go back to our '''network modelling''' window.
  
Line 356: Line 360:
  
 
|-  
 
|-  
||
 
 
|| Navigate to "'''SMIB_Controlled-->Generator'''"
 
|| Navigate to "'''SMIB_Controlled-->Generator'''"
 +
 +
Close '''Libraries Browser'''
 +
 +
Connect to '''Bus1''''
 +
|| Navigate to "'''SMIB underscore Controlled-->Generator'''"
  
 
I am closing '''Libraries Browser''' for better view.
 
I am closing '''Libraries Browser''' for better view.
Line 365: Line 373:
 
This makes the connections complete.
 
This makes the connections complete.
 
|-  
 
|-  
||  
+
|| Save by pressing '''CTRL+S''' keys
|| Before simulating the model, save it to a desired location.
+
|| Before '''simulating''' the '''model''', save it to a desired location.
  
For this, I am pressing CTRL+S and then a pop up opens up.
+
For this, I am pressing '''CTRL+S''' and then a pop up opens up.
  
 
Select the desired location and save it.
 
Select the desired location and save it.
Line 393: Line 401:
 
|| As an assignment:
 
|| As an assignment:
  
* We recommend that you take an example '''network''' from any textbook or publications.
+
* We recommend that you take an example '''network''' from any textbook or publication.
* Enter the power flow data, then simulate and explore the results
+
* Enter the '''power flow data''', then '''simulate''' and explore the results.
 
|-  
 
|-  
 
|| '''Slide Number 16'''
 
|| '''Slide Number 16'''
Line 423: Line 431:
  
 
'''Forum slide'''
 
'''Forum slide'''
|| Please post your timed queries in this forum
+
|| Please post your timed queries in this forum.
 
|-
 
|-
| | '''Slide Number 20'''
+
|| '''Slide Number 20'''
  
 
'''Forum for specific questions:'''
 
'''Forum for specific questions:'''
  
||Please post your general queries in this forum
+
||Please post your general queries in this forum.
 
|-  
 
|-  
 
|| '''Slide Number 21'''
 
|| '''Slide Number 21'''
Line 436: Line 444:
 
|| The '''FOSSEE ''' team coordinates the '''TBC '''project.
 
|| The '''FOSSEE ''' team coordinates the '''TBC '''project.
  
For more details, please visit this sites.
+
For more details, please visit this site.
 
|-  
 
|-  
 
|| '''Slide Number 22'''
 
|| '''Slide Number 22'''
  
 
'''Lab Migration Project'''
 
'''Lab Migration Project'''
|| The '''FOSSEE '''team helps migrate commercial simulator labs to '''OpenModelica'''.
+
|| The '''FOSSEE '''team helps migrate commercial '''simulator labs''' to '''OpenModelica'''.
  
 
For more details, please visit this site.
 
For more details, please visit this site.
Line 453: Line 461:
 
|| '''Slide Number 24'''
 
|| '''Slide Number 24'''
  
Acknowledgements
+
'''Acknowledgements'''
|| We acknowledge the contributions made by Prof. Luigi Vanfretti and Biswarup for the models used in this series.  
+
|| We acknowledge the contributions made by Prof. Luigi Vanfretti and Biswarup for the '''models''' used in this series.  
  
 
|-  
 
|-  

Latest revision as of 07:57, 9 October 2019

Visual Cue Narration
Slide Number 1 Welcome to the Spoken Tutorial on Modelling of a SMIB system using OpenIPSL.
Slide Number 2

Learning Objectives

In this tutorial, we will learn:
  • What is a controlled SMIB system
  • How to model a controlled SMIB system
  • Setting up the components
Slide Number 3


System Requirements

To record this tutorial, I am using
  • OpenModelica version 1.12.0 and
  • Linux OS 16.04

Also use latest version of OpenIPSL to avoid compatibility issues.

I am using OpenIPSL version 1.5.0

The process demonstrated in this tutorial is identical in other OS also such as-

  • Windows
  • Mac OS X or
  • FOSSEE OS on ARM.
Slide Number 4

Prerequisites

To follow this tutorial, you should have knowledge of:
  • Power systems
  • Modelling using OpenModelica

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
  • Interpret its results
Slide Number 6

What is a controlled SMIB system?

In this tutorial, we will learn how to model a SMIB.
  • Here the SMIB system which we are going to model is a controlled one.
  • The generator is controlled with the help of Automatic Voltage Regulator(AVR) and Power System Stabilizer(PSS).
Before getting started we will briefly learn about Automatic Voltage Regulator and Power System Stabilizer.
Slide Number 7

What is a controlled SMIB system?

Automatic Voltage Regulator(AVR)
  • AVR regulates the generator terminal voltage
  • This is done by controlling the amount of current supplied to the generator field winding by the exciter.
  • AVR improves the voltage regulation of the system.
Slide Number 8

What is a controlled SMIB system?

Power System Stabilizer(PSS)
  • PSS is installed with AVR to damp the low frequency oscillations in the power system.
  • This is done by providing a supplementary signal to the excitation system.
  • PSS improves the damping of the system.
Slide Number 9

What is a controlled SMIB system?

Optimal tuning of AVR controller and PSS parameters is necessary.

This is to obtain better voltage regulation and oscillation damping in the system.

Slide Number 10

How to model a SMIB system?

Before launching OMEdit , let us look at Single Line Diagram of 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.

Before creating it, let me include the OpenIPSL library.

As demonstrated earlier in the series, navigate to

“File” --> “System Libraries” --> “OpenIPSL”.

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.

We see a pop-up window.

Point at the name column. Now type the desired name in the Name column.

While entering the name, make sure there are no spaces and the name doesn't start with a number.

It also doesn't accept any special characters.

Create a package with the name “SMIB_Controlled”

Highlight the package in libraries column.

Now I will type the name as "SMIB underscore Controlled".

In the Specialization column drop-down, select Package and click Ok.

We can see a package in the Libraries Browser column.

Under this package, we will create the models.

We have to create two models under this package

1. Network.

2. Generator.

Create two models under the main package.

Click on "New Modelica class" >> type name="Network" and Specialization="Model".

Now to create the models, right-click on the SMIB_Controlled package.

And click on "New Modelica class".

We see a pop-up window.

Type the name as "Network" and Specialization as "Model".

Highlight the class column SMIB_Controlled

Click on "OK".

Here we can see that the Insert in class column is automatically filled as "SMIB underscore Controlled".

This is because we are inserting this model in the SMIB underscore Controlled package.

Click on "OK".

Repeat the above procedure. Now follow the same procedure to create Generator model.

While doing so, type the name of the model as “Generator”.

Point to the Expand button >> click on it After creating the models, you can see the Expand button to the left of the package.

Expand the package by clicking on the Expand button.

Open network model. We can see two models already opened.

Click on the Network tab at the top.

Now let us drag and drop the required components to build the network.

I am closing the Messages Browser for better view.

Slide number 12

The following are the components required to model a SMIB system.
  • Generator (Order Six)
  • Buses
  • Two winding transformer
  • Power System Stabilizer (Order Two)
Slide number 13
  • Automatic Voltage Regulator (Order Three)
  • Power Line
  • Infinite Bus
  • Power Pin
  • Fault Block
  • System Data
Open OMEdit window Let’s go back to the OMEdit window.
Drag and drop all the components Drag and drop all the components required on the Network window as shown.
Drag and drop all the described components For Buses navigate to "OpenIPSL--> Electrical--> Buses".

Drag and drop the Bus on the Modeling window of the 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 two winding transformers, navigate to "OpenIPSL--> Electrical--> Branches--> PSAT-->Two winding transformer".

For Power Lines, navigate to "OpenIPSL--> Electrical--> Branches--> Power Line".

For Infinite Bus, navigate to "OpenIPSL--> Electrical--> Buses--> Infinite Bus".

For Fault Block, navigate to "OpenIPSL--> Electrical--> Events--> Power Fault".

For System Data, navigate to "OpenIPSL--> Electrical-->System Base".

Let us connect the components together according to the single line diagram shown earlier.
Connect the components as described To connect two components, click on the power pin of the first component.

Drag and click on the second power pin as shown.

Connect the components in Network model as shown in SLD. Between Bus1 and Bus2, the Two winding transformer is connected.

Bus 2 and Bus 3 are connected via two power lines in parallel.

Connect the components in Network model as shown in SLD. The infinite bus is connected to Bus3.

But before that rotate the Infinite bus component using "Ctrl+R"

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.

This provides the system with base and frequency for all the components.

Let me zoom in for better view.

For this, I am pressing CTRL and Plus symbol simultaneously.

Switch to Generator model window The Network is connected now.

And let us go to the Generator modelling window.

The Generator used here is of order six.

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 Three), navigate to "OpenIPSL--> Electrical--> Controls--> PSAT-->AVR-->AVR Type Three".
Connect the components as described For Power System Stabilizer (PSS) (Order Two), navigate to "OpenIPSL--> Electrical--> Controls--> PSS-->PSS Type Two".
Connect the components as described For Generator (Order Six), navigate to "OpenIPSL--> Electrical--> Machines--> Order 6".
Connect the components as described For Power Pin, navigate to "OpenIPSL--> Interfaces--> Power Pin".

This Power Pin acts as an interface between the Generator and Network models.

Adjust and resize the components


Point as per narrtion

Adjust and resize the components as shown to make it look better.

The generator used here is of order six.

PSS and AVR is connected to the generator to achieve required control.

AVR controls the field voltage of the generator taking the generator terminal voltage as input.

PSS takes rotor speed as the input and fits AVR.

Let us connect the components.

Let me zoom in for better view.

Point or highlight as per narration The AVR takes the generator terminal voltage as input.

Generator "V" is connected to AVR Type Three "v"

The Initial Field voltage (Vf0) of the generator is given to AVR Type Three as input.

The output "Vf" of AVR Type Three is connected to input "Vf" of the generator.
Point to PSS input signal PSS input signal is connected to 'omega'(Rotor speed) of the generator.
Point to the output of PSS The output PSS is fed to "Vs" of the AVR Type Three.
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 Power Pin.
I am closing the Libraries Browser.
Shift to Icon view of the Generator model Now shift to the icon view using the "Icon View" which is at the top left corner of the Generator Model window.
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 ellipse, click on the top left corner and drag the cursor to draw a circle.
Shift to network window >> drag and drop Generator model onto it Now let us go back to our network modelling window.

Let me open the Libraries Browser window.

Here drag and drop the Generator model in your package.

Navigate to "SMIB_Controlled-->Generator"

Close Libraries Browser

Connect to Bus1'

Navigate to "SMIB underscore Controlled-->Generator"

I am closing Libraries Browser for better view.

Now connect it to Bus1.

This makes the connections complete.

Save by pressing CTRL+S keys Before simulating the model, save it to a desired location.

For this, I am pressing CTRL+S and then a pop up opens up.

Select the desired location and save it.

This brings us to the end of this tutorial.
Slide Number 14

Summary

Let us now summarize.

In this tutorial, we have learnt:

  • What is a controlled SMIB
  • How to model a controlled SMIB system
  • Setting up the components
Slide Number 15

Assignment

As an assignment:
  • We recommend that you take an example network from any textbook or publication.
  • Enter the power flow data, then simulate and explore the results.
Slide Number 16

Power System Simulation Project

The FOSSEE team invites contributions to develop power system networks using OpenIPSL library.

For more details, please visit this site.

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

Textbook Companion Project

The FOSSEE team coordinates the TBC project.

For more details, please visit this site.

Slide Number 22

Lab Migration Project

The FOSSEE team helps migrate commercial simulator labs to OpenModelica.

For more details, please visit this site.

Slide Number 23

Acknowledgements

Spoken Tutorial and FOSSEE projects are funded by NMEICT, MHRD, Government of India.
Slide Number 24

Acknowledgements

We acknowledge the contributions made by Prof. Luigi Vanfretti and Biswarup for the models used in this series.
Slide Number 25

Thanks

This is Samboju Sai Kiran. Signing off.

Thank you for joining.

Contributors and Content Editors

Kaushik Datta, Nancyvarkey, Vineeta