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

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {| style="border-spacing:0;width:7.4896in;" |- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-rig...")
 
Line 1: Line 1:
 
+
{| border=1
 
+
||'''Visual Cue'''
 
+
||'''Narration'''
{| style="border-spacing:0;width:7.4896in;"
+
|-
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|| '''Visual Cue'''
+
|| '''Narration'''
+
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
 
|| '''Slide Number 1'''
 
|| '''Slide Number 1'''
 
|| Welcome to the Spoken Tutorial on '''Simulation of a SMIB using OpenIPSL.'''
 
|| Welcome to the Spoken Tutorial on '''Simulation of a SMIB using OpenIPSL.'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 2 '''
 
|| '''Slide Number 2 '''
  
  
 
'''Learning Objectives'''
 
'''Learning Objectives'''
|| In this tutorial, we will learn:* <div style="margin-left:0.5in;margin-right:0in;">How to '''simulate''' a controlled''' SMIB system'''</div>
+
|| In this tutorial, we will learn:* How to '''simulate''' a controlled''' SMIB system'''
* <div style="margin-left:0.5in;margin-right:0in;">Plotting''' voltage profiles''' of '''buses''' </div>
+
* Plotting''' voltage profiles''' of '''buses'''  
* <div style="margin-left:0.5in;margin-right:0in;">Plotting '''delta curve '''of the generator</div>
+
* Plotting '''delta curve '''of the generator
 
+
 
+
 
+
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 3'''
 
|| '''Slide Number 3'''
  
  
 
'''System Requirements'''
 
'''System Requirements'''
|| To record this tutorial, I am using* <div style="margin-left:0.5in;margin-right:0in;">'''OpenModelica Version 1.12.0 '''and</div>
+
|| To record this tutorial, I am using* '''OpenModelica Version 1.12.0 '''and
* <div style="margin-left:0.5in;margin-right:0in;">'''Linux OS 16.04'''</div>
+
* '''Linux OS 16.04'''
  
  
Line 34: Line 27:
  
  
The process demonstrated in this tutorial is identical in other OS also such as-* <div style="margin-left:0.5in;margin-right:0in;">'''Windows'''</div>
+
The process demonstrated in this tutorial is identical in other OS also such as-* '''Windows'''
* <div style="margin-left:0.5in;margin-right:0in;">'''Mac OS X '''or </div>
+
* '''Mac OS X '''or  
* <div style="margin-left:0.5in;margin-right:0in;">'''FOSSEE OS '''on '''ARM'''.</div>
+
* '''FOSSEE OS '''on '''ARM'''.
  
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 4'''
 
|| '''Slide Number 4'''
  
Line 46: Line 39:
  
  
|| To follow this tutorial, you should have knowledge of:* <div style="margin-left:0.5in;margin-right:0in;">Power systems</div>
+
|| To follow this tutorial, you should have knowledge of:* Power systems
* <div style="margin-left:0.5in;margin-right:0in;">Modelling using '''OpenModelica'''</div>
+
* Modelling using '''OpenModelica'''
  
  
Line 54: Line 47:
  
 
For relevant '''OpenModelica '''tutorials, please visit our website.  
 
For relevant '''OpenModelica '''tutorials, please visit our website.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 5Prerequisites'''
 
|| '''Slide Number 5Prerequisites'''
|| Earlier in this series, we have already seen * <div style="margin-left:0.5in;margin-right:0in;">How to connect a controlled '''SMIB system '''</div>
+
|| Earlier in this series, we have already seen * How to connect a controlled '''SMIB system '''
  
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Open the SMIB model from the earlier tutorial.'''
 
|| '''Open the SMIB model from the earlier tutorial.'''
 
|| Let us open the '''SMIB system''' which we modelled in earlier tutorial.  
 
|| Let us open the '''SMIB system''' which we modelled in earlier tutorial.  
Line 65: Line 58:
  
 
Also open the '''OpenIPSL library.'''
 
Also open the '''OpenIPSL library.'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| I have already opened the '''SMIB system'''.
 
|| I have already opened the '''SMIB system'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Shift to network window and drag and drop Generator model onto it'''
 
|| '''Shift to network window and drag and drop Generator model onto it'''
 
|| Now the next task is setting up each component by entering the '''parameter''' '''data''' and '''power flow''' '''data.'''
 
|| Now the next task is setting up each component by entering the '''parameter''' '''data''' and '''power flow''' '''data.'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Double click on the generator component'''
 
|| '''Double click on the generator component'''
 
|| Let me enter the data for the '''generator model'''.
 
|| Let me enter the data for the '''generator model'''.
  
  
* <div style="margin-left:0.5in;margin-right:0in;">For this navigate to '''Generator''' tab. </div>
+
* For this navigate to '''Generator''' tab.  
* <div style="margin-left:0.5in;margin-right:0in;">Open '''Generator parameter''' window. Let me enter the data for generator model. </div>
+
* Open '''Generator parameter''' window. Let me enter the data for generator model.  
* <div style="margin-left:0.5in;margin-right:0in;">For this, navigate to generator tab, Open '''Generator parameter''' window</div>
+
* For this, navigate to generator tab, Open '''Generator parameter''' window
* <div style="margin-left:0.5in;margin-right:0in;">We can see that there are '''Initialisation data, Power flow data '''and '''Machine parameters.'''</div>
+
* We can see that there are '''Initialisation data, Power flow data '''and '''Machine parameters.'''
* <div style="margin-left:0.5in;margin-right:0in;">Refer to the '''additional material''' section for the values to be entered. </div>
+
* Refer to the '''additional material''' section for the values to be entered.  
* <div style="margin-left:0.5in;margin-right:0in;">I am entering the values here and initialising '''e1q.start''' and '''e2q.start''' as''' true values'''.</div>
+
* I am entering the values here and initialising '''e1q.start''' and '''e2q.start''' as''' true values'''.
* <div style="margin-left:0.5in;margin-right:0in;">For this click on the checkbox which is to the left of the parameter. Then select “'''true:start-value is used to initialize'''”</div>
+
* For this click on the checkbox which is to the left of the parameter. Then select “'''true:start-value is used to initialize'''”
* <div style="margin-left:0.5in;margin-right:0in;">Now enter the rest of the '''parameters''' as shown.</div>
+
* Now enter the rest of the '''parameters''' as shown.
  
  
Line 90: Line 83:
  
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| I have entered all the data here.
 
|| I have entered all the data here.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Cursor pointing on the system data block
 
|| Cursor pointing on the system data block
 
|| The '''system data block''' is used to set the '''System base''' and '''frequency'''.
 
|| The '''system data block''' is used to set the '''System base''' and '''frequency'''.
Line 99: Line 92:
  
 
In this case we can see it is set to '''100 MVA''' as system '''base''' and '''frequency''' as '''50 Hz'''.  
 
In this case we can see it is set to '''100 MVA''' as system '''base''' and '''frequency''' as '''50 Hz'''.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Double click on the components to open parameter window.
 
|| Double click on the components to open parameter window.
 
|| Now as the '''parameters and''' '''power flow data''' are set for all the components we are ready to simulate it.  
 
|| Now as the '''parameters and''' '''power flow data''' are set for all the components we are ready to simulate it.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
  
Line 111: Line 104:
  
 
|| Before simulating the '''model''' save it to a desired location.  
 
|| Before simulating the '''model''' save it to a desired location.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Click on '''Check model'''
 
|| Click on '''Check model'''
 
|| Firstly let us check the '''generator model''' by clicking on the tick mark icon at the top of the '''model'''.  
 
|| Firstly let us check the '''generator model''' by clicking on the tick mark icon at the top of the '''model'''.  
Line 123: Line 116:
  
 
From this we can say the '''models''' are solvable.
 
From this we can say the '''models''' are solvable.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Close the Check Model windows
 
|| Close the Check Model windows
 
|| Close the '''messages browser'''.
 
|| Close the '''messages browser'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Click on the simulation setup
 
|| Click on the simulation setup
 
|| Let us proceed to the '''simulation''' of the '''network model.'''
 
|| Let us proceed to the '''simulation''' of the '''network model.'''
Line 135: Line 128:
  
 
This is to set up the '''solver''' and other '''parameters''' for the '''simulation'''.
 
This is to set up the '''solver''' and other '''parameters''' for the '''simulation'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Cursor on the simulation setup window.
 
|| Cursor on the simulation setup window.
 
|| Here, I am using '''dassl method''' and '''tolerance''' of '''1e-06'''.
 
|| Here, I am using '''dassl method''' and '''tolerance''' of '''1e-06'''.
Line 146: Line 139:
  
 
Click on "'''Ok'''" which is at the bottom of the window and the '''simulation''' starts.
 
Click on "'''Ok'''" which is at the bottom of the window and the '''simulation''' starts.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Cursor on the Simulation output window
 
|| Cursor on the Simulation output window
 
|| The '''simulation''' output window pops up.
 
|| The '''simulation''' output window pops up.
Line 155: Line 148:
  
 
After the '''simulation''' is successful, close the '''simulation''' output window.
 
After the '''simulation''' is successful, close the '''simulation''' output window.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Show Plotting perspective
 
|| Show Plotting perspective
 
|| We can see that the window has been changed to '''plotting '''perspective'''.'''
 
|| We can see that the window has been changed to '''plotting '''perspective'''.'''
Line 161: Line 154:
  
 
On the right hand side, we can see all the components are listed in the '''Variables browser''' tab.
 
On the right hand side, we can see all the components are listed in the '''Variables browser''' tab.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Expand the model and each component in variables browser.
 
|| Expand the model and each component in variables browser.
 
|| Click on the '''Expand''' button which is on the left side of each component.
 
|| Click on the '''Expand''' button which is on the left side of each component.
  
 
Now we can see all the variables under that particular component.
 
Now we can see all the variables under that particular component.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| Now let me show you the '''voltage profile''' at the''' fault bus''' i.e. '''Bus 2'''
 
|| Now let me show you the '''voltage profile''' at the''' fault bus''' i.e. '''Bus 2'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Show the '''variables browser'''
 
|| Show the '''variables browser'''
 
|| Click on the '''Expand''' button on the left hand side of '''Bus 2.'''  
 
|| Click on the '''Expand''' button on the left hand side of '''Bus 2.'''  
Line 177: Line 170:
  
 
Now click on the checkbox which is on the left hand side of the '''voltage parameter (V).'''
 
Now click on the checkbox which is on the left hand side of the '''voltage parameter (V).'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| This plots the graph of '''Voltage''' at '''Bus 2'''. Let me close the '''Messages''' browser for better view.
 
|| This plots the graph of '''Voltage''' at '''Bus 2'''. Let me close the '''Messages''' browser for better view.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| The Y-axis unit is in '''Per unit''' and the X-axis unit is in '''seconds'''.
 
|| The Y-axis unit is in '''Per unit''' and the X-axis unit is in '''seconds'''.
Line 186: Line 179:
  
 
Here we can see the plot starts from 0 seconds and ends at 10 secs.
 
Here we can see the plot starts from 0 seconds and ends at 10 secs.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| During the '''fault''' i.e. from the duration 0.5 to 0.57 secs, there is a huge dip in the '''voltage '''profile.
 
|| During the '''fault''' i.e. from the duration 0.5 to 0.57 secs, there is a huge dip in the '''voltage '''profile.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| After the '''fault''' is cleared at 0.57 secs the '''voltage''' rises quickly.
 
|| After the '''fault''' is cleared at 0.57 secs the '''voltage''' rises quickly.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Cursor on the voltage profile of Bus 2 plot.
 
|| Cursor on the voltage profile of Bus 2 plot.
 
|| As the system is a controlled one, the voltage has less oscillations about its '''steady state value'''.
 
|| As the system is a controlled one, the voltage has less oscillations about its '''steady state value'''.
Line 205: Line 198:
  
 
This is due to the additional '''controls''' such as '''AVR''' and '''PSS''' used in the '''system'''.
 
This is due to the additional '''controls''' such as '''AVR''' and '''PSS''' used in the '''system'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| Earlier in the series, the '''SMIB''' which was modelled, was an uncontrolled one.
 
|| Earlier in the series, the '''SMIB''' which was modelled, was an uncontrolled one.
 
|-
 
|-
| style="border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;" |  
+
| |  
| style="border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;" | Let’s compare the time taken by the uncontrolled '''system''' to that of a controlled one.  
+
| | Let’s compare the time taken by the uncontrolled '''system''' to that of a controlled one.  
  
  
 
We can see the settling time is reduced.  
 
We can see the settling time is reduced.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| This indicates that '''system''' regained its stability in less time with the help of controls like '''AVR''' and '''PSS'''.
 
|| This indicates that '''system''' regained its stability in less time with the help of controls like '''AVR''' and '''PSS'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Cursor on the voltage profile plot  
 
|| Cursor on the voltage profile plot  
 
|| Here we can also see that the '''voltage''' doesn't drop down to zero at this '''Bus''' though it is the '''fault bus'''.
 
|| Here we can also see that the '''voltage''' doesn't drop down to zero at this '''Bus''' though it is the '''fault bus'''.
Line 223: Line 216:
  
 
This is because of the '''fault impedance''' involved.
 
This is because of the '''fault impedance''' involved.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| We can also view the '''voltage profiles''' of the other '''bus '''i.e''' B1'''.
 
|| We can also view the '''voltage profiles''' of the other '''bus '''i.e''' B1'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
||  
 
||  
 
|| After selecting '''B2''' and '''B1 voltages''', we can clearly see the '''voltage drop''' between the '''buses'''.
 
|| After selecting '''B2''' and '''B1 voltages''', we can clearly see the '''voltage drop''' between the '''buses'''.
Line 232: Line 225:
  
 
This is the '''drop''' caused by the '''impedance''' of the '''transmission lines'''.
 
This is the '''drop''' caused by the '''impedance''' of the '''transmission lines'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Clear the plot
 
|| Clear the plot
 
|| Now clear these plots by unchecking the '''parameter''' checkboxes.
 
|| Now clear these plots by unchecking the '''parameter''' checkboxes.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Show the plot of Delta curve of generator
 
|| Show the plot of Delta curve of generator
 
|| We can also plot the '''Delta curve''' of the '''generator'''.
 
|| We can also plot the '''Delta curve''' of the '''generator'''.
Line 241: Line 234:
  
 
This indicates whether the system is accelerating or stable.
 
This indicates whether the system is accelerating or stable.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Expand the '''generator''' and '''order61'''
 
|| Expand the '''generator''' and '''order61'''
 
|| For this, expand the '''generator''' and '''order61''' which is a '''sixth order generator. '''
 
|| For this, expand the '''generator''' and '''order61''' which is a '''sixth order generator. '''
  
 
Here we can see all the variables of '''generator'''.
 
Here we can see all the variables of '''generator'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| Click on the checkbox of '''delta'''
 
|| Click on the checkbox of '''delta'''
 
|| Click on the checkbox of '''delta''' to plot its graph.
 
|| Click on the checkbox of '''delta''' to plot its graph.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| On the graph window
 
|| On the graph window
 
|| From the graph we can see the '''system''' is accelerated when the '''fault''' occurs at 0.5secs
 
|| From the graph we can see the '''system''' is accelerated when the '''fault''' occurs at 0.5secs
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| On the graph window
 
|| On the graph window
 
|| The '''Delta''' then oscillates about the''' steady-state value''' after the '''fault''' is cleared.
 
|| The '''Delta''' then oscillates about the''' steady-state value''' after the '''fault''' is cleared.
Line 258: Line 251:
  
 
It settles downs at 5.26 secs making the '''system stable'''.
 
It settles downs at 5.26 secs making the '''system stable'''.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 14'''
 
|| '''Slide Number 14'''
  
Line 267: Line 260:
 
Let us now summarize.
 
Let us now summarize.
  
In this tutorial, we have learnt:* <div style="margin-left:0.5in;margin-right:0in;">How to simulate a controlled SMIB system</div>
+
In this tutorial, we have learnt:* How to simulate a controlled SMIB system
* <div style="margin-left:0.5in;margin-right:0in;">Plotting voltage profiles of buses </div>
+
* Plotting voltage profiles of buses  
* <div style="margin-left:0.5in;margin-right:0in;">Plotting delta curve of the generator</div>
+
* Plotting delta curve of the generator
  
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 15'''
 
|| '''Slide Number 15'''
  
 
Assignment  
 
Assignment  
|| As an assignment:* <div style="margin-left:0.5in;margin-right:0in;">We recommend that you open the SMIB system which was modelled in earlier tutorial.</div>
+
|| As an assignment:* We recommend that you open the SMIB system which was modelled in earlier tutorial.
* <div style="margin-left:0.5in;margin-right:0in;">Enter the '''required data''', then '''simulate''' it.</div>
+
* Enter the '''required data''', then '''simulate''' it.
* <div style="margin-left:0.5in;margin-right:0in;">Then explore the results obtained.</div>
+
* Then explore the results obtained.
  
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 16'''
 
|| '''Slide Number 16'''
  
 
Power System Simulation Project
 
Power System Simulation Project
|| <span style="background-color:#fcfcfc;">The FOSSEE team invites contributions to develop </span><span style="background-color:#fcfcfc;">'''power system networks'''</span><span style="background-color:#fcfcfc;"> using </span><span style="background-color:#fcfcfc;">'''OpenIPSL library.'''</span>
+
|| The FOSSEE team invites contributions to develop '''power system networks''' using '''OpenIPSL library.'''
  
  
Line 291: Line 284:
  
 
[https://om.fossee.in/powersystems https://om.fossee.in/powersystems]
 
[https://om.fossee.in/powersystems https://om.fossee.in/powersystems]
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 17'''
 
|| '''Slide Number 17'''
  
Line 298: Line 291:
  
 
Please download and watch it.
 
Please download and watch it.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 18'''
 
|| '''Slide Number 18'''
  
Line 305: Line 298:
  
 
Please contact us.
 
Please contact us.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 19'''
 
|| '''Slide Number 19'''
  
Line 311: Line 304:
 
|| Please post your timed queries in this forum
 
|| Please post your timed queries in this forum
 
|-
 
|-
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;" | '''Slide Number 20'''
+
| | '''Slide Number 20'''
  
 
Forum for specific questions:
 
Forum for specific questions:
| style="border:1pt solid #000000;padding:0.0694in;" | Please post your general queries in this forum
+
| | Please post your general queries in this forum
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 21'''
 
|| '''Slide Number 21'''
  
Line 322: Line 315:
  
 
Textbook Companion Project
 
Textbook Companion Project
|| <span style="background-color:#ffffff;">The </span><span style="background-color:#ffffff;">'''FOSSEE '''</span><span style="background-color:#ffffff;">team coordinates the </span><span style="background-color:#ffffff;">'''Textbook Companion '''</span><span style="background-color:#ffffff;">project.</span>
+
|| The '''FOSSEE ''' team coordinates the '''Textbook Companion ''' project.
  
 
For more details, please visit these sites.
 
For more details, please visit these sites.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 22'''
 
|| '''Slide Number 22'''
 
 
 
  
 
Lab Migration Project
 
Lab Migration Project
Line 336: Line 326:
  
 
For more details, please visit this site.
 
For more details, please visit this site.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 23'''
 
|| '''Slide Number 23'''
  
Line 344: Line 334:
 
Acknowledgements
 
Acknowledgements
 
|| '''Spoken Tutorial '''and '''FOSSEE '''projects are funded by '''NMEICT, MHRD''', Government of India.
 
|| '''Spoken Tutorial '''and '''FOSSEE '''projects are funded by '''NMEICT, MHRD''', Government of India.
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''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.  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|-  
 
|| '''Slide Number 24'''
 
|| '''Slide Number 24'''
  
  
 
Thanks
 
Thanks
|| This is Usha signing off .
+
|| This is Usha signing off.
  
  

Revision as of 15:23, 26 September 2019

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


Learning Objectives

In this tutorial, we will learn:* How to simulate a controlled SMIB system
  • Plotting voltage profiles of buses
  • Plotting delta curve of the generator
Slide Number 3


System Requirements

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


Also use the 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 5Prerequisites Earlier in this series, we have already seen * How to connect a controlled SMIB system


Open the SMIB model from the earlier tutorial. Let us open the SMIB system which we modelled in earlier tutorial.


Also open the OpenIPSL library.

I have already opened the SMIB system.
Shift to network window and drag and drop Generator model onto it Now the next task is setting up each component by entering the parameter data and power flow data.
Double click on the generator component Let me enter the data for the generator model.


  • For this navigate to Generator tab.
  • Open Generator parameter window. Let me enter the data for generator model.
  • For this, navigate to generator tab, Open Generator parameter window
  • We can see that there are Initialisation data, Power flow data and Machine parameters.
  • Refer to the additional material section for the values to be entered.
  • I am entering the values here and initialising e1q.start and e2q.start as true values.
  • For this click on the checkbox which is to the left of the parameter. Then select “true:start-value is used to initialize
  • Now enter the rest of the parameters as shown.




I have entered all the data here.
Cursor pointing on the system data block The system data block is used to set the System base and frequency.


In this case we can see it is set to 100 MVA as system base and frequency as 50 Hz.

Double click on the components to open parameter window. Now as the parameters and power flow data are set for all the components we are ready to simulate it.




Before simulating the model save it to a desired location.
Click on Check model Firstly let us check the generator model by clicking on the tick mark icon at the top of the model.


Here we can see there are 66 equations in the model and 66 variables for generator model.


And doing the same for Network model gives 142 equations and 142 variables.


From this we can say the models are solvable.

Close the Check Model windows Close the messages browser.
Click on the simulation setup Let us proceed to the simulation of the network model.


Click on the Simulation Setup icon at the top of the model.


This is to set up the solver and other parameters for the simulation.

Cursor on the simulation setup window. Here, I am using dassl method and tolerance of 1e-06.

The simulation time is set to 0 to 10 secs.


Make sure the "simulate" checkbox is checked before you click on "Ok".


Click on "Ok" which is at the bottom of the window and the simulation starts.

Cursor on the Simulation output window The simulation output window pops up.


This shows the compilation and running status of the simulation.


After the simulation is successful, close the simulation output window.

Show Plotting perspective We can see that the window has been changed to plotting perspective.


On the right hand side, we can see all the components are listed in the Variables browser tab.

Expand the model and each component in variables browser. Click on the Expand button which is on the left side of each component.

Now we can see all the variables under that particular component.

Now let me show you the voltage profile at the fault bus i.e. Bus 2
Show the variables browser Click on the Expand button on the left hand side of Bus 2.

We can see all the parameters of the bus.


Now click on the checkbox which is on the left hand side of the voltage parameter (V).

This plots the graph of Voltage at Bus 2. Let me close the Messages browser for better view.
The Y-axis unit is in Per unit and the X-axis unit is in seconds.


Here we can see the plot starts from 0 seconds and ends at 10 secs.

During the fault i.e. from the duration 0.5 to 0.57 secs, there is a huge dip in the voltage profile.
After the fault is cleared at 0.57 secs the voltage rises quickly.
Cursor on the voltage profile of Bus 2 plot. As the system is a controlled one, the voltage has less oscillations about its steady state value.

pa

The voltage settles down after about 3.9 secs.


In this system the steady state stability is achieved in less time after the fault is cleared.


This is due to the additional controls such as AVR and PSS used in the system.

Earlier in the series, the SMIB which was modelled, was an uncontrolled one.
Let’s compare the time taken by the uncontrolled system to that of a controlled one.


We can see the settling time is reduced.

This indicates that system regained its stability in less time with the help of controls like AVR and PSS.
Cursor on the voltage profile plot Here we can also see that the voltage doesn't drop down to zero at this Bus though it is the fault bus.


This is because of the fault impedance involved.

We can also view the voltage profiles of the other bus i.e B1.
After selecting B2 and B1 voltages, we can clearly see the voltage drop between the buses.


This is the drop caused by the impedance of the transmission lines.

Clear the plot Now clear these plots by unchecking the parameter checkboxes.
Show the plot of Delta curve of generator We can also plot the Delta curve of the generator.


This indicates whether the system is accelerating or stable.

Expand the generator and order61 For this, expand the generator and order61 which is a sixth order generator.

Here we can see all the variables of generator.

Click on the checkbox of delta Click on the checkbox of delta to plot its graph.
On the graph window From the graph we can see the system is accelerated when the fault occurs at 0.5secs
On the graph window The Delta then oscillates about the steady-state value after the fault is cleared.


It settles downs at 5.26 secs making the system stable.

Slide Number 14

Summary

This brings us to the end of this tutorial.


Let us now summarize.

In this tutorial, we have learnt:* How to simulate a controlled SMIB system

  • Plotting voltage profiles of buses
  • Plotting delta curve of the generator


Slide Number 15

Assignment

As an assignment:* We recommend that you open the SMIB system which was modelled in earlier tutorial.
  • Enter the required data, then simulate it.
  • Then explore the results obtained.


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 Textbook Companion project.

For more details, please visit these sites.

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.
Acknowledgements We acknowledge the contributions made by Prof. Luigi Vanfretti and Biswarup for the models used in this series.
Slide Number 24


Thanks

This is Usha signing off.


Thank you for joining.

Contributors and Content Editors

Kaushik Datta, Nancyvarkey, Vineeta