CGMES_3_0_0
Loading...
Searching...
No Matches
CIMPP::PhaseCode Class Reference

An unordered enumeration of phase identifiers. Allows designation of phases for both transmission and distribution equipment, circuits and loads. The enumeration, by itself, does not describe how the phases are connected together or connected to ground. Ground is not explicitly denoted as a phase. Residential and small commercial loads are often served from single-phase, or split-phase, secondary circuits. For the example of s12N, phases 1 and 2 refer to hot wires that are 180 degrees out of phase, while N refers to the neutral wire. Through single-phase transformer connections, these secondary circuits may be served from one or two of the primary phases A, B, and C. For three-phase loads, use the A, B, C phase codes instead of s12N. The integer values are from IEC 61968-9 to support revenue metering applications. More...

#include <PhaseCode.hpp>

Public Types

enum  PhaseCode_ENUM {
  ABCN , ABC , ABN , ACN ,
  BCN , AB , AC , BC ,
  AN , BN , CN , A ,
  B , C , N , s1N ,
  s2N , s12N , s1 , s2 ,
  s12 , none , X , XY ,
  XN , XYN
}

Public Member Functions

 PhaseCode (PhaseCode_ENUM value)
PhaseCode & operator= (PhaseCode_ENUM rop)
 operator PhaseCode_ENUM () const
const char * debugString () const

Public Attributes

PhaseCode_ENUM value
bool initialized

Static Public Attributes

static const char debugName [] = "PhaseCode"

Friends

std::istream & operator>> (std::istream &lop, PhaseCode &rop)
std::ostream & operator<< (std::ostream &os, const PhaseCode &obj)

Detailed Description

An unordered enumeration of phase identifiers. Allows designation of phases for both transmission and distribution equipment, circuits and loads. The enumeration, by itself, does not describe how the phases are connected together or connected to ground. Ground is not explicitly denoted as a phase. Residential and small commercial loads are often served from single-phase, or split-phase, secondary circuits. For the example of s12N, phases 1 and 2 refer to hot wires that are 180 degrees out of phase, while N refers to the neutral wire. Through single-phase transformer connections, these secondary circuits may be served from one or two of the primary phases A, B, and C. For three-phase loads, use the A, B, C phase codes instead of s12N. The integer values are from IEC 61968-9 to support revenue metering applications.

Member Enumeration Documentation

◆ PhaseCode_ENUM

Enumerator
ABCN 

Phases A, B, C, and N.

ABC 

Phases A, B, and C.

ABN 

Phases A, B, and neutral.

ACN 

Phases A, C and neutral.

BCN 

Phases B, C, and neutral.

AB 

Phases A and B.

AC 

Phases A and C.

BC 

Phases B and C.

AN 

Phases A and neutral.

BN 

Phases B and neutral.

CN 

Phases C and neutral.

A 

Phase A.

B 

Phase B.

C 

Phase C.

N 

Neutral phase.

s1N 

Secondary phase 1 and neutral.

s2N 

Secondary phase 2 and neutral.

s12N 

Secondary phases 1, 2, and neutral.

s1 

Secondary phase 1.

s2 

Secondary phase 2.

s12 

Secondary phase 1 and 2.

none 

No phases specified.

X 

Unknown non-neutral phase.

XY 

Two unknown non-neutral phases.

XN 

Unknown non-neutral phase plus neutral.

XYN 

Two unknown non-neutral phases plus neutral.


The documentation for this class was generated from the following files: