Difference between revisions of "OpenModelica-OpenIPSL/C2/Simulation-of-a-SMIB-using-OpenIPSL/English"
(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''' | |
− | {| | + | |- |
− | + | ||
− | || '''Visual Cue''' | + | |
− | || '''Narration''' | + | |
− | |- | + | |
|| '''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.''' | ||
− | |- | + | |- |
|| '''Slide Number 2 ''' | || '''Slide Number 2 ''' | ||
'''Learning Objectives''' | '''Learning Objectives''' | ||
− | || In this tutorial, we will learn:* | + | || 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''' | || '''Slide Number 3''' | ||
'''System Requirements''' | '''System Requirements''' | ||
− | || To record this tutorial, I am using* | + | || To record this tutorial, I am using* '''OpenModelica Version 1.12.0 '''and |
− | * | + | * '''Linux OS 16.04''' |
Line 34: | Line 27: | ||
− | 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-* '''Windows''' |
− | * | + | * '''Mac OS X '''or |
− | * | + | * '''FOSSEE OS '''on '''ARM'''. |
− | |- | + | |- |
|| '''Slide Number 4''' | || '''Slide Number 4''' | ||
Line 46: | Line 39: | ||
− | || To follow this tutorial, you should have knowledge of:* | + | || To follow this tutorial, you should have knowledge of:* Power systems |
− | * | + | * Modelling using '''OpenModelica''' |
Line 54: | Line 47: | ||
For relevant '''OpenModelica '''tutorials, please visit our website. | For relevant '''OpenModelica '''tutorials, please visit our website. | ||
− | |- | + | |- |
|| '''Slide Number 5Prerequisites''' | || '''Slide Number 5Prerequisites''' | ||
− | || Earlier in this series, we have already seen * | + | || Earlier in this series, we have already seen * How to connect a controlled '''SMIB system ''' |
− | |- | + | |- |
|| '''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.''' | ||
− | |- | + | |- |
|| | || | ||
|| I have already opened the '''SMIB system'''. | || I have already opened the '''SMIB system'''. | ||
− | |- | + | |- |
|| '''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.''' | ||
− | |- | + | |- |
|| '''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. |
− | * | + | * 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. |
Line 90: | Line 83: | ||
− | |- | + | |- |
|| | || | ||
|| I have entered all the data here. | || I have entered all the data here. | ||
− | |- | + | |- |
|| 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'''. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| | || | ||
Line 111: | Line 104: | ||
|| Before simulating the '''model''' save it to a desired location. | || Before simulating the '''model''' save it to a desired location. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| Close the Check Model windows | || Close the Check Model windows | ||
|| Close the '''messages browser'''. | || Close the '''messages browser'''. | ||
− | |- | + | |- |
|| 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'''. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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''' | ||
− | |- | + | |- |
|| 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).''' | ||
− | |- | + | |- |
|| | || | ||
|| 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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. | ||
− | |- | + | |- |
|| 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'''. | ||
− | |- | + | |- |
|| | || | ||
|| 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. | ||
|- | |- | ||
− | | | + | | | |
− | | | + | | | 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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'''. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| | || | ||
|| 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'''. | ||
− | |- | + | |- |
|| | || | ||
|| 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'''. | ||
− | |- | + | |- |
|| Clear the plot | || Clear the plot | ||
|| Now clear these plots by unchecking the '''parameter''' checkboxes. | || Now clear these plots by unchecking the '''parameter''' checkboxes. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| 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'''. | ||
− | |- | + | |- |
|| 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. | ||
− | |- | + | |- |
|| 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 | ||
− | |- | + | |- |
|| 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'''. | ||
− | |- | + | |- |
|| '''Slide Number 14''' | || '''Slide Number 14''' | ||
Line 267: | Line 260: | ||
Let us now summarize. | Let us now summarize. | ||
− | In this tutorial, we have learnt:* | + | 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''' | || '''Slide Number 15''' | ||
Assignment | Assignment | ||
− | || As an 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''' | || '''Slide Number 16''' | ||
Power System Simulation Project | Power System Simulation Project | ||
− | || | + | || 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] | ||
− | |- | + | |- |
|| '''Slide Number 17''' | || '''Slide Number 17''' | ||
Line 298: | Line 291: | ||
Please download and watch it. | Please download and watch it. | ||
− | |- | + | |- |
|| '''Slide Number 18''' | || '''Slide Number 18''' | ||
Line 305: | Line 298: | ||
Please contact us. | Please contact us. | ||
− | |- | + | |- |
|| '''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 | ||
|- | |- | ||
− | | | + | | | '''Slide Number 20''' |
Forum for specific questions: | Forum for specific questions: | ||
− | | | + | | | Please post your general queries in this forum |
− | |- | + | |- |
|| '''Slide Number 21''' | || '''Slide Number 21''' | ||
Line 322: | Line 315: | ||
Textbook Companion Project | Textbook Companion Project | ||
− | || | + | || The '''FOSSEE ''' team coordinates the '''Textbook Companion ''' project. |
For more details, please visit these sites. | For more details, please visit these sites. | ||
− | |- | + | |- |
|| '''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. | ||
− | |- | + | |- |
|| '''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. | ||
− | |- | + | |- |
|| '''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. | ||
− | |- | + | |- |
|| '''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
|
In this tutorial, we will learn:* How to simulate a controlled SMIB system
|
Slide Number 3
|
To record this tutorial, I am using* OpenModelica Version 1.12.0 and
Also use the latest version of OpenIPSL to avoid compatibility issues. I am using OpenIPSL version 1.5.0.
|
Slide Number 4
Prerequisites
|
To follow this tutorial, you should have knowledge of:* Power systems
For relevant OpenModelica tutorials, please visit our website. |
Slide Number 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.
|
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.
|
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.
|
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.
|
Close the Check Model windows | Close the messages browser. |
Click on the simulation setup | Let us proceed to the simulation of the network model.
|
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.
|
Cursor on the Simulation output window | The simulation output window pops up.
|
Show Plotting perspective | We can see that the window has been changed to plotting perspective.
|
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.
|
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.
| |
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.
|
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.
| |
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.
|
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.
| |
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.
|
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.
|
Slide Number 14
Summary |
This brings us to the end of this tutorial.
In this tutorial, we have learnt:* How to simulate a controlled SMIB system
|
Slide Number 15
Assignment |
As an assignment:* We recommend that you open the SMIB system which was modelled in earlier tutorial.
|
Slide Number 16
Power System Simulation Project |
The FOSSEE team invites contributions to develop power system networks using OpenIPSL library.
|
Slide Number 17
About the Spoken Tutorial Project |
The video at the following link summarises the Spoken Tutorial project.
Please download and watch it. |
Slide Number 18
Spoken Tutorial Workshops |
We conduct workshops using Spoken Tutorials and give certificates.
Please contact us. |
Slide Number 19
Forum slide |
Please post your timed queries in this forum |
Slide Number 20
Forum for specific questions: |
Please post your general queries in this forum |
Slide Number 21
|
The FOSSEE team coordinates the 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.
|
Slide Number 23
|
Spoken Tutorial and FOSSEE projects are funded by NMEICT, MHRD, Government of India. |
Acknowledgements | We acknowledge the contributions made by Prof. Luigi Vanfretti and Biswarup for the models used in this series. |
Slide Number 24
|
This is Usha signing off.
|