Elipse Power Elipse Power
Elipse Power Elipse Power
Elipse Power Training Course
E l i p s e Po w e r
Trainer : Jamie Hsu 許心潔
1. Create a new Domain
E l i p s e Po w e r
Step1. Check Create a new Domain and click OK.
E l i p s e Po w e r
Step2. Click Next >
E l i p s e Po w e r
Step3. Click Next >
E l i p s e Po w e r
Step4. Click (Y)
E l i p s e Po w e r
Step5. Click Next >
E l i p s e Po w e r
Step6. Click Next >
E l i p s e Po w e r
Step7. Click Next >
E l i p s e Po w e r
Step8. Click Next >
E l i p s e Po w e r
Step9. Click Next >
E l i p s e Po w e r
Step10. Click Finish
E l i p s e Po w e r
Step11. The New Domain is created
E l i p s e Po w e r
2. Build a Frame
E l i p s e Po w e r
Frame
Frames are objects that organize and structure the project interface, creating composed views for the user inside a Viewer or an Internet browser main window. Many times, an application requires only a main Screen, which is the doorway to the application. From then on, the user can browse other Screens, which will replace the first one, unifying the process view. However, it is possible to support more than one view in the same document or the same project.
E l i p s e Po w e r
Example
Step1.
Step2.
Step3.
Step1. Right click on “Viewer and Frame”
Step2. Select Insert Frame in
Stpe3. Select <New File>
Note:
E l i p s e Po w e r
Step3.Note: The different between Insert Frame in XXX.prj and New File?1.Insert in XXX.prj: The Frame you build only can be used when you open the file. 2.New File: The Frame can be used dependent and also for the future use so that you do not have to build again.
Stpe4. Rename for the Frame and save the file.
E l i p s e Po w e r
Step4.
Step5. Right click on the new Frame to select insert Split Horizontal or Split Vertical.
Step5.
E l i p s e Po w e r
Step5.
Step6. In the example, insert two Split Horizontal
E l i p s e Po w e r
Step7. Click the on the top and we can see its property so that we can edit the Name, SplitBorder, SplitResizable and SplitValue.
Step7. Click Here
E l i p s e Po w e r
Step8. Click centre and change its name to Bottom
Step8. Click Here
E l i p s e Po w e r
Step9. Right Click Viewer
Step10. Select Property
Step9.
E l i p s e Po w e r
Step10.
Step11. Change Initail Screen or Frame by clicking Step11.
E l i p s e Po w e r
Step12. Click Frame1
Step13. Click Paste
Step12.
E l i p s e Po w e r
Step13.
Step14. The initial Screen or Frame change to Frame1 and close the window.
Step15. Click “saves and runs domain”
Step14.
E l i p s e Po w e r
Step15.
Step16. After run domain, we can see the frame we build on the viewer, but the Split can be resizable and the Split Border , follow next to disable it.
E l i p s e Po w e r
Step17. Right Click on the top to edit the property.
Step18. Double click on the SplitBorder and SplitResizable to set to False, and the value set to 10%.
Step17. Click Here
E l i p s e Po w e r
Step18.
Step20. Double click on the SplitBorder and SplitResizable to set to False, and the value set to 80%.
Step19. Right Click on the Centre to edit the property.
Step19. Click Here
E l i p s e Po w e r
Step19. Click Here
Step22. Double click on the SplitBorder and SplitResizable to set to False.
Step21. Right Click on the Bottom to edit the property.
E l i p s e Po w e r
Step21. Click Here
Step23. Save all and run , the Frame is completed.
E l i p s e Po w e r
3. Insert Screens
E l i p s e Po w e r
ScreenThe Screen is the basic object for interfacing with the user, and it can contain several objects. Graphics inserted onto the Screen can be deleted, copied, moved, resized, grouped, or configured.
Top Screen
E l i p s e Po w e r
Main Screen Buttom Screen
Step1.Step2.
Step3.
Step1. Right click on “Screens”
Step2. Select Insert Screen in
Stpe3. Select <New File>
Note: The different between Insert
E l i p s e Po w e r
The different between Insert Screen in XXX.prj and New File?1.Insert in XXX.prj: The Screen you build only can be used when you open the file. 2.New File: The Screen can be used dependent and also for the future use so that you do not have to build again.
Stpe4. Rename for the Frame and save the file. Ex: Top
E l i p s e Po w e r
Step4.
Step5. The Configuring Screen size window will show up. Set to “Frame1.Splitter1.Top” where to be open to the Frame.
Step6. Check the “Set as initial Splitter’s Screen“, rename to Top and press OK.
Step5. Step6.
E l i p s e Po w e r
Step7. The screen fit to the top of frame.
E l i p s e Po w e r
Step8. Insert a new screen for Centre.
E l i p s e Po w e r
Step9. The Configuring Screen size window will show up. Set to “Frame1.Bottom.Centre” where to be open to the Frame.
Step10. Check the “Set as initial Splitter’s Screen“, rename to Centre and press OK.
Step9. Step10.
E l i p s e Po w e r
Step11. The screen fit to the Centre of frame.
E l i p s e Po w e r
Step12. Insert a new screen for Bottom.
E l i p s e Po w e r
Step13. The Configuring Screen size window will show up. Set to “Frame1.Bottom.Bottom” where to be open to the Frame.
Step14. Check the “Set as initial Splitter’s Screen“, rename Bottom and press OK.
Step13. Step14.
E l i p s e Po w e r
Step15. The screen fit to the Botttom of frame.
E l i p s e Po w e r
4. Edit Top Screen
E l i p s e Po w e r
On the top screen, we can insert:1. Company logo2. Button for open screens3. System Time4. User display5. Log out
E l i p s e Po w e r
Example
Insert LogoStep1. Click Picture.
Step2. Select on the top screen where you would like to insert the photo.
Step3. Open the photo file.
E l i p s e Po w e r
Logo is inserted
E l i p s e Po w e r
Insert System Time
Step1. Click Display
Step2. Select where to put the display
E l i p s e Po w e r
Step3. Select data type to “Date” for the value in display property
E l i p s e Po w e r
After then you can see the data type (Date) on the display
E l i p s e Po w e r
Step4. Right click on the Data
Step5. Select Insert
Step6. Select Panel
Setp7. Select Demo Tag
Insert a Demo Tag
E l i p s e Po w e r
Step8. The Adding Demo Tag window will show up and type “System Time” for the Name
Step9. Click OK
E l i p s e Po w e r
Step10. Click System Time in organize to edit property.
Step11. In the System Time property, select ”3-CurrentTime” for the Type.
E l i p s e Po w e r
Step12. Right click on the display
Step13. Click Property
E l i p s e Po w e r
Step15. Click to select Source for the Value.
Step14. Click Link on the tab
E l i p s e Po w e r
Step16. Click Server> Data> System Time> Value
Step17. Click Paste.
Step16.
E l i p s e Po w e r
Step17.
The Display value links to System Time by demo tag.
E l i p s e Po w e r
Step18. Click Formatting tab.
Step19. Select Time and the Type.
E l i p s e Po w e r
5. Insert IEC61850 Driver
E l i p s e Po w e r
Step1. Right click on Drivers and OPC
Step2. Insert I/O Driver in> <New File>
E l i p s e Po w e r
Step3. Type driver for the name and click (S).
E l i p s e Po w e r
Step4. Select IEC61850.dll and click (O).
E l i p s e Po w e r
Step5. Click Add.
E l i p s e Po w e r
Step6. The IEC61850 simulator is added.
E l i p s e Po w e r
Step7. Check Prefer Buffered Report Control Blocks.
Step8. Type C:\LD and Click OK.
E l i p s e Po w e r
Step9. Select IED00001 file
E l i p s e Po w e r
Step10. Keep Clicking and Dragging the file to the left side.
Step11. Click Close.
E l i p s e Po w e r
E l i p s e Po w e r
Step12. Click Run.
E l i p s e Po w e r
Step13. The I/O tag shows blue means the connection is sucessful.
E l i p s e Po w e r
Device
E l i p s e Po w e r
Device
6. Power Model
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Double Click PowerConfiguration
E l i p s e Po w e r
Step3. Click the screen and will show “Especify the Model” window.
Step2. Select Eletrical Modeler tab
E l i p s e Po w e r
Step3. Click Here
Step2.
Step4. Rename(Ex: PowerMoldel) for the file and Click (O)
E l i p s e Po w e r
Step5. The new Electrical Modeler opened.
E l i p s e Po w e r
Step6. Click Substation to insert in and then double click on the Substaton.
E l i p s e Po w e r
Step7. Insert a Busbar, Power Source, 2 Breaker and 2 Load.
E l i p s e Po w e r
Step8. Go to C:\Program Files (x86)\Elipse Software\Elipse Power\DemoPower
Step9. Copy PowerControls.lib and powerdisplay.lib these two file.
E l i p s e Po w e r
Step10. Click open file and paste under the project file.
Step11. Add these 2 .lib file by opening it.
E l i p s e Po w e r
Step12. Right click on PowerConfiguration, select Electrical Model and Import Screen Objects.
E l i p s e Po w e r
Step13. Select Substation.
Step14. Select which screen to import.
Step15. Check Import corresponding data object.
Step16. Click OK.
Step13.
E l i p s e Po w e r
Step14.
Step15.
Step16.
Step17. The power model and the data object are imported in the screen.
E l i p s e Po w e r
Data Object
Step18. Click Breaker1> Measurement> BreakerPosition> Scada
Step19. Click Tag in scada property to link to driver.
Step20. Click Driver1> IED00001> Device> DataSets > LLN0$DS2_Protection> Obj1CSWI1$ST$Pos >stVal> Value.
E l i p s e Po w e r
Step21. In the PowerConfiguration, Discrete tab can edit BreakerPosition conversion.
E l i p s e Po w e r
Step22. Run the Domain, we can see the Breaker1 links to IEC61850 simulator.
E l i p s e Po w e r
Breaker1
7. Add measurement
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right click on the Measurement.
Step2. Select insert> Analog Measurement.
E l i p s e Po w e r
Step3. Click AnalogMeasurement1 to rename to IL1.
E l i p s e Po w e r
Step4. Right click IL1 and select Add Scada.
E l i p s e Po w e r
Step5. Click IL1> Scada, In the property click tag to link to driver.
E l i p s e Po w e r
Step6. Click Driver1> IED00001> Device> DataSets> [LLN0$DS3_Measurements]>[I3pMMXU1$MX$A$phsA]> cVal> mag> f> Value.
Step7. Click Paste.
E l i p s e Po w e r
Step8. Click IL1.
Step9. Click ActiveSource to select “1- stScada source.”
E l i p s e Po w e r
Step10. Click MeasurementType to select Current A.
Step11. Save and Run the Domain
E l i p s e Po w e r
Step12. Click Breaker1 and select Measurements.
E l i p s e Po w e r
Step13. You can see the Analog tab shows IL1 measurement from the simulator.
E l i p s e Po w e r
Step14. Add IL2 and IL3 with same step.
E l i p s e Po w e r
8. Show Measurement Display
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right click on the screen to insert a display and select Insert> XPowerDisplay
E l i p s e Po w e r
Step2. Click on the display
E l i p s e Po w e r
Step3. Click Measurement in the display property.
Step4. Select measurement IL1 and Paste.
E l i p s e Po w e r
Step5. Save and Run the Domain, IL1 value show on the display.
E l i p s e Po w e r
9. Add Command to Breaker
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right Click on the Breaker1.
Step2. Select Add Commands.
E l i p s e Po w e r
Step3. Right click on Commands
Step4. Select Insert> Discrete Command.
E l i p s e Po w e r
Step5. Click DiscreteCommand1.
Step6. Click CommandType in the property.
Step7. Select BreakerPosition.
E l i p s e Po w e r
Step8. Right click on the DiscreteCommand.
Step9. Select Insert> Command Unit.
E l i p s e Po w e r
Step10. Click on the CommandUnit, renameit to Close and Open.
E l i p s e Po w e r
Step11. Click Close and select Close on the CommandName in the property.
Step12. Click on OperateWriteTag and select Driver1> IED00001> Device> Obj1CSWI1> CO> Pos and Paste.
E l i p s e Po w e r
Step13. Click on the OperateFeedbackTag, select Driver1> IED00001> Device> Obj1CSWI1> CO> Pos_Stat> Status> Value and Paste.
E l i p s e Po w e r
Step14. Click Open
Step15. Click on the CommandUnit and select to Open.
Step16. The OperateWriteTag and OperateFeedbackTag is same with Close.
E l i p s e Po w e r
Step17. In the PowerConfiguration select Commands tab.
Step18. Write below script for OnOperate.
E l i p s e Po w e r
Step19. Select OnOperateFinished.Step20. Click Add Script.
E l i p s e Po w e r
Step21. Write below script for OnOperateFinished.
E l i p s e Po w e r
Step22. Save and Run the Domain, then you can operate open and close.
E l i p s e Po w e r
10. Add Interlock to Breaker
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right click on Close.
Step2. Select Add Interlocks.
E l i p s e Po w e r
Step3. Right click InterlocksStep4. Select Insert> Interlock
E l i p s e Po w e r
Step5. Click Interlock to rename it to CloseStep6. Comparison select to 1-Closed.Step7. Measurement link to Sub1> Breaker1> Measurements> BreakerPosition
E l i p s e Po w e r
Step8. Add another interlock for open, the step same with close.Step9. ComparisonValue select to 0-Opened.
E l i p s e Po w e r
Step10. Save and Run the Domain, and we can see operate command, Close is interlocked when the status is closed.
E l i p s e Po w e r
11. Add Protection
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right click on Breaker1
Step2. Select Add Protection
E l i p s e Po w e r
Step3. Right click on Protections.
Step4. Select Insert> Protection.
E l i p s e Po w e r
Step5. In PowerConfiguration select Discrete tab.
Step6. Rename Protection Mode to “Protection Start.”
E l i p s e Po w e r
Step7. Click on Protection.
Step8. Select ProtectionType to TimeOvercurrent in property.
E l i p s e Po w e r
Step9. Click on ProtectionMode> Scada
Step10. Click Tag in the property.
Step11. Link to Driver1> IED00001> Device> I3GtPTOC1> ST> Str> general> Value and Paste.
E l i p s e Po w e r
Step12. Click on ProtectionOperate> Scada
Step13. Click Tag in the property.Step14. Link to Driver1> IED00001> Device> I3GtPTOC1> ST> Op> general>
Value and Paste.
E l i p s e Po w e r
Step15. Save and Run the Domain.
Step16. Click Breaker1 to see the Protection Status.
E l i p s e Po w e r
12. Create Database
E l i p s e Po w e r
Step1. Right Click on the Database.
Step2. Select Insert Database in.
Step3. Select <New File>
E l i p s e Po w e r
Step4. Rename for the database and click (S)
E l i p s e Po w e r
Step5. Right click on the DB1.
Step6. Select Properties.
E l i p s e Po w e r
Step7. Select 0-stAccess.
Step8. Type a name for the database and Test Connection.
E l i p s e Po w e r
Step9. The Connection test window will show up, click Yes.
E l i p s e Po w e r
13. Create AlarmServer
E l i p s e Po w e r
Step1. Right click Alarms.
Step2. Select Insert Alarm Server in.
Step3. Select <New File>.
E l i p s e Po w e r
Step4. Rename for the alarmserver and click (S).
E l i p s e Po w e r
Step5. Right Click on the AlarmServer1.
Step6. Select Properties.
E l i p s e Po w e r
Step7. Check the “Store alarm events in the database”.
Step8. Click “Use this database server” to select database.
E l i p s e Po w e r
Step9. Click DB1 and Paste.
E l i p s e Po w e r
Step10. Click Create table.
E l i p s e Po w e r
Step11. The “Table struct” window will show up and Click Yes.
E l i p s e Po w e r
14. Insert E3 Alarm
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Click E3 alarm icon on the toolbar.
Step2. Insert E3 alarm in Bottom screen.
E l i p s e Po w e r
Step3. Right E3 alarm and select Properties.
E l i p s e Po w e r
Step4. Click on Alarm Server name.
E l i p s e Po w e r
Step5. Click on AlarmServer1 and Paste.
E l i p s e Po w e r
Step6. The AlarmServer1 on the name.
Step7. The Filter by type select to Alarms and events.
E l i p s e Po w e r
15. Add Alarm to Breaker
E l i p s e Po w e r
Step1. Right click on the BreakerPosition.
Step2. Select Insert> Discrete Alarm.
E l i p s e Po w e r
Step3. Right click DiscreteAlarm.
Step4. Select Properties.
E l i p s e Po w e r
Step5. Select Type as 1-Event (or 0-Alarm)
E l i p s e Po w e r
Step6. Save and Run the Domain and we can see the Breaker event show on E3 alarm.
E l i p s e Po w e r
16. TrendChart with Treeview Filter
E l i p s e Po w e r
Example
E l i p s e Po w e r
Step1. Right click on screens.
Step2. Select Insert Screen in.
Step3. Select <New File>.
E l i p s e Po w e r
Step4. Type the name TrendChart and click (S).
E l i p s e Po w e r
Step5. Select Frame1.Splitter1.Bottom.Centre.
Step6. Rename to TrendChart and click OK.
E l i p s e Po w e r
Step7. The TrendChart screen is created.
E l i p s e Po w e r
Step8. Open the file to add PowerChartFilte.lib
E l i p s e Po w e r
Step9. Right click on the TrendChart screen.
Step10. Select Insert> powerchartfilter> powerchartfilter
E l i p s e Po w e r
Step12. Select Insert> PowerDataStruct.
Step11. Right click on the Data.
E l i p s e Po w e r
Step13. Click TrendChart and link DataStructureSource for the trend chart.
E l i p s e Po w e r
Step14. Select PowerDataStruct1 and Paste.
E l i p s e Po w e r
Step15. On the TrendChart screen, click Scripts tab
Step16. Select OnShow event and click add script.
E l i p s e Po w e r
Step17. Click AppBrowser, select powerchartfilter1 and MounTreeview and Paste.
E l i p s e Po w e r
Step18. Type ”= true”
E l i p s e Po w e r
Step19. Click command button and insert in top screen.
E l i p s e Po w e r
Step20. On the command button, click Script tab.
Step21. Click Open Screen.
E l i p s e Po w e r
Step22. Click on Open Screen, select TrendChart and Paste.
E l i p s e Po w e r
Step23. Select ”Centre” In Frame.
E l i p s e Po w e r
Step24. Click command button, and write a “TrendChart” for caption in property.
E l i p s e Po w e r
Step25. Save and Run the Domain, Click Trend Chart button then it will show up.
E l i p s e Po w e r
E l i p s e Po w e r