About the Common Information Model (CIM) Standard

Download Report

Transcript About the Common Information Model (CIM) Standard

COMMON INFORMATION MODEL (CIM)
RNI 3.1 SP1
© 2013 Sensus. All rights reserved.
C-PAMI-WGE-0006-01
Module Goals
2
The goals of this module are to:
Provide an overview of the Common Information
Model (CIM) specification and the Sensus
implementation of CIM v1.1 that supports:
• Collection of electric meter reading data for
utility services billing and engineering analysis
• Remote connection and disconnection of
electric meters, and
• Notification of tamper events on electric
meters
Section One
3
Understanding the
Common Information
Model (CIM)
Section Objectives
4
Following this section, you should be able to:
1. State the primary purpose of the CIM standard
in the utility industry.
2. Describe the difference between a CIM
operation, function, and gateway.
3. Identify the CIM functions that Sensus
supports.
4. Differentiate between the two message
exchange patterns.
5. Describe how errors are reported.
6. Identify Sensus-provided integrator resources.
About the Common Information Model (CIM) Standard
Understanding CIM
• Standard to exchange meter data among enterprise
application software commonly used in utility
companies
– Provides a common way to represent the computing and
networking elements that make up a business' systems,
and the relationships between theseelements
• Intended to assist vendors and utilities in
development of interfaces that:
– Enable software products from various vendors to
interoperate without extensive custom interface
development
– Are independent of platform or database structure
5
Brief History of the Standard
Understanding CIM
• Created by the Unified Information company
• Developed and submitted to IEC by the Control
Center Application programming Interface (CCAPI)
Task Force, a working group supported by the Electric
Power Research Institute (EPRI)
• Standard adopted in 2001
• Gas and Water utility service support added
• Part 9 covering interfaces for meter reading and
control approved August 2009: IEC 61968-9
Edition 1.0 2009
• Maintained by working group 14 of Technical
Committee 57 of the IEC (IEC TC57 WG14)
6
Key CIM Terminology
Understanding CIM
• Standard defined in terms of Operations
– Correlate to individual tasks to perform
• Collection of related operations = Function
• Collection of related functions = Gateway
– Interacts with the RNI
– Sensus CIM gateway = CIMv1 gateway
7
Graphical Representation of CIM
Understanding CIM
Operation
Operation
Operation
Operation
Operation
Function
Function
Gateway
8
Operation
Understanding CIM Operation
Understanding CIM
• Sensus implementation uses the publish/subscribe
model
• Publishers create and send messages
– For example: on-demand meter reads or power status
– Zero or more subscribers receive the message
• Subscribers register to receive messages
• Neither the publisher nor the subscriber knows
about the other
– Like an anonymous bulletin board
• Subscribers must remain continuously active to
receive messages
9
CIM Communications
Understanding CIM
•
•
•
•
Exchange messages via Java Message Service (JMS)
JMS message body contains CIM message
CIM message contains CIM header
CIM header contains:
– Correlation Id used to associate requests with response
– Verb/noun elements used to characterize the message
• Messages are exchanged using specified patterns
10
CIM Message Exchange Patterns
Understanding CIM
Pattern
Request-Response
Autonomous Notification
Exchange type
Asynchronous
Asynchronous
Result handling
Contained in one or more
responses
N/A
Response
Immediate and/or delayed
N/A
Verb naming
Requests: create/change/
created, changed
get
Response: reply
Other
11
Also referred to as an
uncorrelated or unsolicited
notification
Message Exchange Patterns: Request-Response
Understanding CIM
Request
Request retrieved
Reply (Message Ack)
Remote
system
Reply
retrieved
Remote
system
queues
Immediate reply
CIM
gateway
Perform
request
Reply
retrieved
Delayed reply
• Gateway is subscriber and publisher to remote system queues
• Remote system is also publisher and subscriber to its own queues
12
RNI
Message Exchange Patterns: Autonomous Notification
Understanding CIM
Remote
system
13
Event notice
retrieved
Remote
system
queues
Event notice
CIM
gateway
Event
RNI
Error Reporting
Understanding CIM
• Errors encountered during request processing are
reported to the client either:
– Through JMS fault messages
– By elements inside the CIM response payload
• Determined by the nature of the error
– Errors, such as system and security errors, that cause the
entire request to fail use JMS fault messages
– Business errors, related to objects within the request,
typically use error objects in CIM response payload
– Low level business errors, e.g. meter asset identification,
use a reply code, and sometimes an error object, in the
CIM response payload
14
Sensus Resources Available for Integrators
Understanding CIM
• CIM Integration Guide
– Master reference to Sensus implementation
• Technical Notes
– Describe additional scenarios or configuration tips; such as
Reliable Delivery
• RNI Emulator
– Early integration with real gateways without entire FlexNet
solution being deployed (meters, Base Stations, RNI, DB,
etc.)
• Professional Services
15
Questions
16
Learning Check
17
Question:
1. Which of the following is the primary purpose
of the CIM standard?
a) Aid vendors/utilities in development of
custom products
b) Aid vendors/utilities in development of
interfaces that interoperate and are
independent of platform
c) Aid utilities in development of distribution
products for deployment
d) Aid vendors in development of educating
their customers about their products
Learning Check
18
Question:
2. Which of the following best describes a CIM
operation?
a) Collection of related tasks
b) Collection of related functions
c) Identifies the specific tasks to perform
d) Identifies the specific functions provided
Learning Check
19
Question:
3. Which of the following CIM services are
supported by Sensus? (Yes or No)
Yes
a) End Device Control
_________
No
b) Demand Response
_________
Yes
c) Meter reading
_________
Yes
d) Event Publication
_________
Learning Check
20
Question:
4. Which of the following statements is true
about the CIM message patterns?
a) Requests are made synchronously.
b) “Created” is a common request verb naming
convention.
c) Responses to requests are provided in one
or more messages.
d) An autonomous notification is often called a
solicited notification.
Learning Check
21
Question:
5. How are errors reported by CIM?
a) Sensus CIM gateway sends error as part of
CIM response payload to the remote
system.
b) Sensus CIM gateway publishes JMS fault
messages on the Sensus queues.
c) Remote system makes a request for error
events to the Sensus CIM gateway.
d) Remote system listens for event messages
on its system queues.
Learning Check
22
Question:
6. Which of the following CIM integration
resources are available from Sensus?
a) Professional services
b) Emulator
c) Documentation
d) All of the above
Section Two
23
Sensus CIM v1
Solution
Section Objectives
24
Following this section, you should be able to:
1. Describe the communication flow between the
remote system and the Sensus CIM gateway.
2. Describe the purpose of each Sensus
supported CIM function.
3. Recognize which operations are associated
with each function.
About the CIMv1 Gateway and the RNI
CIM Solution
• Applies only to electric end points
• Accesses RNI functionality through a well defined
interface
• Translates from internal RNI data structures to
external CIM data structures
• Communicates with JMS messages to and from
remote broker queues
• Relies on transport security provided by the JMS
broker vendor (e.g. SSL) and optionally, JNDI
resource credentials (no encryption support)
• Compatible with IBM WebSphere, Oracle WebLogic,
Apache ActiveMQ JMS brokers
25
Request-Response Message Exchange Process
CIM Solution
Utility
RNI
DB
Remote
System
1
JMS Broker
JNDI Server
8
2
3
CIM
Gateway
4
ActiveMQ
JMS Broker
7
6
5
Meter
OK/Error
1.
2.
3.
4.
5.
6.
7.
8.
26
Remote system publishes request to JMS broker (at utility)
Broker places request on designated queue
CIM gateway listens for (subscribes to) requests on specified broker queues
CIM gateway validates the operation code of request and replies with OK or error
to designated location
RNI performs request, obtaining indicated data from the database or meter
RNI publishes the result to RNI JMS broker response queue
CIM gateway listens to RNI broker response queues
CIM gateway translates RNI responses to CIM and publishes to JMS broker at utility
About the Utility JMS Queues
CIM Solution
• On Demand Request Queue
– All request messages arrive for the CIMv1 gateway via this
queue
• On Demand Response Queue
– All responses and messages originating from the CIMv1
gateway are delivered to this queue
– Multiple functional areas within the CIMv1 gateway
publish to this queue
• Unsolicited Read Publication Queue
– Destination for all unsolicited Interval reads and register
reads
• Unsolicited Event Publication Queue
– Destination for all unsolicited meter event notifications
27
More About the Utility JMS Queues
CIM Solution
• Sensus CIM gateway interrogates the utility JAVA
Naming and Directory Interface (JNDS) server to look
up physical queue names
28
CIM Functions Supported by Sensus
CIM Solution
• Meter Reading
• End Device Controls
• Event Publication
29
About the Meter Readings Function
CIM Solution
• Defines the JMS message requests and events
related to reading meter data
• Requests
– On-Demand Read
– Power Status Check
• Unsolicited Interval Readings Publication
30
On Demand Reads
CIM Solution
• Requests meter readings such as energy and peak
demand
• Returns data from RNI database if an interval
start/end time is provided
• Returns an “on the glass” reading after interrogating
the meter if a scheduled interval start/end time is
NOT provided
• Accepts a single end device asset
• Reading type code determines the read request type
31
Supported Reading Type Codes: Bulk Quantity
CIM Solution
Code*
Meaning
0.0.1.1.0.12.0.0.0. x.y
Bulk Quantity Forward Energy
0.0.1.19.0.12.0.0.0. x.y
Bulk Quantity Reverse Energy
0.0.1.20.0.12.0.0.0. x.y
Bulk Quantity Total Energy
0.0.1.4.0.12.0.0.0. x.y
Bulk Quantity Net Energy
15.0.1.1.0.12.0.0.0. x.y
Present Bulk Quantity Forward Energy
15.0.1.19.0.12.0.0.0. x.y
Present Bulk Quantity Reverse Energy
15.0.1.20.0.12.0.0.0. x.y
Present Bulk Quantity Total Energy
15.0.1.4.0.12.0.0.0. x.y
Present Bulk Quantity Net Energy
* x.y = multiplier. unit of measure for the requested meter
32
About Multipliers and Units of Measure
CIM Solution
• Multiplier = 1 to 255
– Common values for electric meters include:
˃
˃
˃
˃
3 = K; kilo, x1000 or 103
6 = M; Mega, x1,000,000 or 106
253 = m; mili, x0.001 or 10-3
250 = ; micro, x0.000,001 or 10-6
• Unit of measure = 1 to 118,
– Common values for electric meters include:
˃
˃
˃
˃
71 = VAh, Volt Ampere hours
72 = Wh, Watt hours
73 = VArh, Volt Ampere reactive hours
108 = timestamp, Time and date stamp per ISO 8601
• Examples: 6.72 = MWh; 3.73 = kVArh
33
See the
IEC 61968-9
Annex C for
more detail
Supported Reading Type Codes: Summation
CIM Solution
Code*
Meaning
0.0.9.20.0.12.3.a.0. x.y
Summation Total Energy TOU Rate A-E
0.0.9.20.0.12.3.0.0. x.y
Summation Total Energy TOU Total
0.0.9.4.0.12.3.a.0. x.y
Summation Net Energy TOU Rate A-E
0.0.9.4.0.12.3.0. 0. x.y
Summation Net Energy TOU Total
0.0.9.1.0.12.3.a.0. x.y
Summation Forward Energy TOU Rate A-E
0.0.9.1.0.12.3.0.0. x.y
Summation Forward Energy TOU Total
0.0.9.19.0.12.3.a.0. x.y
Summation Reverse Energy TOU Rate A-E
0.0.9.19.0.12.3.0.0. x.y
Summation Reverse Energy TOU Total
* a = TOU rate A-E, where a = 1-5 respectively
* x.y = multiplier. unit of measure
34
Supported Reading Type Codes: Maximum Indicating
CIM Solution
Code*
Meaning
8.8.6.1.0.8.3.a.0. x.y
Maximum Indicating Forward Demand TOU
Rate A-E
8.8.6.1.0.8.3.0.0. x.y
Maximum Indicating Forward Demand TOU
Total
* a = TOU rate A-E, where a = 1-5 respectively
* x.y = multiplier. unit of measure
35
Supported Reading Type Codes: Delta Data
CIM Solution
Code*
Meaning
2.0.4.1.0.12.0.0.0. x.y
15-Minute Delta Data Forward Energy
2.0.4.19.0.12. 0.0.0. x.y
15-Minute Delta Data Reverse Energy
2.0.4.20.0.12. 0.0.0. x.y
15-Minute Delta Data Total Energy
2.0.4.4.0.12. 0.0.0. x.y
15-Minute Delta Data Net Energy
4.0.4.1.0.12.0.0.0. x.y
24-Hour Delta Data Forward Energy
4.0.4.19.0.12. 0.0.0. x.y
24-Hour Delta Data Reverse Energy
4.0.4.20.0.12. 0.0.0. x.y
24-Hour Delta Data Total Energy
4.0.4.4.0.12. 0.0.0. x.y
24-Hour Delta Data Net Energy
5.0.4.1.0.12.0.0.0. x.y
30-Minute Delta Data Forward Energy
5.0.4.19.0.12. 0.0.0. x.y
30-Minute Delta Data Reverse Energy
5.0.4.20.0.12. 0.0.0. x.y
30-Minute Delta Data Total Energy
5.0.4.4.0.12. 0.0.0. x.y
30-Minute Delta Data Net Energy
* x.y = multiplier. unit of measure
36
Supported Reading Type Codes: Delta Data (Continued)
CIM Solution
Code*
Meaning
6.0.4.1.0.12.0.0.0. x.y
5-Minute Delta Data Forward Energy
6.0.4.19.0.12. 0.0.0. x.y
5-Minute Delta Data Reverse Energy
6.0.4.20.0.12. 0.0.0. x.y
5-Minute Delta Data Total Energy
6.0.4.4.0.12. 0.0.0. x.y
5-Minute Delta Data Net Energy
7.0.4.1.0.12.0.0.0. x.y
60-Minute Delta Data Forward Energy
7.0.4.19.0.12. 0.0.0. x.y
60-Minute Delta Data Reverse Energy
7.0.4.20.0.12. 0.0.0. x.y
60-Minute Delta Data Total Energy
7.0.4.4.0.12. 0.0.0. x.y
60-Minute Delta Data Net Energy
* x.y = multiplier. unit of measure
37
Power Status Checks
CIM Solution
• Requests meter readings such as disconnect switch
status (open or closed) or whether the meter is
energized
• Returns data from specified meter
• Accepts a single end device asset
• Reading type code determines the request type
38
Code
Meaning
0.0.0.0.0.11.0.0.0.0.109
Energized/De-Energized Status
0.0.0.0.0.43.0.0.0.0.109
Switch Position Status
About the End Device Controls Function
CIM Solution
• Defines the JMS message requests related to
performing remote actions on a meter
• Requests
– Disconnect
– Connect
39
Remote Disconnects
CIM Solution
• Opens a meter’s connect/disconnect switch to
disconnect power on the load side of the meter
• Supply side of meter remains energized
• Performs for single meter at a time
• Device Control Code determines the action taken
40
Code
Meaning
3.31.6.68
Electric meter RCD Switch Command Disconnected (used in
requests to perform the disconnect)
3.31.17.68
Electric meter RCD Switch Status Disconnected (used in
event messages to report disconnect confirmation)
Remote Connects
CIM Solution
• Closes a meter’s connect/disconnect switch to
connect power on the load side of the meter
• Performs for single meter at a time
• Device Control Code determines the action taken
41
Code
Meaning
3.31.6.4
Electric meter RCD Switch Command Connected (used in
requests to perform the connect)
3.31.17.42
Electric meter RCD Switch Status Connected (used in event
messages to report connect confirmation)
About the Event Function
CIM Solution
• Defines the JMS message events related to changes
or other events occurring on a meter
• Events
– End Device Event
• Supported Event Categories
42
Category
Meaning
3.33.1.257
Tamper Detected (electric meter)
Questions
43
Learning Check
44
Question:
1. Which best describes the communication used
between the remote system and the RNI?
a) Requests are sent to the RNI JMS broker,
processed and then sent to the remote
system JMS broker
b) Requests are retrieved from remote system
JMS broker, processed and published on
local RNI JMS broker
c) Requests are retrieved from the remote
system JMS broker, processed and sent to
the remote system JMS broker
d) None of the above
Learning Check
45
Question:
2. Match the Sensus JMS queue with its definition.
b
a) On Demand Request ___All
responses and autonomous
Queue
event messages originating
from the CIMv1 gateway are
b)On Demand
delivered to this queue
Response Queue
d
___Destination
for all unsolicited
c) Unsolicited Read
meter event notifications
Publication Queue
a
___All
request messages arrive for
d)Unsolicited Event
the CIMv1 gateway via this
Publication Queue
queue
c
___Destination
for all unsolicited
Interval reads and register
reads
Learning Check
46
Question:
3. Which of the following statements is true
about the CIM functions that Sensus supports?
a) You can perform an on-demand read using
the Meter Reading function.
b) You cannot perform a remote connection of
a water meter using the End Device Controls
function.
c) You can receive tamper alarms from the
Event Publication function.
d) All of the above.
Learning Check
47
Question:
4. Which of the following Meter Reading reading
type codes is supported by the Sensus
solution?
a) Bulk Quantity
b) Summarization
c) Minimum Indicating
d) Delta Measurement
Learning Check
48
Question:
5. True or False.
Sensus CIM solution supports more than two
units of measure multipliers for reported meter
reading data. ________
True
Learning Check
49
Question:
6. Which best describes the possible actions
available with the End Device Controls
function?
a) You can determine whether multiple meters
are connect (energized) at a time.
b) You can determine when a meter was last
read.
c) You can determine the position (open or
closed) of the power switch associated with
a meter.
d) You can determine if a meter has been
tampered with.