REGER Project Electrical Energy Distribution Monitoring Presented by Sergio Sancovschi (Chemtech)
2
Presentations 3
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
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: 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 5
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
REGER Project 7
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
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
The PI System Architecture RxSR01 PI Server 2010 SP1 AF Server 2012 SQL Express 2008 R2 RxSR02 PI Server 2010 SP1 SAGE-ISR / MDS (90 days) RBSH01 PI Server 2010 SP1 AF Server 2012 AF Client 2010 R2 RJSH01 PI Server 2010 SP1 SAGE-HIS (long periods of time) RxSQ01 SharePoint Server 2010 PI SQL Commander 2012 PI AF Client 2012 PIOLEDB Enterprise 2012 MS SQL Server 2008 R2 RxSQ02 MS SQL Server 2008 R2 PI SQL Commander AF Server 2012 SharePoint Reporting Services SAGE-HIS 10
MCN (Manufacturing Control Network) Health Monitor 11
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
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
14
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
16
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
18
19
20
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
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
Web Reports Kerberos Authentication Kerberos Delegation Kerberos Delegation SSRS Server PI Server Client Authentication SSRS Authentication PI System Authentication 23
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
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
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
Web Reports Example Retrieving Electric Power data by Brazilian region Graphic results per Brazilian states Measured vs. Target values Max & Min values per period 27
Web Reports Example State Charge Measured Target Max / Min Max Time Min Time 28
Web Reports Example 29
30
31
Unavailability percent of each interchange measurement Measurement Region Shutdown cause # Times Total Period 32
Power Generation Hydro Power Plant Power Plant Measured Target Deviation Thermo Power Plant Power Plant Measured Target Deviation Total Generation 33
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
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
Results: Telecomunication Services Performance Report Distribution Agent Availabiliy Status Acceptable Acceptable Acceptable Not Acceptable Acceptable Acceptable Acceptable Acceptable Acceptable Acceptable Not Acceptable Acceptable Acceptable Acceptable 36
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
Sergio Sancovschi Senior Engineer Chemtech, A Siemens Business sergio.sancovschi@chemtech.com.br 38
Please don t forget to Complete the online survey for this session eventmobi.com/vcampus13 Share with your friends #VCL13 39
Brought to you by