17
Operator Training Simulator (OTS) logic development using LUA programming language scripts Eng. Vítor Donaduzzi Federal University of Rio Grande do Sul – Brazil The 13 th International EPCC Workshop Bled, Slovenia May 17-20, 2015

Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

  • Upload
    others

  • View
    20

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Eng. Vítor Donaduzzi

Federal University of Rio Grande do Sul – Brazil

The 13th International EPCC Workshop

Bled, SloveniaMay 17-20, 2015

Page 2: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Brazilian Electrical Power System

13th International EPCC Workshop Bled, Slovenia, May 2015

Page 3: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

OTS in Brazil

-Many companies are using systems for operatortraining;-Some companies have a dedicated training room;-Interface: panels or diagrams;-Focus: substation operator training and systemdispatcher;-Developed for electrical system transmission.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 4: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

OTS

-Training-Certification-Recycling

-Created a model of Substation for simulation:*1 power transformer of 330/145 KV*1 transmission line of 330 kV*2 transmission line of 145 KV

-Uses an open source system.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 5: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Architecture OTS

13th International EPCC Workshop Bled, Slovenia, May 2015

Web Server Viewer

Data Base

- Point list- Point Calc

Script

-Lua-PHP

Screen

Alarms

Events

Others

The graphic interface (drawing) was developed in SVG language.

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 6: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Graphic Interface

-Screen Viewer-Alarms Viewer-Events Viewer-Historical-Others

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 7: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Data Base

-Point List: Substation point list. Example:*State of circuit breakers and switches*Measures*Commands*Protection events

-Calc List:Calculations for active power, reactive power, apparent power, and others.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 8: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Lua Script

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 9: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Lua

-Lua was created at a Brazilian University.-Lua is a Languagem for games and automation applications; -Create many functions for control or devices; -Create functions for interlocking, lockout relay control, tap control; -Create a script in Lua Language for application;

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 10: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Functions

-Processing Module (3 Keys);-Interlocking Switch;-Interlocking Circuit Breaker;-Processing Module Transformer;-Lockout relay(Bar and Transformer);-Others.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 11: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Example

-Interlocking Switch

-Seven entries: *State switch (this case 28)*State circuit-breaker (24-1 and 4)*State key local/remote 28*State of other switches*Switch alarms

-Result: the locking or unlocking of the switch command.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 12: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Example

13th International EPCC Workshop Bled, Slovenia, May 2015

OR

Switch 28: Command unlocking!

Operator Training Simulator (OTS) logic development using LUA programming language scripts

?

Page 13: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Example

-Interlocking Switch

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 14: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Objective

13th International EPCC Workshop Bled, Slovenia, May 2015

SCADA/HMI OTS/DTS

Script (Lua)

=

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 15: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Results

-High performance of the developed logic in LuaLanguage;-Easy to create new logics and controls;-Simplified expansion of the substation;-Software Reuse.

Problem in power flow: instability of measures.

Focus: solutions for power flow, create a logical controlfor protection transfer and others, new arrangements,simulation application in company.

13th International EPCC Workshop Bled, Slovenia, May 2015

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Page 16: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Vítor DonaduzziElectrical [email protected]://modosimul.wordpress.com

Federal University of Rio Grande do Sul – Brazil

The 13th International EPCC Workshop

Bled, SloveniaMay 17-20, 2015

Page 17: Operator Training Simulator (OTS) logic development using ...epcc-workshop.net/Presentations/EPCC2015-Presentation_3EMS_Do… · Operator Training Simulator (OTS) logic development

Operator Training Simulator (OTS) logic development using LUA programming language scripts

Thank you!

Federal University of Rio Grande do Sul – Brazil

The 13th International EPCC Workshop

Bled, SloveniaMay 17-20, 2015

Eng. Vítor Donaduzzi