40
© Copyright 2013 OSIsoft, LLC. Presented by REGER Project Electrical Energy Distribution Monitoring Sergio Sancovschi (Chemtech)

REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

Embed Size (px)

Citation preview

Page 1: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Presented by

REGER Project – Electrical

Energy Distribution Monitoring

Sergio Sancovschi (Chemtech)

Page 2: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 2

Page 3: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Presentations

3

Page 4: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Sergio Sancovschi

• Chemical Engineer, UFRJ, 2004;

• Senior Engineer at Chemtech, a Siemens Business;

• Industrial IT projects since 2003;

• Experience with most PIMS suppliers;

• Software Development: MES, System Integration, Shift Book, Support Team, etc;

• C#, ASP.NET, SQL Server, Oracle, ETL, BI, etc.

• MCSA: SQL Server 2012

4

Page 5: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Chemtech• Engineering Company since 1989;

• A Siemens Business;

• 7 offices in Brazil (RJ, SP, BH, SSA, NAT e REC);

• Projects in more then 20 countries;

• Business areas:

5

O&G – Offshore/Onshore: Upstream, Midstream and Downstream

GTD: Power Generation, Transmission and Distribution.

C&P: Chemical And Petrochemical

M&M: Mining (iron ore and fertilizers) and Steel

F&B: Food and Beverages

Green Portfolio: Biodiesel, renewable energy sources and environmental projects, energy efficiency

Page 6: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

ONS (Power System National Operator)

• Coordinating and Controlling the power generation

and transmission facilities

• Under supervision and regulation of the Brazilian

Electric Energy National Agency

• Generation analysis at the main power plants

• Inspection of all the distribution agencies in order to

track the energy availability and to monitor assets.

6

Page 7: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

REGER Project

7

Page 8: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

REGER – Project

• REGER – Power Management Network of ONS

• The main purpose of this project is to recreate

the ONS database, and to create a system to

monitor and analyze the available data

• Improve the electric power network monitoring,

controlling the power generation and distribution

8

Page 9: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

REGER – Project

• Need for a more reliable system

• High Availability for acquiring data and publish information

• Almost 10 MI tags

• SharePoint as the main portal of information

• Reports and displays for current and historical data

9

Page 10: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

The PI System Architecture

10

SAGE-ISR / MDS (90 days)

PI Server 2010 SP1

AF Server 2012

SQL Express 2008 R2

PI Server

2010 SP1

RxSR01 RxSR02

PI Server 2010 SP1

AF Server 2012

AF Client 2010 R2

PI Server

2010 SP1

RBSH01 RJSH01

SAGE-HIS (long periods of time)

SharePoint

Reporting Services

SharePoint Server 2010

PI SQL Commander 2012

PI AF Client 2012

PIOLEDB Enterprise 2012

MS SQL Server 2008 R2RxSQ01

SAGE-HIS

MS SQL Server 2008 R2

PI SQL Commander

AF Server 2012

RxSQ02

Page 11: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

MCN (Manufacturing Control

Network) Health Monitor

11

Page 12: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

MCN Health Monitor

• Control the assets status that are involved with the system monitoring

• Prevent data loss and operation fails

• Main monitored assets: Servers, consoles, networks, firewalls and switches

• All the information centralized in PI and organized in hierarchies using PI AF

• Reports and Displays to monitor assets availability

12

Page 13: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

MCN Health Monitor Interfaces

• IT Monitor Tags created in PI SMT using the following PI interfaces: – PI Perfmon – Read Windows Performance Monitor

variables remotely, such as Available Memory and CPU Usage

– PI SNMP – Similar to PI Perfmon, but used to read data from Linux servers and Switches

– PI Ping – Read the machines Ping values, indicating if the asset is available or not (turned off / outside the network)

13

Page 14: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 14

Page 15: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

PI Asset Framework

• PI AF for organize the hierarchical structure of ONS assets

• Simplifying queries, displays and Reports

• Templates to model information for each type of asset or hierarchical level, and automatic tag creation.

• Queries re-use for different assets with the same template

• PI AF access by PI OLEDB Enterprise to use in SQL Server Reporting Services solutions

15

Page 16: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 16

Page 17: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Monitoring Displays

• Developed using PI Process Book with IT Monitor Tags

• Real time and history data of servers, switches and networks

• Using of PI AF context for display re-using

• Viewing by PI Process Book or SharePoint, with PI ActiveView

• Drill-Down between displays of different monitoring levels using VBA

17

Page 18: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 18

Page 19: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 19

Page 20: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 20

Page 21: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports

• XML based reports using the SQL Server Reporting Services platform

• Developed using Microsoft Visual Studio.NET

• PI OLEDB Enterprise to access data from PI

System and PI AF

• Published and executed in SharePoint

• Kerberos Authentication Security

21

Page 22: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Kerberos Authentication

• Enable the Reporting Services account to be

delegate user authentication

• Easy to set up, but it's also easy to mess up

• Data security at the database level with WIN (Let

PI System itself secure its own data)

• The SSRS service impersonates the user with PI

System access

22

Page 23: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Kerberos Authentication

23

Client Authentication SSRS Authentication PI System Authentication

SSRS Server PI Server

Kerberos Delegation Kerberos Delegation

Page 24: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Security Configuration

• On AD, set the SSRS user to use the delegation

option:

– “Account is trusted for delegation”

• It Allows a service running under this account to

perform operations on behalf of other user

• The SSRS will impersonate a client to gain

access to PI System

24

Page 25: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Security Configuration

• Creation of Service Principal Names (SPNs) for the SSRS service account

• SPNs relate services on a server with a specific domain account

• Use the Setspn.exe command-line tool

• Configure the SPNs for PIServer service account and AFServer service. Example:

C:\>setspn -a PIServer/RRSR01 REGER\srv.sql-sp

C:\>setspn -a AFServer/RRSR01 REGER\srv.sql-sp

25

Page 26: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Security Configuration

• To check which SPNs are associated with a specific domain account, the following command should be used:

C:\> setspn.exe –L REGER\srv.sql-sp

• Need to check for duplicate registration of SPNs with the

command:C:\>setspn -x

• If it is found duplicates, the duplicated must be deleted,

using the following command:C:\>setspn -d PIServer/RRSR01 REGER\srv.sql-sp

C:\>setspn -d AFServer/RRSR01 REGER\srv.sql-sp

26

Page 27: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Example

27

• Retrieving Electric Power data by

Brazilian region

• Graphic results per Brazilian states

• Measured vs. Target values

• Max & Min values per period

Page 28: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Example

28

Measured Target Max / Min

Max MinTime Time

State

Charge

Page 29: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Example

29

Page 30: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 30

Page 31: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 31

Page 32: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 32

Unavailability percent of each interchange measurement

Measurement Region Shutdown cause # Times Total Period

Page 33: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 33

Power Generation

Power PlantMeasured Target Deviation

Power PlantMeasured Target Deviation

Hydro Power Plant

Thermo Power Plant

Total Generation

Page 34: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Performance

• This project includes a report that shows the availability of the energy distribution agencies and the periods that the agencies assets were unavailable.

• Our first try was to query the archive data in order to check when the agency status tag changes to “bad”, and when it came back to “good”.

• Because of the huge amount of data in archive table, the query execution took some time to bring all the data and analyze it.

34

Page 35: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Web Reports – Performance

• As a suggestion of OSISoft support, we upgraded the PI System to the 2012 version in order to use the PI Event Frames to register unavailable periods.

• For each agency status tag, it was created an event in PI Event Frames, starting events when the tag value is “bad”, and finishing it when the tag value is “good”

• It was used the PI OLEDB Enterprise to retrieve those events and calculate the availability of the agencies and show it using the SSRS.

35

Page 36: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC. 36

Distribution Agent Availabiliy Status

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Acceptable

Not Acceptable

Acceptable

Not Acceptable

Telecomunication Services Performance Report

Results:

Page 37: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Project Results

• All Data concentrated in PI System with High Availability

• Assets structured in hierarchies by PI AF, simplifying the reports and displays elaboration and visualization

• Re-use of queries, displays and reports by assigning templates to the assets by similarity

• Reports performance optimization by events creation using the PI Event Frames;

• All data available in SharePoint to all company hierarchy

37

Page 38: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Sergio Sancovschi

Senior Engineer

Chemtech, A Siemens Business

[email protected]

38

Page 39: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Please don’t forget to…

Complete the online survey for

this session

eventmobi.com/vcampus13

Share with your friends

39

#VCL13

Page 40: REGER Project Electrical Energy Distribution Monitoringcdn.osisoft.com/corp/en/media/presentations/2013/vCampusLive2013/... · REGER Project –Electrical Energy Distribution Monitoring

© Copyr i gh t 2013 OSIso f t , LLC.

Brought to you by