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...")
 
 
(7 intermediate revisions by 2 users not shown)
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:
* <div style="margin-left:0.5in;margin-right:0in;">Plotting''' voltage profiles''' of '''buses''' </div>
+
* How to '''simulate''' a '''controlled SMIB system'''
* <div style="margin-left:0.5in;margin-right:0in;">Plotting '''delta curve '''of the generator</div>
+
* Plotting''' voltage profiles''' of '''buses'''  
 
+
* 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
* <div style="margin-left:0.5in;margin-right:0in;">'''Linux OS 16.04'''</div>
+
 
+
 
+
  
Also use the latest version of OpenIPSL to avoid compatibility issues. I am using OpenIPSL version 1.5.0.
+
* '''OpenModelica''' version 1.12.0 and
 +
* '''Linux OS''' 16.04
  
 +
Also use the latest version of '''OpenIPSL''' to avoid compatibility issues.
  
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>
+
I am using '''OpenIPSL version 1.5.0'''.
* <div style="margin-left:0.5in;margin-right:0in;">'''Mac OS X '''or </div>
+
* <div style="margin-left:0.5in;margin-right:0in;">'''FOSSEE OS '''on '''ARM'''.</div>
+
  
 +
The process demonstrated in this tutorial is identical to other '''OS''' such as-
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
* '''Windows'''
 +
* '''Mac OS X '''or
 +
* '''FOSSEE OS '''on '''ARM'''.
 +
|-  
 
|| '''Slide Number 4'''
 
|| '''Slide Number 4'''
  
 
'''Prerequisites'''
 
'''Prerequisites'''
  
 +
|| To follow this tutorial, you should have knowledge of:
  
 
+
* '''Power systems'''
|| To follow this tutorial, you should have knowledge of:* <div style="margin-left:0.5in;margin-right:0in;">Power systems</div>
+
* '''Modelling''' using '''OpenModelica'''
* <div style="margin-left:0.5in;margin-right:0in;">Modelling using '''OpenModelica'''</div>
+
 
+
 
+
 
+
 
+
  
 
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 5'''
|| 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>
+
'''Prerequisites'''
 
+
|| 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.  
+
 
+
  
 
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'''.
+
|| We 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'''.
  
 
+
* For this, navigate to '''Generator''' tab.  
* <div style="margin-left:0.5in;margin-right:0in;">For this navigate to '''Generator''' tab. </div>
+
* Open '''Generator parameter''' window.
* <div style="margin-left:0.5in;margin-right:0in;">Open '''Generator parameter''' window. Let me enter the data for generator model. </div>
+
* We can see that there are '''Initialisation data, Power flow data '''and '''Machine parameters.'''
* <div style="margin-left:0.5in;margin-right:0in;">For this, navigate to generator tab, Open '''Generator parameter''' window</div>
+
* Refer to the '''Additional Material''' section for the values to be entered.  
* <div style="margin-left:0.5in;margin-right:0in;">We can see that there are '''Initialisation data, Power flow data '''and '''Machine parameters.'''</div>
+
* I am entering the values here and initialising '''e one q start''' and '''e tow qstart''' as''' true values'''.
* <div style="margin-left:0.5in;margin-right:0in;">Refer to the '''additional material''' section for the values to be entered. </div>
+
* For this, click on the checkbox which is to the left of the '''parameter'''.  
* <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>
+
* Then select “'''true start value is used to initialize'''”
* <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>
+
* Now enter the rest of the '''parameters''' as shown.
* <div style="margin-left:0.5in;margin-right:0in;">Now enter the rest of the '''parameters''' as shown.</div>
+
|-  
 
+
 
+
 
+
 
+
 
+
 
+
|- 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'''.
  
 
+
In this case, we can see it is set to '''100 MVA''' as '''system base''' and '''frequency''' as '''50 Hertz'''.  
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;"
+
|-  
 
||  
 
||  
 
+
|| 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'''.  
 
  
 
Here we can see there are 66 equations in the '''model''' and 66 variables for '''generator 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.  
 
And doing the same for '''Network model''' gives 142 equations and 142 variables.  
 
  
 
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 '''Message 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.'''
 
  
 
Click on the '''Simulation Setup '''icon at the top of the '''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'''.
 
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 '''e to the power of minus 6'''.
  
 
The '''simulation '''time is set to 0 to 10 secs.
 
The '''simulation '''time is set to 0 to 10 secs.
 
  
 
Make sure the "'''simulate'''" checkbox is checked before you click on "'''Ok'''".
 
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.
 
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.
 
  
 
This shows the compilation and running status of the '''simulation'''.
 
This shows the compilation and running status of the '''simulation'''.
 
  
 
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'''.
 
+
  
 
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,''' that is '''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 175: Line 138:
 
We can see all the '''parameters''' of the '''bus'''.
 
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.'''
 +
|-
 +
||
 +
|| This plots the graph of '''Voltage''' at '''Bus 2'''.
  
Now click on the checkbox which is on the left hand side of the '''voltage parameter (V).'''
+
Let me close the '''Message''' 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;"
+
|-  
 
||  
 
||  
|| 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'''.
|- 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'''.
+
 
+
  
 
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'''.
 
+
pa
+
  
 
The '''voltage''' settles down after about 3.9 secs.
 
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.
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'''.
 
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'''.
 
+
  
 
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'''.
 
  
 
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'''.
  
 
+
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 '''order 61''' 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.5 secs.
|- 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.
 
  
 
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'''
+
||  
 
+
Summary
+
 
|| This brings us to the end of this tutorial.
 
|| This brings us to the end of this tutorial.
 +
|-
 +
|| '''Slide Number 6'''
  
 +
'''Summary'''
 +
|| Let us now summarize.
  
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 7'''
  
In this tutorial, we have learnt:* <div style="margin-left:0.5in;margin-right:0in;">How to simulate a controlled SMIB system</div>
+
'''Assignment'''
* <div style="margin-left:0.5in;margin-right:0in;">Plotting voltage profiles of buses </div>
+
|| As an assignment:
* <div style="margin-left:0.5in;margin-right:0in;">Plotting delta curve of the generator</div>
+
* We recommend you to open the '''SMIB system''' which was modelled in earlier tutorial.
 +
* Enter the '''required data''', then '''simulate''' it.
 +
* Then explore the results obtained.
 +
|-  
 +
|| '''Slide Number 8'''
  
 +
'''Power System Simulation Project'''
 +
|| The FOSSEE team invites contributions to develop '''power system networks''' using '''OpenIPSL library.'''
  
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
For more details, please visit this website.
|| '''Slide Number 15'''
+
 
+
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>
+
* <div style="margin-left:0.5in;margin-right:0in;">Enter the '''required data''', then '''simulate''' it.</div>
+
* <div style="margin-left:0.5in;margin-right:0in;">Then explore the results obtained.</div>
+
 
+
 
+
|- 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'''
+
 
+
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>
+
 
+
 
+
For more details, please visit this site.
+
  
 
[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 9'''
  
About the Spoken Tutorial Project
+
'''About the Spoken Tutorial Project'''
 
|| The video at the following link summarises the Spoken Tutorial project.
 
|| The video at the following link summarises the Spoken Tutorial project.
  
 
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 10'''
  
Spoken Tutorial Workshops
+
'''Spoken Tutorial Workshops'''
 
|| We conduct workshops using Spoken Tutorials and give certificates.
 
|| We conduct workshops using Spoken Tutorials and give certificates.
  
 
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 11'''
  
Forum slide
+
'''Forum slide'''
|| 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 12'''
  
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 13'''
  
 
+
'''Textbook Companion Project'''
 
+
|| The '''FOSSEE ''' team coordinates the '''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>
+
  
 
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 14'''
  
 
+
'''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 website.
 +
|-
 +
|| '''Slide Number 15'''
  
For more details, please visit this site.
+
'''Acknowledgements'''
|- style="background-color:#ffffff;border:1pt solid #000000;padding-top:0in;padding-bottom:0in;padding-left:0.0528in;padding-right:0.0528in;"
+
|| '''Spoken Tutorial '''and '''FOSSEE '''projects are funded by '''NMEICT, MHRD''', Government of India.
|| '''Slide Number 23'''
+
|-  
 +
|| '''Slide Number 16'''
  
 
+
'''Acknowledgements'''
 
+
 
+
Acknowledgements
+
|| '''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'''
+
 
|| 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 17'''
 
+
 
+
Thanks
+
|| This is Usha signing off .
+
  
 +
'''Thanks'''
 +
|| This is Usha signing off.
  
 
Thank you for joining.  
 
Thank you for joining.  
 
|-
 
|-
 
|}
 
|}

Latest revision as of 08:47, 9 October 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 to other OS 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

Prerequisites

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.

We 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.
  • 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 e one q start and e tow qstart 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 Hertz.

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 Message 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 e to the power of minus 6.

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, that is 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.

This plots the graph of Voltage at Bus 2.

Let me close the Message 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.

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.

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 order 61 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.5 secs.
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.

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

Summary

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 7

Assignment

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

Power System Simulation Project

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

For more details, please visit this website.

https://om.fossee.in/powersystems

Slide Number 9

About the Spoken Tutorial Project

The video at the following link summarises the Spoken Tutorial project.

Please download and watch it.

Slide Number 10

Spoken Tutorial Workshops

We conduct workshops using Spoken Tutorials and give certificates.

Please contact us.

Slide Number 11

Forum slide

Please post your timed queries in this forum.
Slide Number 12

Forum for specific questions:

Please post your general queries in this forum.
Slide Number 13

Textbook Companion Project

The FOSSEE team coordinates the Textbook Companion project.

For more details, please visit these sites.

Slide Number 14

Lab Migration Project

The FOSSEE team helps migrate commercial simulator labs to OpenModelica.

For more details, please visit this website.

Slide Number 15

Acknowledgements

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

Acknowledgements

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

Thanks

This is Usha signing off.

Thank you for joining.

Contributors and Content Editors

Kaushik Datta, Nancyvarkey, Vineeta