RFC 7326

Energy Management Framework

๐Ÿ“… published September 2014, from ietf

RFC 7326: Energy Management Framework ๐Ÿ”Œโœจ

okay bestie, welcome to RFC 7326! ๐ŸŽ€ this is part 1 of 10, so grab a snack and get comfy ๐Ÿ“

The facts first: it's from September 2014 and it's an Informational doc, which means it's published for info and is not a standards-track spec ๐Ÿ’… It's an IETF product, and the authors are J. Parello, B. Claise (both at Cisco Systems, Inc.), B. Schoening (an Independent Consultant), and J. Quittek (NEC Europe Ltd.). The ISSN is 2070-1721. It doesn't list any documents it obsoletes or updates, so it's standing on its own ๐Ÿฆ‹


Abstract ๐ŸŒธ

okay so this doc sets up a framework for Energy Management (EMAN) for devices and device components that live inside communication networks, or hook up to them ๐Ÿ”Œ it gives a physical reference model and an information model. the info model is built around an Energy Management Domain, which is a set of Energy Objects. every Energy Object can be given an identity, a classification, and a context โœจ you can monitor and control Energy Objects for power, Power State, energy, demand, Power Attributes, and battery. it also models the relationships and capabilities between Energy Objects, which is giving very organized ๐Ÿ’œ


Status of This Memo ๐Ÿงš

this one is not an Internet Standards Track spec. it's published for informational purposes ๐ŸŽ€

it's a product of the Internet Engineering Task Force (IETF). it represents the consensus of the IETF community, has had public review, and was approved for publication by the Internet Engineering Steering Group (IESG). not every doc the IESG approves is a candidate for any level of Internet Standard, so check Section 2 of RFC 5741 if you want the details ๐Ÿ™ˆ

for the current status, any errata, and how to give feedback, go to http://www.rfc-editor.org/info/rfc7326 ๐Ÿฆ‹


Copyright (c) 2014 IETF Trust and the persons identified as the document authors. All rights reserved.

this document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) as in effect on the date of publication. please read these carefully, because they spell out your rights and restrictions for this document ๐Ÿซถ any Code Components pulled out of this document must include the Simplified BSD License text, as described in Section 4.e of the Trust Legal Provisions, and they come without warranty, as described in the Simplified BSD License ๐Ÿ’…


Table of Contents ๐Ÿ—บ๏ธ

1. Introduction ....................................................3
2. Terminology .....................................................4
3. Target Devices ..................................................9
4. Physical Reference Model .......................................10
5. Areas Not Covered by the Framework .............................11
6. Energy Management Abstraction ..................................12
   6.1. Conceptual Model ..........................................12
   6.2. Energy Object (Class) .....................................13
   6.3. Energy Object Attributes ..................................15
   6.4. Measurements ..............................................18
   6.5. Control ...................................................19
   6.6. Relationships .............................................25
7. Energy Management Information Model ............................29
8. Modeling Relationships between Devices .........................33
   8.1. Power Source Relationship .................................33
   8.2. Metering Relationship .....................................37
   8.3. Aggregation Relationship ..................................38
9. Relationship to Other Standards ................................39
10. Security Considerations .......................................39
    10.1. Security Considerations for SNMP .........................40
11. IANA Considerations ...........................................41
    11.1. IANA Registration of New Power State Sets ................41
    11.2. Updating the Registration of Existing Power State Sets ...42
12. References ....................................................43
    12.1. Normative References .....................................43
    12.2. Informative References ...................................44
13. Acknowledgments ...............................................45
Appendix A. Information Model Listing .............................46

1. Introduction ๐ŸŒˆ

okay so network management is usually split into the five main areas from the ISO Telecommunications Management Network model: Fault, Configuration, Accounting, Performance, and Security Management (FCAPS) [X.700]. the thing is, Energy Management isn't covered by that traditional model, and it's quickly becoming a huge worldwide concern, as [ISO50001] shows ๐Ÿ˜ญ

this doc defines an Energy Management framework for devices within, or connected to, communication networks, following the Energy Management requirements in [RFC6988] ๐ŸŽ€ the devices, or their components (like line cards, fans, and disks), can then be monitored and controlled. monitoring covers measuring power, energy, demand, and the attributes of power โšก Energy Control happens by setting a device's or component's state ๐Ÿ’œ the devices this framework can monitor come in two flavors:

  • consumers of energy (like routers and computer systems) and their components (like line cards, fans, and disks) ๐Ÿ–ฅ๏ธ
  • producers of energy (like an uninterruptible power supply or renewable energy system) and their associated components (like battery cells, inverters, or photovoltaic panels) โ˜€๏ธ

the framework also explains how to identify, classify, and give context to these devices ๐Ÿงš context info isn't specific to Energy Management, but the framework does specify some context attributes for these use cases:

  • How important is a device in terms of its business impact? ๐Ÿ’ผ
  • How should devices be grouped for reporting and searching? ๐Ÿ—‚๏ธ
  • How should a device role be described? ๐ŸŽญ

guidelines for using context in Energy Management are described too โœจ

the framework brings in the idea of a Power Interface, which is basically the power version of a network interface ๐Ÿ”ฅ a Power Interface is an interconnection among devices where energy can be provided, received, or both.

the most basic Energy Management example is one device reporting info about itself ๐Ÿ™ˆ but a lot of the time, energy isn't measured by the device itself. it gets measured further upstream in the power distribution tree. for example, a Power Distribution Unit (PDU) may measure the energy it supplies to attached devices and report that to an Energy Management System ๐Ÿ“ so devices often have relationships with other devices or components in the power network. an Energy Management System (EnMS) generally needs to understand the power topology (who provides power to whom), the Metering topology (who meters whom), and the potential Aggregation (who aggregates values from whom) ๐Ÿง 

the relationships are built on the Power Interface concept ๐Ÿฆ‹ the different relationships among devices and components specified here include power source, Metering, and Aggregation Relationships.

last thing: the framework does not cover non-electrical equipment, and it doesn't cover energy procurement or manufacturing ๐Ÿ™…โ€โ™€๏ธ that's it for part 1, bestie! more parts coming ๐Ÿ’…๐Ÿ’–

2. Terminology โœจ

okay bestie, this is the glossary part and I'm lowkey obsessed ๐ŸŽ€. when you see "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this doc, they mean exactly what RFC 2119 [RFC2119] says they mean ๐Ÿ’….

and the caps part matters!! these words only count as those key words when they're in ALL CAPS. lowercase "should" or "may" is just regular English, not a rule ๐Ÿ™ˆ

some terms also have a NOTE. it's not part of the definition itself, it's just the tea on how different standards orgs word things, or extra clarity ๐Ÿ“

the terms go in an order where each one can build on the one before it, not alphabetical ๐Ÿงš. and some terms that are common in electrical engineering or that describe everyday physical stuff are written in lowercase โœจ

Energy Management ๐ŸŒˆ Energy Management is a set of functions for measuring, modeling, planning, and optimizing networks so the network and the devices attached to it use energy efficiently and appropriately for what the application needs and what the organization can afford ๐Ÿ’–

Reference: Adapted from [TMN].

NOTES:

  1. "Energy Management" is the whole vibe of activities, methods, procedures, and tools for measuring, modeling, planning, controlling, and optimizing energy use in networked systems [NMF] ๐Ÿ”ฅ
  2. Energy Management is a management domain that lines up with any of the FCAPS areas in the ISO/OSI Network Management Model [TMN]. Energy Management for communication networks and attached devices is a subset or part of an organization's bigger Energy Management Policies ๐Ÿ’…

Energy Management System (EnMS) ๐Ÿ’œ An Energy Management System is a combo of hardware and software used to administer a network, where the main goal is Energy Management โœจ

NOTES:

  1. An Energy Management System according to [ISO50001] (ISO-EnMS) is a set of systems or procedures that let organizations develop and implement an energy policy, set targets and action plans, and account for legal requirements about energy use. An ISO-EnMS helps organizations improve energy performance and show they conform to requirements, standards, and/or legal requirements ๐Ÿ‘‘
  2. Example ISO-EnMS: Company A has policies and procedures saying there should exist multiple computerized systems that poll energy measurements from their meters and pricing / source data from their local utility. Company A also says their CFO (Chief Financial Officer) should collect information and summarize it quarterly, then send it to an accounting firm to produce carbon accounting reporting as required by their local government ๐Ÿ’€
  3. For the purposes of EMAN, the definition in this doc is the preferred meaning of an EnMS. The definition from [ISO50001] can be called an ISO Energy Management System (ISO-EnMS) ๐Ÿซถ

Energy Monitoring ๐Ÿฆ‹ Energy Monitoring is a part of Energy Management that's all about collecting or reading information from devices to help with Energy Management ๐ŸŒธ

Energy Control ๐ŸŒธ Energy Control is a part of Energy Management that's about directing influence over devices ๐ŸŽ€

electrical equipment โญ This is a general term for stuff like materials, fittings, devices, appliances, fixtures, apparatus, machines, and so on, that are used as part of, or in connection with, an electric installation ๐Ÿงš

Reference: [IEEE100].

non-electrical equipment (mechanical equipment) ๐Ÿ“ This is a general term for the same kinds of things (materials, fittings, devices, appliances, fixtures, apparatus, machines, etc.), but used as part of, or in connection with, non-electrical power installations ๐Ÿ› ๏ธ

Reference: Adapted from [IEEE100].

device ๐ŸŒˆ A device is a piece of electrical or non-electrical equipment ๐Ÿ’–

Reference: Adapted from [IEEE100].

component ๐Ÿ’œ A component is a part of electrical or non-electrical equipment (device) ๐Ÿซถ

Reference: Adapted from [TMN].

power inlet โœจ A power inlet (or simply "inlet") is an interface where a device or component receives energy from another device or component ๐Ÿ”Œ

power outlet ๐Ÿ”ฅ A power outlet (or simply "outlet") is an interface where a device or component provides energy to another device or component โšก

energy ๐Ÿ‘‘ Energy is that which does work or is capable of doing work. As electric utilities use it, it usually refers to electrical energy and is measured in kilowatt-hours (kWh) ๐Ÿ’ก

Reference: [IEEE100].

NOTE:

  1. Energy is the capacity of a system to produce external activity or perform work [ISO50001] ๐Ÿ™Œ

power ๐Ÿฆ‹ Power is the time rate at which energy is emitted, transferred, or received. It's usually expressed in watts (joules per second) ๐ŸŒŸ

Reference: [IEEE100].

demand ๐ŸŒธ Demand is the average value of power or a related quantity over a specified interval of time. Note: Demand is expressed in kilowatts, kilovolt-amperes, kilovars, or other suitable units ๐Ÿ“Š

Reference: [IEEE100].

NOTE:

  1. IEEE100 defines demand using kilo measurements, but for EMAN we use watts with any suitable metric prefix ๐Ÿง

provide energy ๐ŸŽ€ A device (or component) "provides" energy to another device if there's an energy flow from this device to the other one ๐Ÿ’ซ

receive energy ๐Ÿ“ A device (or component) "receives" energy from another device if there's an energy flow from the other device to this one ๐Ÿ’ซ

meter (energy meter) ๐Ÿ’œ A meter is a device meant to measure electrical energy by integrating power with respect to time ๐Ÿ“

Reference: Adapted from [IEC60050].

battery ๐Ÿ”‹ A battery is one or more cells (an assembly of electrodes, electrolyte, container, terminals, and, usually, separators) that act as a source and/or store of electric energy โšก

Reference: Adapted from [IEC60050].

Power Interface โœจ A Power Interface is a power inlet, outlet, or both ๐Ÿ”Œ

Nameplate Power ๐ŸŒˆ The Nameplate Power is the nominal power of a device as the device manufacturer specifies it ๐Ÿท๏ธ

Power Attributes ๐Ÿงš Power Attributes are measurements of the electrical current, voltage, phase, and frequencies at a given point in an electrical power system ๐Ÿ“ˆ

Reference: Adapted from [IEC60050].

NOTE:

  1. Power Attributes don't set any bounds or recommended range for the value. They're just the reading of the value tied to the attribute in question ๐Ÿ™…โ€โ™€๏ธ

Power Quality ๐Ÿ”ฅ "Power Quality" refers to characteristics of the electrical current, voltage, phase, and frequencies at a given point in an electric power system, judged against a set of reference technical parameters. In some cases these parameters relate to how well the electricity supplied in an electric power system works with the loads connected to it โš–๏ธ

Reference: [IEC60050].

NOTE:

  1. Electrical characteristics that represent Power Quality information are typically needed by customer facility Energy Management Systems. They aren't meant to cover the detailed requirements of Power Quality monitoring. Standards usually also give ranges of allowed values, but the information attributes are the raw measurements, not the "yes/no" call made by the various standards ๐Ÿซ 

Reference: [ASHRAE-201].

Power State ๐Ÿ’– A Power State is a condition or mode of a device (or component) that broadly describes its capabilities, power, and responsiveness to input ๐ŸŽš๏ธ

Reference: Adapted from [IEEE1621].

Power State Set ๐ŸŒธ A Power State Set is a collection of Power States that makes up a named or logical control grouping ๐Ÿ—‚๏ธ


3. Target Devices ๐ŸŽฏ

okay so with Energy Management there's a whole range of devices that might live in the same deployment as a communication network, but they make up a separate facility, home, or power distribution network ๐Ÿก

Energy Management has special challenges because a power distribution network supplies energy to devices and components, while a separate communications network monitors and controls that power distribution network ๐Ÿ˜ญ

the target devices for Energy Management are all the devices that an Energy Management System (EnMS) can monitor or control, directly or indirectly ๐Ÿ’… these include, for example:

  • Simple electrical appliances and fixtures โœจ
  • Hosts, such as a PC, a server, or a printer ๐Ÿ–จ๏ธ
  • Switches, routers, base stations, and other network equipment such as middleboxes ๐Ÿ›œ
  • Components within devices, e.g., a line card inside a switch ๐Ÿƒ
  • Batteries functioning as a device or component that is a store of energy ๐Ÿ”‹
  • Devices or components that charge or produce energy, such as solar cells, charging stations, or generators โ˜€๏ธ
  • Power over Ethernet (PoE) endpoints ๐Ÿ”Œ
  • Power Distribution Units (PDUs) ๐Ÿงฐ
  • Protocol gateway devices for Building Management Systems (BMS) ๐Ÿข
  • Electrical meters ๐Ÿ“
  • Sensor controllers with subtended sensors ๐ŸŒก๏ธ

target devices include devices that talk over the Internet Protocol (IP), and also devices that use other ways to communicate ๐Ÿซถ the latter get managed through gateways or proxies that can communicate using IP ๐ŸŒ

4. Physical Reference Model โœจ

okay so this section is basically a little picture gallery ๐ŸŽ€ of how the power side of things can be wired up next to the communication side. the authors say there are way more combos possible, but these few basic ones are enough to show how Energy Management setups are different from Network Management setups ๐Ÿ’…

quick legend first, bestie: "###" means a transfer of energy โšก and "- >" means a transfer of information ๐Ÿ’Œ

                         Basic Energy Management:

                        +--------------------------+
                        | Energy Management System |
                        +--------------------------+
                                    ^  ^
                         monitoring |  | control
                                    v  v
                                +---------+
                                | device  |
                                +---------+


                            Basic Power Supply:

                +-----------------------------------------+
                |         Energy Management System        |
                +-----------------------------------------+
                      ^  ^                       ^  ^
           monitoring |  | control    monitoring |  | control
                      v  v                       v  v
                +--------------+        +-----------------+
                | power source |########|      device     |
                +--------------+        +-----------------+
                Single Power Supply with Multiple Devices:

                  +---------------------------------------+
                  |       Energy Management System        |
                  +---------------------------------------+
                     ^  ^                       ^  ^
          monitoring |  | control    monitoring |  | control
                     v  v                       v  v
                  +--------+        +------------------+
                  | power  |########|         device 1 |
                  | source |   #    +------------------+-+
                  +--------+   #######|         device 2 |
                                 #    +------------------+-+
                                 #######|         device 3 |
                                        +------------------+


                Multiple Power Supplies with Single Device:

             +----------------------------------------------+
             |          Energy Management System            |
             +----------------------------------------------+
                 ^  ^              ^  ^              ^  ^
            mon. |  | ctrl.   mon. |  | ctrl.   mon. |  | ctrl.
                 v  v              v  v              v  v
             +----------+      +----------+      +----------+
             | power    |######|  device  |######| power    |
             | source 1 |      |          |      | source 2 |
             +----------+      +----------+      +----------+

5. Areas Not Covered by the Framework ๐Ÿ™ˆ

okay, real talk: this framework is meant to be a framework for Energy Management in general, but there are some areas it just doesn't cover ๐Ÿฅบ

5.1. Non-Electrical Equipment โšก

the main focus here is electrical equipment ๐Ÿ”Œ. non-electrical stuff isn't covered, but it could still be modeled if it provides interfaces that follow the framework, like using the same units for power and energy ๐Ÿ“. so anything that doesn't "convert to" or "present as" something equivalent to electrical equipment is simply not addressed ๐Ÿšซ

5.2. Energy Procurement and Manufacturing ๐Ÿญ

an EnMS can totally be the central hub for corporate reporting, cost math, environmental impact analysis, and regulatory compliance reporting ๐Ÿ“Š. BUT, energy procurement and the environmental impact of energy use are excluded from Energy Management in this framework ๐Ÿ™…โ€โ™€๏ธ

so the framework does NOT include:

  • Cost in currency or environmental units of manufacturing a device ๐Ÿ—๏ธ
  • Embedded carbon or environmental equivalences of a device ๐ŸŒ
  • Cost in currency or environmental impact to dismantle or recycle a device โ™ป๏ธ
  • Supply chain analysis of energy sources for device deployment ๐Ÿšš
  • Conversion of the usage or production of energy to units expressed from the source of that energy (such as the greenhouse gas emissions associated with the transfer of energy from a diesel source) ๐Ÿ›ข๏ธ

6. Energy Management Abstraction ๐Ÿงš

this section is all about a conceptual model of information you can use for Energy Management ๐Ÿ“š. each class and category of attributes gets described, with a reason for each one ๐Ÿ’ก

6.1. Conceptual Model ๐Ÿ’œ

this part is an information model that deals with Energy Management issues specifically, and it works alongside the existing Network Management models ๐Ÿค

so, an info model for Energy Management needs a way to monitor and control devices and components ๐ŸŽ›๏ธ. it also needs to describe the relationships between devices and components, and the connections between them ๐Ÿ”—

the model is basically like the one in Network Management: devices, components, and interfaces ๐Ÿงฉ. then it layers on extra Energy Management attributes for the stuff that existing Network Management models don't have yet โœจ

three classes get used for modeling devices and components, and each has a "(Class)" suffix: Device (Class), Component (Class), and Power Interface (Class) ๐ŸŽ€. all three are sub-types of an abstract Energy Object (Class) ๐Ÿฆ‹

         Summary of Notation for Modeling Physical Equipment

         Physical         Modeling (Metadata)      Model Instance
         ---------------------------------------------------------
         equipment        Energy Object (Class)    Energy Object

         device           Device (Class)           Device

         component        Component (Class)        Component

         inlet/outlet     Power Interface (Class)  Power Interface

next up are the attributes of an Energy Object (Class) for identification, classification, context, control, power, and energy ๐ŸŒˆ

because the links between devices and components for Energy Management might have nothing to do with the links for Network Management, Energy Object (Classes) get their own separate Relationships (Class) attribute to model those connections ๐Ÿ”€

the following sections go through each class and attribute category in the info model ๐Ÿ“–

not every attribute is mandatory for implementations ๐Ÿคทโ€โ™€๏ธ. specs that describe implementations of this info model in this framework need to be explicit about which attributes are mandatory and which are optional to implement ๐Ÿ“

the formal definitions of the classes and attributes live in Section 7 ๐Ÿ—‚๏ธ

6.2. Energy Object (Class) ๐Ÿซถ

an Energy Object (Class) represents a piece of equipment that's part of, or attached to, a communications network, and that is monitored or controlled, or helps manage another device for Energy Management ๐Ÿ”‹

it's an abstract class with the base attributes for representing a piece of equipment for Energy Management ๐Ÿงธ. there are three types: Device (Class), Component (Class), and Power Interface (Class) ๐Ÿ‘‘

6.2.1. Device (Class) ๐Ÿ“ฑ

the Device (Class) is a subclass of Energy Object (Class) that represents a physical piece of equipment ๐Ÿ–ฅ๏ธ

a Device (Class) instance represents a device that's a consumer, producer, meter, distributor, or store of energy โšก

a Device (Class) instance may also represent a physical device that holds other components ๐Ÿงบ

6.2.2. Component (Class) ๐Ÿ”ง

the Component (Class) is a subclass of Energy Object (Class) that represents a part of a physical piece of equipment ๐Ÿงฉ

6.2.3. Power Interface (Class) ๐Ÿ”Œ

a Power Interface (Class) represents the interconnections (inlet, outlet) among devices or components where energy can be provided, received, or both ๐Ÿ’ซ

the Power Interface (Class) is a subclass of Energy Object (Class) that represents a physical inlet or outlet ๐Ÿ•ณ๏ธ

Power Interfaces have some similarities with network interfaces ๐Ÿ‘ฏ. a network interface can be in different states, like sending or receiving data on an attached line ๐Ÿ“ก. likewise, a Power Interface can be receiving or providing energy โšก

a Power Interface (Class) instance can physically be an AC power socket, an AC power cord attached to a device, or an 8P8C (RJ45) PoE socket, etc. ๐Ÿ“

6.3. Energy Object Attributes ๐ŸŒธ

this section covers categories of attributes for an Energy Object (Class) ๐Ÿ—ƒ๏ธ

6.3.1. Identification ๐Ÿชช

a Universally Unique Identifier (UUID) [RFC4122] is used to uniquely and persistently identify an Energy Object ๐Ÿ†”

every Energy Object has an optional unique human-readable printable name ๐Ÿ’ฌ. possible naming conventions are a textual DNS name, the Media Access Control (MAC) address of the device, the interface ifName, or a text string that uniquely identifies the Energy Object ๐Ÿท๏ธ. for example, with IP phones, the Energy Object name can be the device's DNS name ๐Ÿ“ž

on top of that, an alternate key is provided so an Energy Object can optionally be linked with models in different systems ๐Ÿ”‘

6.3.2. Context: General ๐Ÿข

to help with reporting and to tell Energy Objects apart, each object optionally contains info establishing its business, site, or organizational context within a deployment ๐Ÿ—บ๏ธ

the Energy Object (Class) has a category attribute that broadly describes how an instance gets used in a deployment ๐Ÿงพ. the category shows whether the Energy Object is mainly functioning as a consumer, producer, meter, distributor, or store of energy ๐Ÿ”‹

with the category and context of an object, an EnMS can summarize or analyze measurements for the site ๐Ÿ“ˆ

6.3.3. Context: Importance ๐Ÿ‘‘

an Energy Object can provide an importance value in the range of 1 to 100, to help rank how much a device is used or how much it's worth to the site ๐Ÿ’Ž. the range runs from 1 (least important) to 100 (most important) ๐ŸŒŸ. the default importance value is 1 ๐Ÿซง

for example, a typical office has several types of phones, which can be rated by their business impact ๐Ÿ“ž. a public desk phone has a lower importance (for example, 10) than a business-critical emergency phone (for example, 100) ๐Ÿšจ. another example: a company can decide that a PC and a phone for a customer service engineer matter more than a PC and a phone for lobby use ๐Ÿ›‹๏ธ

EnMS and administrators can set their own ranking ๐ŸŽ›๏ธ, but the following is a broad recommendation for commercial deployments [CISCO-EW] ๐Ÿ’ผ:

   90 to 100  Emergency response
   80 to 90   Executive or business-critical
   70 to 79   General or average
   60 to 69   Staff or support
   40 to 59   Public or guest
   1  to 39   Decorative or hospitality

6.3.4. Context: Keywords โœจ

okay so the Energy Object (Class) has an attribute for context keywords ๐Ÿท๏ธ basically a list of tags you can use to group things, do summary reporting (inside or between Energy Management Domains), and search ๐Ÿ” bestie, the examples are giving everything: IT, lobby, HumanResources, Accounting, StoreRoom, CustomerSpace, router, phone, floor2, or SoftwareLab. it's a whole vibe ๐ŸŒธ

how these tags actually get represented is left to the MIB module or other object definition documents that build on this framework ๐Ÿ’… so not this doc's job, lol.

there is no default value for a keyword ๐Ÿ™…โ€โ™€๏ธ and you can assign multiple keywords to one Energy Object, so stack those tags ๐Ÿฅž

6.3.5. Context: Role ๐ŸŽ€

the Energy Object (Class) has a role attribute ๐Ÿ’– the "role description" string says what the Energy Object's main purpose is in the deployment. it could be any string that describes the job it does there ๐Ÿงš

how the tag is represented is, again, left to the MIB module or other object definition documents built on this framework. not my problem, bestie ๐Ÿซถ

administrators can define any naming scheme they want for the role ๐ŸŒˆ as a little guidance, a two-word role combining the service the Energy Object provides with its type can be used [IPENERGY]. it's giving organized ๐Ÿ“‹

some example types of devices: Router, Switch, Light, Phone, WorkStation, Server, Display, Kiosk, HVAC โšก

here's the service breakdown by line of business ๐Ÿ‘‘

     Line of Business     Service
     ------------------------------------------------------
     Education            Student, Faculty, Administration,
                          Athletic

     Finance              Trader, Teller, Fulfillment

     Manufacturing        Assembly, Control, Shipping

     Retail               Advertising, Cashier

     Support              Helpdesk, Management

     Medical              Patient, Administration, Billing

and a role written as a two-word string looks like this: "Faculty Desktop", "Teller Phone", "Shipping HVAC", "Advertising Display", "Helpdesk Kiosk", "Administration Switch" ๐Ÿ’…โœจ the vibes are immaculate, honestly.

again, the way this tag is represented is left to the MIB module or other object definition documents based on this framework ๐Ÿฆ‹

6.3.6. Context: Domain ๐ŸŒ

the Energy Object (Class) has a string attribute that shows which Energy Management Domain it belongs to ๐Ÿ—บ๏ธ an Energy Management Domain can be any collection of Energy Objects in a deployment, but it is recommended to map 1:1 with a metered or sub-metered portion of the site ๐Ÿ’œ that's the main-character move ๐Ÿ‘‘

quick building-management tea โ˜• a meter is the one the utility provides for billing and measuring power going to a whole building or a unit inside one. a sub-meter is installed by the customer or user, isn't used by the utility to bill, and is instead used to get measurements from parts of a building ๐Ÿ™ˆ two different meters, two different jobs, both iconic ๐Ÿ’€

the way this tag is represented is left to the MIB module or other object definition documents based on this framework ๐ŸŒธ

an Energy Object MUST be a member of a single Energy Management Domain ๐Ÿšจ that's why there's only one attribute for it. one domain, no sharing, no cap ๐Ÿ”ฅ

6.4. Measurements ๐Ÿ“Š

the Energy Object (Class) has attributes that describe power, energy, and demand measurements โšก

think of it like driving a car ๐Ÿš— a speedometer shows how fast your distance is changing (speed), and a power measurement shows the rate energy is transferred. the odometer counts the total distance you've traveled, and an energy measurement shows the energy that's been transferred in total ๐Ÿ›ฃ๏ธ so cute, right?

demand measurements are averages of power measurements over time ๐Ÿ•ฐ๏ธ same car analogy: if you measure your average speed over several time intervals for a given distance, demand is the average power measured over several time intervals for a given energy value ๐Ÿง

in this framework, energy is only quantified in watt-hours ๐Ÿ’œ physical devices that measure energy in other units have to convert their values to watt-hours, or be represented by Energy Objects that convert to watt-hours. no other units allowed, bestie โœจ

6.4.1. Measurements: Power โšก

the Energy Object (Class) has a Nameplate Power Attribute ๐Ÿท๏ธ this describes the nominal power the manufacturer specifies for the device. the EnMS can use Nameplate Power for provisioning, capacity planning, and (potentially) billing ๐Ÿ’–

the Energy Object (Class) also has attributes for present power information, plus how that measurement was obtained or derived (for example, actual, estimated, or static) ๐Ÿ”

a power measurement is qualified with its units, magnitude, and direction of power flow, and also with the means by which it was measured ๐ŸŽฏ

power measurement magnitude follows the [IEC61850] definition of unit multiplier for the SI (System International) units of measure ๐ŸŒˆ measured values are represented in SI units, obtained as BaseValue * (10 ^ Scale). for example, if the current power usage of an Energy Object is 17, it could be 17 W, 17 mW, 17 kW, or 17 MW, depending on the scaling factor. 17 W means BaseValue = 17 and Scale = 0, whereas 17 mW means BaseValue = 17 and ScaleFactor = -3 ๐Ÿงฎ the math is slaying ๐Ÿ’…

an Energy Object (Class) shows how a power measurement was obtained using a caliber and accuracy attribute ๐ŸŽ€ that attribute indicates:

  • Whether the measurements were made at the device itself or at a remote source.
  • A description of the method used to measure the power, and whether this method can tell actual values apart from estimated ones.
  • The accuracy for actual measured values.

6.4.2. Measurements: Power Attributes ๐Ÿ”Œ

the Energy Object (Class) has an optional attribute for Power Attribute information, which reflects the electrical characteristics of the measurement โšก these Power Attributes follow the [IEC61850-7-2] standard for describing AC measurements ๐Ÿซถ

6.4.3. Measurements: Energy ๐Ÿ”‹

the Energy Object (Class) has optional attributes that represent energy used, received, produced, and/or stored ๐Ÿ’œ typically, only devices or components that can measure actual power will be able to measure energy ๐Ÿ™Œ

6.4.4. Measurements: Demand ๐Ÿ“ˆ

the Energy Object (Class) has optional attributes that represent demand information over time โฑ๏ธ typically, only devices or components that can report actual power are able to measure demand ๐ŸŒธ

6.5. Control ๐ŸŽฎ

the Energy Object (Class) has a Power State Set (Class) attribute that represents the set of Power States a device or component supports ๐Ÿ‘‘

a Power State describes a condition or mode of a device or component โœจ Power States are typically used for control, but they may be used for monitoring only ๐Ÿ‘€

a device or component is expected to support at least one set of Power States, made up of at least two states: an on state and an off state ๐Ÿ’–

there are lots of existing standards that describe device and component Power States ๐ŸŒˆ this framework supports modeling a mixed set of Power States defined in different standards. a basic example is the three Power States defined in IEEE1621 [IEEE1621]: on, off, and sleep ๐Ÿ˜ด the Distributed Management Task Force (DMTF) standards organization [DMTF], the Advanced Configuration and Power Interface (ACPI) specification [ACPI], and the Printer Working Group (PWG) all define way more Power States ๐Ÿ–จ๏ธ so many options, bestie ๐Ÿงš

the semantics of a Power State are specified by:

a) The functionality provided by an Energy Object in this state.

b) A limitation of the power that an Energy Object uses in this state.

c) A combination of a) and b).

the semantics of a Power State should be clearly defined ๐Ÿ’… limitation (curtailment) of the power an Energy Object uses in a state may be specified by:

  • An absolute power value.
  • A percentage value of power relative to the Energy Object's Nameplate Power.
  • An indication of power relative to another Power State. For example, specify that power in state A is less than in state B.
  • For supporting Power State management, an Energy Object provides statistics on Power States, including the time an Energy Object spent in a certain Power State and the number of times an Energy Object entered a Power State ๐Ÿ“Š the receipts are real ๐Ÿงพ

when requesting that an Energy Object enter a Power State, you can use the Power State's name or number ๐ŸŽฏ optionally, an absolute or percentage of Nameplate Power can be provided so the Energy Object can transition to a nearest or equivalent Power State ๐Ÿฆ‹

when an Energy Object is set to a particular Power State, the device or component it represents may be busy ๐Ÿ˜ญ the Energy Object should set the desired Power State and then update the actual Power State once the device or component changes ๐Ÿ”„ so there are two Power State (Class) control attributes: actual and requested ๐Ÿ’…

the following sections describe well-known Power States for devices and components that should be modeled in the information model ๐ŸŒŸ

6.5.1. Power State Sets ๐Ÿ—‚๏ธ

there are several standards and implementations of Power State Sets ๐ŸŒˆ the Energy Object (Class) supports modeling one or multiple Power State Set implementations on the device or component at the same time ๐Ÿซถ

there are currently three Power State Sets specified by IANA ๐Ÿ‘‘

   IEEE1621 (256) - [IEEE1621]
   DMTF (512)     - [DMTF]
   EMAN (768)     - [RFC7326]

the specific states for each Power State Set are in the following sections ๐Ÿ“– the guidelines for changing Power State Sets are in the IANA Considerations section ๐Ÿง

6.5.2. Power State Set: IEEE1621 ๐ŸŸข

the IEEE1621 Power State Set [IEEE1621] has three rudimentary states: on, off, or sleep ๐Ÿ˜ด

in IEEE1621, devices are limited to three basic Power States: on (2), sleep (1), and off (0) ๐Ÿ”‹ any additional Power States are variants of one of the basic states, rather than a fourth state [IEEE1621] ๐Ÿ’œ simple, clean, iconic โœจ

6.5.3. Power State Set: DMTF ๐Ÿ–ฅ๏ธ

the DMTF [DMTF] standards organization has defined a power profile standard based on the CIM (Common Information Model), which has 15 Power States ๐Ÿค“

the DMTF standard is aimed at hosts and computers ๐Ÿ’ป details about the semantics of each Power State in the DMTF Power State Set can be found in the DMTF Power State Management Profile specification [DMTF] ๐Ÿ“š

the DMTF power profile extends ACPI Power States ๐Ÿงฉ here's the mapping between the DMTF and ACPI Power State Sets ๐Ÿ—บ๏ธ

   DMTF                                 ACPI
   ------------------------------------------------
   Reserved (0)
   Reserved (1)
   ON (2)                               G0/S0
   Sleep-Light (3)                      G1/S1 G1/S2
   Sleep-Deep (4)                       G1/S3
   Power Cycle (Off-Soft) (5)           G2/S5
   Off-Hard (6)                         G3
   Hibernate (Off-Soft) (7)             G1/S4
   Off-Soft (8)                         G2/S5
   Power Cycle (Off-Hard) (9)           G3
   Master Bus Reset (10)                G2/S5
   Diagnostic Interrupt (11)            G2/S5
   Off-Soft Graceful (12)               G2/S5
   Off-Hard Graceful (13)               G3
   MasterBus Reset Graceful (14)        G2/S5
   Power Cycle Off-Soft Graceful (15)   G2/S5
   Power Cycle Off-Hard Graceful (16)   G3

6.5.4. Power State Set: IETF EMAN โœจ

okay so the EMAN Power States are basically a glow-up of the basic Power States from [IEEE1621] ๐Ÿ’… and they also pull in the Power States from [ACPI] and [DMTF] ๐Ÿซถ. So on top of the non-operational states from [ACPI] and [DMTF], there are a bunch of intermediate operational states too ๐Ÿฆ‹.

Physical devices and components are expected to support the EMAN Power State Set, or else they get modeled through an Energy Object that supports these states ๐ŸŽ€.

An Energy Object might implement fewer or more Power States than a particular EMAN Power State Set specifies ๐Ÿงš. When that happens, the Energy Object can work out its own mapping onto the predefined EMAN Power States in that set ๐Ÿ’–.

There are twelve EMAN Power States that expand on [IEEE1621] ๐ŸŒˆ. The expanded list is derived from [CISCO-EW] and is split into six operational states and six non-operational states โœจ.

The lowest non-operational state is 0, and the highest is 5 ๐Ÿ˜ญ. Each non-operational state corresponds to an [ACPI] Global and System state between G3 (hard-off) and G1 (sleeping) ๐Ÿ”ฅ. Each operational state represents a performance state and may be mapped to [ACPI] states P0 (maximum performance power) through P5 (minimum performance and minimum power) ๐Ÿ’œ.

In each of the non-operational states (from mechoff(0) to ready(5)), the Power State before it is expected to have a lower Power value and a longer delay in returning to an operational state:

  • mechoff(0): An off state where no Energy Object features are available. The Energy Object is unavailable. No energy is being consumed, and the power connector can be removed.
  • softoff(1): Similar to mechoff(0), but some components remain powered or receive trace power so that the Energy Object can be awakened from its off state. In softoff(1), no context is saved, and the device typically requires a complete boot when awakened.
  • hibernate(2): No Energy Object features are available. The Energy Object may be awakened without requiring a complete boot, but the time for availability is longer than sleep(3). An example for state hibernate(2) is a save-to-disk state where DRAM context is not maintained. Typically, energy consumption is zero or close to zero.
  • sleep(3): No Energy Object features are available, except for out-of-band management, such as wake-up mechanisms. The time for availability is longer than standby(4). An example for state sleep(3) is a save-to-RAM state, where DRAM context is maintained. Typically, energy consumption is close to zero.
  • standby(4): No Energy Object features are available, except for out-of-band management, such as wake-up mechanisms. This mode is analogous to cold-standby. The time for availability is longer than ready(5). For example, processor context may not be maintained. Typically, energy consumption is close to zero.
  • ready(5): No Energy Object features are available, except for out-of-band management, such as wake-up mechanisms. This mode is analogous to hot-standby. The Energy Object can be quickly transitioned into an operational state. For example, processors are not executing, but processor context is maintained.
  • lowMinus(6): Indicates that some Energy Object features may not be available and the Energy Object has taken measures or selected options to use less energy than low(7).
  • low(7): Indicates that some Energy Object features may not be available and the Energy Object has taken measures or selected options to use less energy than mediumMinus(8).
  • mediumMinus(8): Indicates that all Energy Object features are available but the Energy Object has taken measures or selected options to use less energy than medium(9).
  • medium(9): Indicates that all Energy Object features are available but the Energy Object has taken measures or selected options to use less energy than highMinus(10).
  • highMinus(10): Indicates that all Energy Object features are available and the Energy Object has taken measures or selected options to use less energy than high(11).
  • high(11): Indicates that all Energy Object features are available and the Energy Object may use the maximum energy as indicated by the Nameplate Power.

6.5.5. Power State Sets Comparison ๐Ÿ“

a comparison of Power States from different Power State Sets is laid out in the following tables ๐Ÿ’…:

Non-operational states:

IEEE1621  DMTF           ACPI         EMAN
--------------------------------------------------
off       Off-Hard       G3/S5        mechoff(0)
off       Off-Soft       G2/S5        softoff(1)
off       Hibernate      G1/S4        hibernate(2)
sleep     Sleep-Deep     G1/S3        sleep(3)
sleep     Sleep-Light    G1/S2        standby(4)
sleep     Sleep-Light    G1/S1        ready(5)

Operational states:

IEEE1621  DMTF         ACPI           EMAN
----------------------------------------------------
on        on           G0/S0/P5       lowMinus(6)
on        on           G0/S0/P4       low(7)
on        on           G0/S0/P3       mediumMinus(8)
on        on           G0/S0/P2       medium(9)
on        on           G0/S0/P1       highMinus(10)
on        on           G0/S0/P0       high(11)

6.6. Relationships ๐Ÿ’œ

the Energy Object (Class) holds a set of Relationship (Class) attributes so it can model how devices and components connect to each other ๐Ÿ”—. Two Energy Objects can set up an Energy Object Relationship to show the deployment topology from an Energy Management point of view ๐Ÿงš.

Relationships are modeled with a Relationship (Class) that holds the UUID of the other participant plus a name describing the type of relationship [CHEN] โœจ. There are three types: Power Source, Metering, and Aggregations ๐ŸŒธ.

  • A Power Source Relationship is a relationship where one Energy Object provides power to one or more Energy Objects. This gives a view of the physical wiring topology, like a data center server getting power from two specific Power Interfaces on two different PDUs ๐Ÿ”Œ.
Note: A Power Source Relationship may or may not change as the direction of power changes between two Energy Objects. The relationship may remain to indicate that the change of power direction was unintended or an error condition.
  • A Metering Relationship is a relationship where one Energy Object measures power, energy, demand, or Power Attributes of one or more other Energy Objects. This gives the view of the Metering topology. Physical meters can go anywhere in a power distribution tree. For example, utility meters monitor and report accumulated power consumption of the entire building. Logically, the Metering topology overlaps with the wiring topology, since meters are connected to the wiring topology. A typical example is meters that clamp onto the existing wiring ๐ŸŽ€.
  • An Aggregation Relationship is a relationship where one Energy Object aggregates Energy Management information of one or more other Energy Objects. This gives a model of devices that may aggregate (sum, average, etc.) values for other devices. It's slightly different from the other relationships, since it refers more to a management function ๐Ÿซถ.

In some situations, it isn't possible to discover the Energy Object Relationships, so an EnMS or administrator has to set them manually ๐Ÿ™ˆ. Since relationships can be assigned by hand, the following sections describe guidelines for using them ๐Ÿ’–.

6.6.1. Relationship Conventions and Guidelines ๐Ÿ“œ

this Energy Management framework doesn't impose many "MUST" rules for Energy Object Relationships ๐Ÿฅน. There are always corner cases that can be excluded by making stricter specifications for relationships ๐Ÿฆ‹. Instead, the framework proposes a series of guidelines, indicated with "SHOULD" and "MAY" ๐ŸŒˆ.

6.6.2. Guidelines: Power Source โšก

Power Source Relationships are meant to identify the connections between Power Interfaces. This is analogous to a Layer 2 connection in networking devices (a "one-hop connection") ๐Ÿ’….

The preferred modeling is for Power Interfaces to take part in Power Source Relationships. In some cases, Energy Objects may not be able to model Power Interfaces, so a Power Source Relationship can be set up between two Energy Objects or two non-connected Power Interfaces ๐Ÿงš.

Strictly speaking, components and Power Interfaces on the same Device do provide or receive energy from each other. But the Power Source Relationship is meant to show energy transfer between Devices, so the relationship is implied when both are on the same Device โœจ.

An Energy Object SHOULD NOT establish a Power Source Relationship with a component ๐Ÿ™…โ€โ™€๏ธ.

  • A Power Source Relationship SHOULD be established with the next known Power Interface in the wiring topology.
  • The next known Power Interface in the wiring topology is the next device implementing the framework. In some cases, the domain of devices under management may include devices that don't implement the framework. In those cases, the Power Source Relationship can be established with the next device in the topology that implements the framework and logically shows the Power Source of the device ๐Ÿซถ.
  • Transitive Power Source Relationships SHOULD NOT be established. For example, if Energy Object A has a Power Source Relationship "Poweredby" with Energy Object B, and Energy Object B has a Power Source Relationship "Poweredby" with Energy Object C, then Energy Object A SHOULD NOT have a Power Source Relationship "Poweredby" with Energy Object C ๐ŸŒธ.

6.6.3. Guidelines: Metering Relationship ๐Ÿ“

Metering Relationships are meant to show when one device acting as a meter is measuring the power or energy at a point in a power distribution system. Since one point in a power distribution system may cover many devices within a wiring topology, this relationship type can be seen as a set ๐Ÿ“.

Some devices may include hardware that can measure power for components, outlets, or the entire device. For example, some PDUs can measure power for each outlet and are commonly referred to as metered-by-outlet. Others can control power at each power outlet but only measure power at the power inlet, which is commonly referred to as metered-by-device ๐Ÿ”ฅ.

The Metering Relationship could be used to represent a device as metered-by-outlet or metered-by-device, but the Metering Relationship SHOULD be used to model the relationship between a meter and all devices covered by the meter downstream in the power distribution system ๐Ÿ’œ.

In general:

  • A Metering Relationship MAY be established with any other Energy Object, component, or Power Interface.
  • Transitive Metering Relationships MAY be used.
  • When there is a series of meters for one Energy Object, the Energy Object MAY establish a Metering Relationship with one or more of the meters ๐ŸŽ€.

6.6.4. Guidelines: Aggregation ๐Ÿงฎ

Okay bestie, aggregation relationships are for when one device is the one collecting values from other devices ๐Ÿ’– Usually that's energy or power numbers, not stuff inside the same box (like components or Power Interfaces on one device) ๐ŸŽ€

The whole point is to show when one device is giving you aggregate values for a set of other devices, but only when it's not already obvious from the power source or plain containment within a device. No need to restate what's already clear ๐Ÿ’…

Setting up aggregation relationships inside the same device would make modeling way more complicated ๐Ÿ˜ญ Plus, the aggregated values can be implied from the power inlets, outlets, and Energy Object values on that same device ๐ŸŒธ

Since an EnMS is naturally an aggregation point โœจ, you don't need to model Aggregation for Energy Management Systems.

The Aggregation Relationship is meant for power and energy ๐Ÿ”ฅ It MAY be used to aggregate other values from the information model, but the rules and whether each attribute can logically be aggregated are out of scope for this document ๐Ÿฆ‹

In general:

  • A Device SHOULD NOT establish an Aggregation Relationship with components contained on the same device.
  • A Device SHOULD NOT establish an Aggregation Relationship with the Power Interfaces contained on the same device.
  • A Device SHOULD NOT establish an Aggregation Relationship with an EnMS.
  • Aggregators SHOULD log or provide notification in the case of errors or missing values while performing Aggregation.

6.6.5. Energy Object Relationship Extensions ๐ŸŒˆ

This Energy Management framework is based on three relationship types: Aggregation, Metering, and Power Source ๐Ÿ’œ

It was designed with possible future extensions in mind, new Energy Object Relationships that could show up later โญ Here are a couple of examples:

  • Some Devices that may not be IP connected could be modeled with a proxy relationship to an Energy Object within the domain ๐Ÿงš This type of proxy relationship is left for further development.
  • A Power Distribution Unit (PDU) lets devices and components like outlets get "ganged" together as one logical entity for simpler management ๐Ÿ‘‘ That could be modeled with an extension called a "gang relationship", whose semantics would specify the Energy Objects' grouping.

7. Energy Management Information Model ๐Ÿ‘‘

Okay this section is where the concepts from the framework get turned into an information model ๐ŸŽ€ It's a reference for implementers, and it's implemented as MIB modules in the different related IETF EMAN documents. Other programming structures with different data models could be used too ๐Ÿฆ‹

Data modeling specifications of this information model may, where needed, specify which attributes are required or optional ๐Ÿ’…

Here's the UML-to-equivalent-notation cheat sheet, bestie:

   Syntax

      Unified Modeling
      Language (UML)
      Construct
      [ISO-IEC-19501-2005]  Equivalent Notation
      --------------------  ----------------------------------
      Notes                 // Notes

      Class
         (Generalization)   CLASS name {member..}
      Subclass
         (Specialization)   CLASS subclass
                                 EXTENDS superclass {member..}
      Class Member
         (Attribute)        attribute : type

And here's the model itself, the main event ๐Ÿ’–

   Model

      CLASS EnergyObject {

            // identification / classification
            index        : int
            name         : string
            identifier   : uuid
            alternatekey : string

            // context
            domainName      : string
            role            : string
            keywords [0..n] : string
            importance      : int

            // relationship
            relationships [0..n] : Relationship

            // measurements
            nameplate    : Nameplate
            power        : PowerMeasurement
            energy       : EnergyMeasurement
            demand       : DemandMeasurement

            // control
            powerControl [0..n] : PowerStateSet
      }

      CLASS PowerInterface EXTENDS EnergyObject {
            eoIfType : enum { inlet, outlet, both }
      }

      CLASS Device EXTENDS EnergyObject {
            eocategory             : enum { producer, consumer, meter,
      distributor, store }
            powerInterfaces [0..n] : PowerInterface
            components [0..n]      : Component
      }

      CLASS Component EXTENDS EnergyObject {
            eocategory             : enum { producer, consumer, meter,
      distributor, store }
            powerInterfaces [0..n] : PowerInterface
            components [0..n]      : Component
      }
      CLASS Nameplate {
            nominalPower : PowerMeasurement
            details      : URI
      }

      CLASS Relationship {
            relationshipType    : enum { meters, meteredby, powers,
      poweredby, aggregates, aggregatedby }
            relationshipObject  : uuid
      }

      CLASS Measurement {
            multiplier : enum { -24..24 }
            caliber    : enum { actual, estimated, static }
            accuracy   : enum { 0..10000 } // hundreds of percent
      }

      CLASS PowerMeasurement EXTENDS Measurement {
            value          : long
            units          : "W"
            powerAttribute : PowerAttribute
      }

      CLASS EnergyMeasurement EXTENDS Measurement {
            startTime : time
            units     : "kWh"
            provided  : long
            used      : long
            produced  : long
            stored    : long

      }

      CLASS TimedMeasurement EXTENDS Measurement {
            startTime  : timestamp
            value      : Measurement
            maximum    : Measurement
      }

      CLASS TimeInterval {
            value      : long
            units      : enum { seconds, milliseconds,... }
      }
      CLASS DemandMeasurement EXTENDS Measurement {
            intervalLength      : TimeInterval
            intervals           : long
            intervalMode        : enum { periodic, sliding, total }
            intervalWindow      : TimeInterval
            sampleRate          : TimeInterval
            status              : enum { active, inactive }
            measurements [0..n] : TimedMeasurements
      }

      CLASS PowerStateSet {
            powerSetIdentifier : int
            name               : string
            powerStates [0..n] : PowerState
            operState          : int
            adminState         : int
            reason             : string
            configuredTime     : timestamp
      }

      CLASS PowerState {
            powerStateIdentifier : int
            name                 : string
            cardinality          : int
            maximumPower         : PowerMeasurement
            totalTimeInState     : time
            entryCount           : long
      }

      CLASS PowerAttribute {
            acQuality  : ACQuality
      }

      CLASS ACQuality {
            acConfiguration    : enum { SNGL, DEL, WYE }
            avgVoltage         : long
            avgCurrent         : long
            thdCurrent         : long
            frequency          : long
            unitMultiplier     : int
            accuracy           : int
            totalActivePower   : long
            totalReactivePower : long
            totalApparentPower : long
            totalPowerFactor   : long
      }
      CLASS DelPhase EXTENDS ACQuality {
            phaseToNextPhaseVoltage : long
            thdVoltage              : long
      }

      CLASS WYEPhase EXTENDS ACQuality {
            phaseToNeutralVoltage : long
            thdCurrent            : long
            thdVoltage            : long
            avgCurrent            : long
      }

8. Modeling Relationships between Devices ๐Ÿงš

In this section we walk through examples of how to use the EMAN information model to model physical topologies ๐ŸŒธ Where it applies, we show how the framework works when devices can be modeled with Power Interfaces ๐Ÿ’œ We also show how it works when devices can't be modeled with Power Interfaces and can only be monitored or controlled as a whole ๐Ÿซถ For instance, a PDU may only be able to measure power and energy for the entire unit, without being able to tell apart its inlets or outlets ๐Ÿ˜ญ

8.1. Power Source Relationship โœจ

okay so the Power Source Relationship is how we model who is actually feeding power to a device ๐Ÿ”Œ It links devices, components, and/or Power Interfaces together so you can see where a device's energy is coming from ๐Ÿ’–

we're gonna walk through a few variations of modeling the reference topologies with relationships, bestie ๐Ÿฆ‹

Given for all cases:

  • Device W: A computer with one power supply. Power Interface 1 is an inlet for Device W.
  • Device X: A computer with two power supplies. Power Interface 1 and Power Interface 2 are both inlets for Device X.
  • Device Y: A PDU with multiple Power Interfaces numbered 0..10. Power Interface 0 is an inlet, and Power Interfaces 1..10 are outlets.
  • Device Z: A PDU with multiple Power Interfaces numbered 0..10. Power Interface 0 is an inlet, and Power Interfaces 1..10 are outlets.

Case 1: Simple Device with one Source ๐ŸŒธ

Physical Topology:

  • Device W inlet 1 is plugged into Device Y outlet 8.

With Power Interfaces:

  • Device W has an Energy Object representing the computer itself, as well as one Power Interface defined as an inlet.
  • Device Y would have an Energy Object representing the PDU itself (the Device), with Power Interface 0 defined as an inlet and Power Interfaces 1..10 defined as outlets.

The interfaces of the devices would have a Power Source Relationship such that:

Device W inlet 1 is powered by Device Y outlet 8.

    +-------+------+       poweredBy +------+----------+
    | PDU Y | PI 8 |-----------------| PI 1 | Device W |
    +-------+------+ powers          +------+----------+

Without Power Interfaces:

  • Device W has an Energy Object representing the computer.
  • Device Y would have an Energy Object representing the PDU.

The devices would have a Power Source Relationship such that:

Device W is powered by Device Y.

    +----------+       poweredBy +------------+
    |  PDU Y   |-----------------|  Device W  |
    +----------+ powers          +------------+

Case 2: Multiple Inlets ๐Ÿงš

Physical Topology:

  • Device X inlet 1 is plugged into Device Y outlet 8.
  • Device X inlet 2 is plugged into Device Y outlet 9.

With Power Interfaces:

  • Device X has an Energy Object representing the computer itself. It contains two Power Interfaces defined as inlets.
  • Device Y would have an Energy Object representing the PDU itself (the Device), with Power Interface 0 defined as an inlet and Power Interfaces 1..10 defined as outlets.

The interfaces of the devices would have a Power Source Relationship such that:

Device X inlet 1 is powered by Device Y outlet 8.

Device X inlet 2 is powered by Device Y outlet 9.

    +-------+------+        poweredBy+------+----------+
    |       | PI 8 |-----------------| PI 1 |          |
    |       |      |powers           |      |          |
    | PDU Y +------+        poweredBy+------+ Device X |
    |       | PI 9 |-----------------| PI 2 |          |
    |       |      |powers           |      |          |
    +-------+------+                 +------+----------+

Without Power Interfaces:

  • Device X has an Energy Object representing the computer. Device Y has an Energy Object representing the PDU.

The devices would have a Power Source Relationship such that:

Device X is powered by Device Y.

    +----------+       poweredBy +------------+
    |  PDU Y   |-----------------|  Device X  |
    +----------+ powers          +------------+

Case 3: Multiple Sources ๐Ÿ’…

Physical Topology:

  • Device X inlet 1 is plugged into Device Y outlet 8.
  • Device X inlet 2 is plugged into Device Z outlet 9.

With Power Interfaces:

  • Device X has an Energy Object representing the computer itself. It contains two Power Interfaces defined as inlets.
  • Device Y would have an Energy Object representing the PDU itself (the Device), with Power Interface 0 defined as an inlet and Power Interfaces 1..10 defined as outlets.
  • Device Z would have an Energy Object representing the PDU itself (the Device), with Power Interface 0 defined as an inlet and Power Interfaces 1..10 defined as outlets.

The interfaces of the devices would have a Power Source Relationship such that:

Device X inlet 1 is powered by Device Y outlet 8.

Device X inlet 2 is powered by Device Z outlet 9.

    +-------+------+        poweredBy+------+----------+
    | PDU Y | PI 8 |-----------------| PI 1 |          |
    |       |      |powers           |      |          |
    +-------+------+                 +------+          |
                                            | Device X |
    +-------+------+        poweredBy+------+          |
    | PDU Z | PI 9 |-----------------| PI 2 |          |
    |       |      |powers           |      |          |
    +-------+------+                 +------+----------+

Without Power Interfaces:

  • Device X has an Energy Object representing the computer. Devices Y and Z would both have respective Energy Objects representing each entire PDU.

The devices would have a Power Source Relationship such that:

Device X is powered by Device Y and powered by Device Z.

    +----------+           poweredBy +------------+
    |  PDU Y   |---------------------|  Device X  |
    +----------+ powers              +------------+

    +----------+           poweredBy +------------+
    |  PDU Z   |---------------------|  Device X  |
    +----------+ powers              +------------+

8.2. Metering Relationship ๐Ÿ“

okay bestie, a meter in a power distribution system can logically measure the power or energy for all the devices downstream from it ๐Ÿ”ฅ so a Metering Relationship can be seen as a relationship between a meter and all of those downstream devices ๐Ÿ’œ

we define it in this case as a Metering Relationship between a meter and the devices downstream from that meter โœจ

  +-----+---+    meteredBy +--------+   poweredBy +-------+
  |Meter| PI|--------------| switch |-------------| phone |
  +-----+---+ meters       +--------+ powers      +-------+
          |                                           |
          |                                 meteredBy |
          +-------------------------------------------+
           meters

so in cases where the Power Source topology cannot be discovered or derived from the information available in the Energy Management Domain, you can use the Metering topology to relate the upstream meter to the downstream devices, even without specific Power Source Relationships ๐Ÿฆ‹

a Metering Relationship can happen between devices that aren't directly connected, like this ๐ŸŒˆ

                       +---------------+
                       |   Device 1    |
                       +---------------+
                       |      PI       |
                       +---------------+
                               |
                       +---------------+
                       |     Meter     |
                       +---------------+
                               .
                               .
                               .
              meters        meters           meters
        +----------+   +----------+   +-----------+
        | Device A |   | Device B |   | Device C  |
        +----------+   +----------+   +-----------+

and this is kinda like how communications networks model connections between servers (meters) and clients (devices) when the complete Layer 2 topology between them isn't known ๐Ÿ“


8.3. Aggregation Relationship ๐Ÿง

some devices can act as Aggregation points for other devices ๐Ÿ’– for example, a PDU controller device might contain the summation of power and energy readings for many PDU devices, so the PDU controller will have aggregate values for power and energy for a group of PDU devices ๐Ÿ‘‘

this Aggregation is independent of the physical power or communication topology, so it doesn't care how things are wired up ๐Ÿ™ˆ

the functions an Aggregation point may perform include calculating things like average, count, maximum, median, and minimum, or listing (collecting) the Aggregation values, etc. ๐Ÿ’…

based on IETF experience gained on Aggregations [RFC7015], the Aggregation function in the EMAN framework is limited to summation โœจ that's it, just adding stuff up ๐Ÿซถ

when Aggregation happens across a set of entities, values to be aggregated may be missing for some of those entities ๐Ÿ˜ญ the EMAN framework does not specify how these should be treated, because different implementations may have good reason to take different approaches ๐ŸŒธ one common treatment is to define the Aggregation as missing if any of the constituent elements are missing (useful to be most precise) ๐ŸŽ€ another is to treat the missing value as zero (useful to have continuous data streams) ๐ŸŒŠ

the specifications of Aggregation functions are out of scope for the EMAN framework, but the equipment vendor must clearly specify them ๐Ÿ”ฅ


9. Relationship to Other Standards ๐ŸŒˆ

this Energy Management framework uses existing standards as much as possible ๐Ÿซถ especially for information modeling and data modeling [RFC3444] ๐Ÿ’œ

the data model for power- and energy-related objects is based on [IEC61850] โญ

specific examples include:

  • The scaling factor, which represents Energy Object usage magnitude, conforms to the [IEC61850] definition of unit multiplier for the SI (System International) units of measure.
  • The electrical characteristics are based on the ANSI and IEC Standards, which require that we use an accuracy class for power measurement. ANSI and IEC define the following accuracy classes for power measurement:
    • IEC 62053-22 and 60044-1 classes 0.1, 0.2, 0.5, 1, and 3.
    • ANSI C12.20 classes 0.2 and 0.5.
  • The electrical characteristics and quality adhere closely to the [IEC61850-7-4] standard for describing AC measurements. โšก
  • The Power State definitions are based on the DMTF Power State Profile and ACPI models, with operational state extensions. ๐Ÿงš

10. Security Considerations ๐Ÿ”โœจ

Okay bestie, this part is serious, so let's get into it ๐Ÿ’…. Some or all of the data attributes specified here may be sensitive or vulnerable in some network environments. Reading or writing them without proper protection, like encryption or access authorization, will hurt network capabilities ๐Ÿ˜ญ. Event logs for audit purposes on configuration and other changes should be generated under current authorization, audit, and accounting principles. That helps with investigations, whether the cause is a compromise or a benign misconfiguration, and with any reporting requirements ๐Ÿ“‹.

The information and control capabilities in this framework could be exploited, to the detriment of a site or deployment. Implementers of the framework SHOULD examine and mitigate security threats with respect to these new capabilities ๐Ÿ›ก๏ธ.

"User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)" [RFC3414] gives a really good breakdown of threats and mitigations for SNMPv3. You can use it as a guide when implementing this framework with other protocols ๐Ÿฆ‹.

10.1. Security Considerations for SNMP

Readable objects in MIB modules (meaning objects with a MAX-ACCESS other than not-accessible) may be considered sensitive or vulnerable in some network environments. It's important to control GET and/or NOTIFY access to these objects, and possibly to encrypt their values when they're sent over the network via SNMP ๐Ÿ”’.

Supporting SET operations in a non-secure environment without proper protection can have a negative effect on network operations ๐Ÿ’€.

For example:

  • Unauthorized changes to the Energy Management Domain or business context of a device will result in misreporting or interruption of power โšก.
  • Unauthorized changes to a Power State will disrupt the power settings of the different devices, and therefore the state of functionality of the respective devices ๐Ÿ”Œ.
  • Unauthorized changes to the demand history will disrupt proper accounting of energy usage ๐Ÿ“‰.

With respect to data transport, SNMP versions prior to SNMPv3 did not include adequate security ๐Ÿ™ˆ. Even if the network itself is secure (for example, by using IPsec), there's still no secure control over who on that secure network is allowed to access and GET/SET (read/change/create/delete) the objects in these MIB modules. Main character energy, but make it a security hole ๐Ÿ˜ค.

It is recommended that implementers consider the security features provided by the SNMPv3 framework (see [RFC3411]), including full support for the SNMPv3 cryptographic mechanisms for authentication and confidentiality ๐Ÿ”.

Deployment of SNMP versions prior to SNMPv3 is not recommended. Instead, it is recommended to deploy SNMPv3 and enable cryptographic security. It's then a customer/operator responsibility to make sure the SNMP entity that gives access to an instance of these MIB modules is properly configured, so access to the objects goes only to those principals (users) who have legitimate rights to GET or SET (change/create/delete) them ๐Ÿซถ.

11. IANA Considerations ๐Ÿ—‚๏ธ

11.1. IANA Registration of New Power State Sets

This document specifies an initial set of Power State Sets. The list of these Power State Sets with their numeric identifiers is given in Section 6. IANA maintains the lists of Power State Sets ๐ŸŒธ.

New assignments for a Power State Set are administered by IANA through Expert Review [RFC5226], which means review by one of a group of experts designated by an IETF Area Director. The group of experts must check that the requested state is complete and accurate in its description. A purely vendor-specific implementation of a Power State Set shall not be adopted, since that would lead to a proliferation of Power State Sets ๐Ÿšซ.

Power States in a Power State Set are limited to 255 distinct values. A new Power State Set must be assigned the next available numeric identifier that is a multiple of 256 ๐Ÿ”ข.

11.1.1. IANA Registration of the IEEE1621 Power State Set

This document specifies a set of values for the IEEE1621 Power State Set [IEEE1621]. The list of these values with their identifiers is given in Section 6.5.2. IANA created a new registry for IEEE1621 Power State Set identifiers and filled it with the initial list of identifiers ๐Ÿฆ‹.

New assignments (or, potentially, deprecation) for the IEEE1621 Power State Set are administered by IANA through Expert Review [RFC5226].

11.1.2. IANA Registration of the DMTF Power State Set

This document specifies a set of values for the DMTF Power State Set [DMTF]. The list of these values with their identifiers is given in Section 6.5.3. IANA has created a new registry for DMTF Power State Set identifiers and filled it with the initial list of identifiers โœจ.

New assignments (or, potentially, deprecation) for the DMTF Power State Set are administered by IANA through Expert Review [RFC5226].

The group of experts must check for conformance with the DMTF standard [DMTF] in addition to checking for completeness and accuracy of the description ๐Ÿง.

11.1.3. IANA Registration of the EMAN Power State Set

This document specifies a set of values for the EMAN Power State Set. The list of these values with their identifiers is given in Section 6.5.4. IANA has created a new registry for EMAN Power State Set identifiers and filled it with the initial list of identifiers ๐Ÿ’œ.

New assignments (or, potentially, deprecation) for the EMAN Power State Set are administered by IANA through Expert Review [RFC5226].

11.2. Updating the Registration of Existing Power State Sets

As standards evolve, it may become important to deprecate some existing Power State Sets, or to add or deprecate some Power States within a Power State Set ๐Ÿ”„.

The registrant shall post an Internet-Draft with a clear specification on the deprecation of Power State Sets or Power States registered with IANA. The deprecation or addition shall be administered by IANA through Expert Review [RFC5226], which means review by one of a group of experts designated by an IETF Area Director. The process should also allow for a mechanism for cases where others have significant objections to claims regarding the deprecation of a registration ๐Ÿงพ.

12. References ๐Ÿ“š

12.1. Normative References

  • [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
  • [RFC3411] Harrington, D., Presuhn, R., and B. Wijnen, "An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks", STD 62, RFC 3411, December 2002.
  • [RFC3414] Blumenthal, U. and B. Wijnen, "User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)", STD 62, RFC 3414, December 2002.
  • [RFC3444] Pras, A. and J. Schoenwaelder, "On the Difference between Information Models and Data Models", RFC 3444, January 2003.
  • [RFC4122] Leach, P., Mealling, M., and R. Salz, "A Universally Unique IDentifier (UUID) URN Namespace", RFC 4122, July 2005.
  • [RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 5226, May 2008.
  • [RFC6933] Bierman, A., Romascanu, D., Quittek, J., and M. Chandramouli, "Entity MIB (Version 4)", RFC 6933, May 2013.
  • [RFC6988] Quittek, J., Ed., Chandramouli, M., Winter, R., Dietz, T., and B. Claise, "Requirements for Energy Management", RFC 6988, September 2013.
  • [ISO-IEC-19501-2005] ISO/IEC 19501:2005, Information technology, Open Distributed Processing -- Unified Modeling Language (UML) Version 1.4.2, January 2005.

12.2. Informative References

13. Acknowledgments ๐Ÿซถ

The authors would like to thank Michael Brown for his editorial work, which improved the text dramatically ๐Ÿ‘‘. Thanks to Rolf Winter for his feedback, and to Bill Mielke for his feedback and very detailed review ๐Ÿ™Œ. Thanks to Bruce Nordman for brainstorming, with numerous conference calls and discussions ๐Ÿง . Finally, the authors would like to thank the EMAN chairs: Nevil Brownlee, Bruce Nordman, and Tom Nadeau ๐Ÿ’–.

Appendix A. Information Model Listing ๐Ÿ“‹

   A. EnergyObject (Class):

   r  index         Integer            An [RFC6933] entPhysicalIndex

   w  name          String             An [RFC6933] entPhysicalName

   r  identifier    uuid               An [RFC6933] entPhysicalUUID

okay bestie, here's the rest of the listing ๐Ÿ’…โœจ

   rw alternatekey  String             A manufacturer-defined string
                                       that can be used to identify the
                                       Energy Object

   rw domainName    String             The name of an Energy Management
                                       Domain for the Energy Object

   rw role          String             An administratively assigned name
                                       to indicate the purpose an
                                       Energy Object serves in the
                                       network

   rw keywords      String             A list of keywords or [0..n] tags
                                       that can be used to group Energy
                                       Objects for reporting or
                                       searching

   rw importance    Integer            Specifies a ranking of how
                                       important the Energy Object is
                                       (on a scale of 1 to 100) compared
                                       with other Energy Objects

   rw relationships Relationship       A list of relationships between
      [0..n]                           this Energy Object and other
                                       Energy Objects

   r  nameplate     Nameplate          The nominal PowerMeasurement of
                                       the Energy Object as specified by
                                       the device manufacturer

   r  power         PowerMeasurement   The present power measurement of
                                       the Energy Object

   r  energy        EnergyMeasurement  The present energy measurement
                                       for the Energy Object

   r  demand        DemandMeasurement  The present demand measurement
                                       for the Energy Object

   r  powerControl  PowerStateSet      A list of Power States Sets the
      [0..n]                           Energy Object supports


   B. PowerInterface (Class) inherits from EnergyObject:

   r  eoIfType      Enumeration        Indicates whether the Power
                                       Interface is an inlet, outlet,
                                       or both


   C. Device (Class) inherits from EnergyObject:

   rw eocategory       Enumeration     Broadly indicates whether
                                       the Device is a producer,
                                       consumer, meter, distributor,
                                       or store of energy

   r  powerInterfaces  PowerInterface  A list of PowerInterfaces
      [0..n]                           contained in this Device

   r  components       Component       A list of components
      [0..n]                           contained in this Device


   D. Component (Class) inherits from EnergyObject:

   rw eocategory       Enumeration     Broadly indicates whether the
                                       component is a producer,
                                       consumer, meter, distributor, or
                                       store of energy

   r  powerInterfaces  PowerInterface  A list of PowerInterfaces
      [0..n]                           contained in this component

   r  components       Component       A list of components contained
      [0..n]                           in this component

   E. Nameplate (Class):

   r  nominalPower     PowerMeasurement  The nominal power of the Energy
                                         as specified by the device
                                         manufacturer

   rw details          URI               An [RFC3986] URI that links to
                                         manufacturer information about
                                         the nominal power of a device


   F. Relationship (Class):

   rw relationshipType    Enumeration   A description of the
                                        relationship, indicating
                                        meters, meteredby, powers,
                                        poweredby, aggregates, or
                                        aggregatedby

   rw relationshipObject  uuid          An [RFC6933] entPhysicalUUID
                                        that indicates the other
                                        participating Energy Object in
                                        the relationship


   G. Measurement (Class):

   r  multiplier  Enumeration    The magnitude of the Measurement
                                 in the range -24..24

   r  caliber     Enumeration    Specifies how the Measurement was
                                 obtained -- actual, estimated, or
                                 static

   r  accuracy    Enumeration    Specifies the accuracy of the
                                 measurement, if applicable, as
                                 0..10000, indicating hundreds of
                                 percent


   H. PowerMeasurement (Class) inherits from Measurement:

   r value          Long             A measurement value of
                                     power

   r units          "W"              The units of measure for
                                     the power -- "Watts"

   r powerAttribute PowerAttribute   Measurement of the electrical
                                     current -- voltage, phase, and/or
                                     frequencies for the
                                     PowerMeasurement


   I. EnergyMeasurement (Class) inherits from Measurement:

   r startTime  Time          Specifies the start time of the
                              EnergyMeasurement interval

   r units      "kWh"         The units of measure for the energy --
                              kilowatt-hours

   r provided   Long          A measurement of energy provided

   r used       Long          A measurement of energy used/consumed

   r produced   Long          A measurement of energy produced

   r stored     Long          A measurement of energy stored


   J. TimedMeasurement (Class) inherits from Measurement:

   r  startTime timestamp     A start time of a measurement

   r  value     Measurement   A measurement value

   r  maximum   Measurement   A maximum value measured since a previous
                              timestamp


   K. TimeInterval (Class):

   r  value     Long          A value of time

   r  units     Enumeration   A magnitude of time, expressed as seconds
                              with an SI prefix (milliseconds, etc.)


   L. DemandMeasurement (Class) inherits from Measurement:

   rw intervalLength  TimeInterval     The length of time over which to
                                       compute average energy

   rw intervals       Long             The number of intervals that can
                                       be measured

   rw intervalMode    Enumeration      The mode of interval
                                       measurement -- periodic, sliding,
                                       or total

   rw intervalWindow  TimeInterval     The duration between the starting
                                       time of one sliding window and
                                       the next starting time

   rw sampleRate      TimeInterval     The sampling rate at which to
                                       poll power in order to compute
                                       demand

   rw status          Enumeration      A control to start or stop demand
                                       measurement -- active or inactive

   r  measurements    TimedMeasurement A collection of TimedMeasurements
      [0..n]                           to compute demand


   M. PowerStateSet (Class):

   r  powerSetIdentifier Integer       An IANA-assigned value indicating
                                       a Power State Set

   r  name               String        A Power State Set name

   r  powerStates        PowerState    A set of Power States for the
      [0..n]                           given identifier

   rw operState          Integer       The current operational Power
                                       State

   rw adminState         Integer       The desired Power State

   rw reason             String        Describes the reason
                                       for the adminState

   r  configuredTime     timestamp     Indicates the time of
                                       the desired Power State


   N. PowerState (Class):

   r  powerStateIdentifier Integer           An IANA-assigned value
                                             indicating a Power State

   r  name                 String            A name for the Power State
   r  cardinality          Integer           A value indicating an
                                             ordering of the Power State

   rw maximumPower         PowerMeasurement  Indicates the maximum power
                                             for the Energy Object at
                                             this Power State

   r  totalTimeInState     Time              Indicates the total time
                                             an Energy Object has been
                                             in this Power State since
                                             the last reset

   r  entryCount           Long              Indicates the number of
                                             times the Energy Object
                                             has entered or changed to
                                             this state


   O. PowerAttribute (Class):

   r acQuality          ACQuality    Describes AC Power Attributes for
                                     a Measurement

   P. ACQuality (Class):

   r acConfiguration    Enumeration  Describes the physical
                                     configuration of alternating
                                     current as single phase (SNGL),
                                     three-phase delta (DEL), or
                                     three-phase Y (WYE)

   r avgVoltage         Long         The average of the voltage measured
                                     over an integral number of AC
                                     cycles [IEC61850-7-4] 'Vol'

   r avgCurrent         Long         The current per phase
                                     [IEC61850-7-4] 'Amp'

   r thdCurrent         Long         A calculated value for the current
                                     Total Harmonic Distortion (THD).
                                     The method of calculation is not
                                     specified [IEC61850-7-4] 'ThdAmp'

   r frequency          Long         Basic frequency of the AC circuit
                                     [IEC61850-7-4] 'Hz'

   r unitMultiplier     Integer      Magnitude of watts for the usage
                                     value in this instance

   r accuracy           Integer      Percentage value in 100ths
                                     of a percent, representing the
                                     presumed accuracy of active,
                                     reactive, and apparent power
                                     in this instance

   r totalActivePower   Long         A measured value of the actual
                                     power delivered to or consumed by
                                     the load [IEC61850-7-4] 'TotW'

   r totalReactivePower Long         A measured value of the reactive
                                     portion of the apparent power
                                     [IEC61850-7-4] 'TotVAr'

Okay bestie, the listing picks up right where we left off, and it's giving classes with measurements ๐Ÿ“โœจ

   r totalApparentPower Long         A measured value of the voltage
                                     and current, which determines the
                                     apparent power as the vector sum of
                                     real and reactive power
                                     [IEC61850-7-4] 'TotVA'

   r totalPowerFactor   Long         A measured value of the ratio of
                                     the real power flowing to the load
                                     versus the apparent power
                                     [IEC61850-7-4] 'TotPF'


   Q. DelPhase (Class) inherits from ACQuality:

   r phaseToNext      Long      A measured value of phase to
      PhaseVoltage              next phase voltages where the
                                next phase is [IEC61850-7-4]
                                'PPV'

   r thdVoltage       Long      A calculated value for the
                                voltage Total Harmonic Distortion
                                (THD) for phase to next phase.
                                The method of calculation is not
                                specified [IEC61850-7-4] 'ThdPPV'

   R. WYEPhase (Class) inherits from ACQuality:

   r phaseToNeutral  Long   A measured value of phase to
      Voltage               neutral voltage [IEC61850-7-4]
                            'PhV'

   r thdCurrent      Long   A calculated value for the current
                            Total Harmonic Distortion (THD).
                            The method of calculation is not
                            specified [IEC61850-7-4] 'ThdA'

   r thdVoltage      Long   A calculated value of the voltage
                            THD for phase to neutral
                            [IEC61850-7-4] 'ThdPhV'

   r avgCurrent      Long   A measured value of phase currents
                            [IEC61850-7-4] 'A'

Okay so the vibe here is "measure everything, label everything" ๐Ÿ”๐Ÿ’…. Totally apparent power is the vector sum of the real and reactive parts, and the power factor is the real power over the apparent power. The DelPhase and WYEPhase classes are both built on top of ACQuality, and each one comes with its own little pile of phase voltages and currents, each tagged with its IEC61850-7-4 name so nobody gets confused ๐Ÿซถ


Authors' Addresses ๐Ÿ’Œ

Here are the four besties who wrote this, with their contact info. Slide into their DMs if you have questions ๐Ÿฆ‹๐ŸŒธ

   John Parello
   Cisco Systems, Inc.
   3550 Cisco Way
   San Jose, CA  95134
   US

   Phone: +1 408 525 2339
   EMail: jparello@cisco.com


   Benoit Claise
   Cisco Systems, Inc.
   De Kleetlaan 6a b1
   Diegem 1813
   BE

   Phone: +32 2 704 5622
   EMail: bclaise@cisco.com


   Brad Schoening
   44 Rivers Edge Drive
   Little Silver, NJ  07739
   US

   EMail: brad.schoening@verizon.net


   Juergen Quittek
   NEC Europe Ltd.
   Network Laboratories
   Kurfuersten-Anlage 36
   69115 Heidelberg
   Germany

   Phone: +49 6221 90511 15
   EMail: quittek@netlab.nec.de
๐Ÿ“ฆ where this page comes from