1use std::collections::HashMap;
2
3use enum_iterator::all;
5use lazy_static::lazy_static;
6
7lazy_static! {
9 static ref SOURCE: HashMap<&'static [u8], Obis> = {
10 let mut a = HashMap::new();
11 for obis in all::<Obis>() {
12 a.insert(obis.clone().obis_number(), obis);
13 }
14 a
15 };
16}
17macro_rules! generate_obis {
18
19 ($( ($x:ident, $y:expr, $l:literal) ),*) => {
20 #[derive(serde::Serialize, serde::Deserialize, enum_iterator::Sequence, Eq, PartialEq, Hash, Clone)]
21 #[non_exhaustive]
22 pub enum Obis {
23 $(
24 #[doc = $l]
25 $x,
26 )*
27 }
28
29 impl Obis {
30 pub fn obis_number(&self) -> &'static [u8] {
31 match self {
32 $(
33 Self:: $x => $y,
34 )*
35 }
36 }
37
38 pub fn from_number(number: &[u8]) -> Option<Self> {
40 SOURCE.get(number).map(|x| x.clone())
41 }
42 }
43 };
44}
45
46generate_obis! {
47 (PositiveActiveEnergyTotal, &[1, 0, 1, 8, 0,255],"Positive active energy (A+) total [kWh]"),
48 (PositiveActiveEnergyTarif1, &[1, 0, 1, 8, 1,255],"Positive active energy (A+) in tariff T1 [kWh]"),
49 (PositiveActiveEnergyTarif2, &[1, 0, 1, 8, 2,255],"Positive active energy (A+) in tariff T2 [kWh]"),
50 (PositiveActiveEnergyTarif3, &[1, 0, 1, 8, 3,255],"Positive active energy (A+) in tariff T3 [kWh]"),
51 (PositiveActiveEnergyTarif4, &[1, 0, 1, 8, 4,255],"Positive active energy (A+) in tariff T4 [kWh]"),
52 (NegativeActiveEnergyTotal, &[1, 0, 2, 8, 0,255],"Negative active energy (A+) total [kWh]"),
53 (NegativeActiveEnergyTarif1, &[1, 0, 2, 8, 1,255],"Negative active energy (A+) in tariff T1 [kWh]"),
54 (NegativeActiveEnergyTarif2, &[1, 0, 2, 8, 2,255],"Negative active energy (A+) in tariff T2 [kWh]"),
55 (NegativeActiveEnergyTarif3, &[1, 0, 2, 8, 3,255],"Negative active energy (A+) in tariff T3 [kWh]"),
56 (NegativeActiveEnergyTarif4, &[1, 0, 2, 8, 4,255],"Negative active energy (A+) in tariff T4 [kWh]"),
57 (AbsoluteActiveEnergyTotal, &[1, 0, 15, 8, 0,255],"Absolute active energy (A+) total [kWh]"),
58 (AbsoluteActiveEnergyTarif1, &[1, 0, 15, 8, 1,255],"Absolute active energy (A+) in tariff T1 [kWh]"),
59 (AbsoluteActiveEnergyTarif2, &[1, 0, 15, 8, 2,255],"Absolute active energy (A+) in tariff T2 [kWh]"),
60 (AbsoluteActiveEnergyTarif3, &[1, 0, 15, 8, 3,255],"Absolute active energy (A+) in tariff T3 [kWh]"),
61 (AbsoluteActiveEnergyTarif4, &[1, 0, 15, 8, 4,255],"Absolute active energy (A+) in tariff T4 [kWh]"),
62 (SumActiveEnergyWithoutReverseBlockadeTotal, &[1, 0, 16, 8, 0,255],"Sum active energy without reverse blockade (A+ - A-) total [kWh]"),
63 (SumActiveEnergyWithoutReverseBlockadeTarif1, &[1, 0, 16, 8, 1,255],"Sum active energy without reverse blockade (A+ - A-) in tariff T1 [kWh]"),
64 (SumActiveEnergyWithoutReverseBlockadeTarif2, &[1, 0, 16, 8, 2,255],"Sum active energy without reverse blockade (A+ - A-) in tariff T2 [kWh]"),
65 (SumActiveEnergyWithoutReverseBlockadeTarif3, &[1, 0, 16, 8, 3,255],"Sum active energy without reverse blockade (A+ - A-) in tariff T3 [kWh]"),
66 (SumActiveEnergyWithoutReverseBlockadeTarif4, &[1, 0, 16, 8, 4,255],"Sum active energy without reverse blockade (A+ - A-) in tariff T4 [kWh]"),
67 (PositiveReactiveEnergyTotal, &[1, 0, 3, 8, 0,255],"Positive reactive energy (Q+) total [kvarh]"),
68 (PositiveReactiveEnergyTarif1, &[1, 0, 3, 8, 1,255],"Positive reactive energy (Q+) in tariff T1 [kvarh]"),
69 (PositiveReactiveEnergyTarif2, &[1, 0, 3, 8, 2,255],"Positive reactive energy (Q+) in tariff T2 [kvarh]"),
70 (PositiveReactiveEnergyTarif3, &[1, 0, 3, 8, 3,255],"Positive reactive energy (Q+) in tariff T3 [kvarh]"),
71 (PositiveReactiveEnergyTarif4, &[1, 0, 3, 8, 4,255],"Positive reactive energy (Q+) in tariff T4 [kvarh]"),
72 (NegativeReactiveEnergyTotal, &[1, 0, 4, 8, 0,255],"Negative reactive energy (Q-) total [kvarh]"),
73 (NegativeReactiveEnergyTarif1, &[1, 0, 4, 8, 1,255],"Negative reactive energy (Q-) in tariff T1 [kvarh]"),
74 (NegativeReactiveEnergyTarif2, &[1, 0, 4, 8, 2,255],"Negative reactive energy (Q-) in tariff T2 [kvarh]"),
75 (NegativeReactiveEnergyTarif3, &[1, 0, 4, 8, 3,255],"Negative reactive energy (Q-) in tariff T3 [kvarh]"),
76 (NegativeReactiveEnergyTarif4, &[1, 0, 4, 8, 4,255],"Negative reactive energy (Q-) in tariff T4 [kvarh]"),
77 (ImportedInductiveReactiveEnergyQ1Total, &[1, 0, 5, 8, 0,255],"Imported inductive reactive energy in 1-st quadrant (Q1) total [kvarh]"),
78 (ImportedInductiveReactiveEnergyQ1Tarif1, &[1, 0, 5, 8, 1,255],"Imported inductive reactive energy in 1-st quadrant (Q1) in tariff T1 [kvarh]"),
79 (ImportedInductiveReactiveEnergyQ1Tarif2, &[1, 0, 5, 8, 2,255],"Imported inductive reactive energy in 1-st quadrant (Q1) in tariff T2 [kvarh]"),
80 (ImportedInductiveReactiveEnergyQ1Tarif3, &[1, 0, 5, 8, 3,255],"Imported inductive reactive energy in 1-st quadrant (Q1) in tariff T3 [kvarh]"),
81 (ImportedInductiveReactiveEnergyQ1Tarif4, &[1, 0, 5, 8, 4,255],"Imported inductive reactive energy in 1-st quadrant (Q1) in tariff T4 [kvarh]"),
82 (ImportedCapacitiveReactiveEnergyQ2Total, &[1, 0, 6, 8, 0,255],"Imported capacitive reactive energy in 2-nd quadrant (Q2) total [kvarh]"),
83 (ImportedCapacitiveReactiveEnergyQ2Tarif1, &[1, 0, 6, 8, 1,255],"Imported capacitive reactive energy in 2-nd quadr. (Q2) in tariff T1 [kvarh]"),
84 (ImportedCapacitiveReactiveEnergyQ2Tarif2, &[1, 0, 6, 8, 2,255],"Imported capacitive reactive energy in 2-nd quadr. (Q2) in tariff T2 [kvarh]"),
85 (ImportedCapacitiveReactiveEnergyQ2Tarif3, &[1, 0, 6, 8, 3,255],"Imported capacitive reactive energy in 2-nd quadr. (Q2) in tariff T3 [kvarh]"),
86 (ImportedCapacitiveReactiveEnergyQ2Tarif4, &[1, 0, 6, 8, 4,255],"Imported capacitive reactive energy in 2-nd quadr. (Q2) in tariff T4 [kvarh]"),
87 (ExportedInductiveReactiveEnergyQ3Total, &[1, 0, 7, 8, 0,255],"Exported inductive reactive energy in 3-rd quadrant (Q3) total [kvarh]"),
88 (ImportedInductiveReactiveEnergyQ3Tarif1, &[1, 0, 7, 8, 1,255],"Exported inductive reactive energy in 3-rd quadrant (Q3) in tariff T1 [kvarh]"),
89 (ImportedInductiveReactiveEnergyQ3Tarif2, &[1, 0, 7, 8, 2,255],"Exported inductive reactive energy in 3-rd quadrant (Q3) in tariff T2 [kvarh]"),
90 (ImportedInductiveReactiveEnergyQ3Tarif3, &[1, 0, 7, 8, 3,255],"Exported inductive reactive energy in 3-rd quadrant (Q3) in tariff T3 [kvarh]"),
91 (ImportedInductiveReactiveEnergyQ3Tarif4, &[1, 0, 7, 8, 4,255],"Exported inductive reactive energy in 3-rd quadrant (Q3) in tariff T4 [kvarh]"),
92 (ImportedCapacitiveReactiveEnergyQ4Total, &[1, 0, 8, 8, 0,255],"Exported capacitive reactive energy in 4-th quadrant (Q4) total [kvarh]"),
93 (ImportedCapacitiveReactiveEnergyQ4Tarif1, &[1, 0, 8, 8, 1,255],"Exported capacitive reactive energy in 4-th quadr. (Q4) in tariff T1 [kvarh]"),
94 (ImportedCapacitiveReactiveEnergyQ4Tarif2, &[1, 0, 8, 8, 2,255],"Exported capacitive reactive energy in 4-th quadr. (Q4) in tariff T2 [kvarh]"),
95 (ImportedCapacitiveReactiveEnergyQ4Tarif3, &[1, 0, 8, 8, 3,255],"Exported capacitive reactive energy in 4-th quadr. (Q4) in tariff T3 [kvarh]"),
96 (ImportedCapacitiveReactiveEnergyQ4Tarif4, &[1, 0, 8, 8, 4,255],"Exported capacitive reactive energy in 4-th quadr. (Q4) in tariff T4 [kvarh]"),
97 (ApparentEnergyTotal, &[1, 0, 9, 8, 0,255],"Apparent energy (S+) total [kVAh]"),
98 (ApparentEnergyTarif1, &[1, 0, 9, 8, 1,255],"Apparent energy (S+) in tariff T1 [kVAh]"),
99 (ApparentEnergyTarif2, &[1, 0, 9, 8, 2,255],"Apparent energy (S+) in tariff T2 [kVAh]"),
100 (ApparentEnergyTarif3, &[1, 0, 9, 8, 3,255],"Apparent energy (S+) in tariff T3 [kVAh]"),
101 (ApparentEnergyTarif4, &[1, 0, 9, 8, 4,255],"Apparent energy (S+) in tariff T4 [kVAh]"),
102 (PositveActiveEnergyPhaseL1Total, &[1, 0, 21, 8, 0,255],"Positive active energy (A+) in phase L1 total [kWh]"),
103 (PositveActiveEnergyPhaseL2Total, &[1, 0, 41, 8, 0,255],"Positive active energy (A+) in phase L2 total [kWh]"),
104 (PositveActiveEnergyPhaseL3Total, &[1, 0, 61, 8, 0,255],"Positive active energy (A+) in phase L3 total [kWh]"),
105 (NegativeActiveEnergyPhaseL1Total, &[1, 0, 22, 8, 0,255],"Negative active energy (A-) in phase L1 total [kWh]"),
106 (NegativeActiveEnergyPhaseL2Total, &[1, 0, 42, 8, 0,255],"Negative active energy (A-) in phase L2 total [kWh]"),
107 (NegativeActiveEnergyPhaseL3Total, &[1, 0, 62, 8, 0,255],"Negative active energy (A-) in phase L3 total [kWh]"),
108 (AbsoluteActiveEnergyPhaseL1Total, &[1, 0, 35, 8, 0,255],"Absolute active energy (|A|) in phase L1 total [kWh]"),
109 (AbsoluteActiveEnergyPhaseL2Total, &[1, 0, 55, 8, 0,255],"Absolute active energy (|A|) in phase L2 total [kWh]"),
110 (AbsoluteActiveEnergyPhaseL3Total, &[1, 0, 75, 8, 0,255],"Absolute active energy (|A|) in phase L3 total [kWh]"),
111 (PositveActiveMaximumDemandTotal, &[1, 0, 1, 6, 0,255],"Positive active maximum demand (A+) total [kW]"),
112 (PositveActiveMaximumDemandTarif1, &[1, 0, 1, 6, 1,255],"Positive active maximum demand (A+) in tariff T1 [kW]"),
113 (PositveActiveMaximumDemandTarif2, &[1, 0, 1, 6, 2,255],"Positive active maximum demand (A+) in tariff T2 [kW]"),
114 (PositveActiveMaximumDemandTarif3, &[1, 0, 1, 6, 3,255],"Positive active maximum demand (A+) in tariff T3 [kW]"),
115 (PositveActiveMaximumDemandTarif4, &[1, 0, 1, 6, 4,255],"Positive active maximum demand (A+) in tariff T4 [kW]"),
116 (NegativeActiveMaximumDemandTotal, &[1, 0, 2, 6, 0,255],"Negative active maximum demand (A-) total [kW]"),
117 (NegativeActiveMaximumDemandTarif1, &[1, 0, 2, 6, 1,255],"Negative active maximum demand (A-) in tariff T1 [kW]"),
118 (NegativeActiveMaximumDemandTarif2, &[1, 0, 2, 6, 2,255],"Negative active maximum demand (A-) in tariff T2 [kW]"),
119 (NegativeActiveMaximumDemandTarif3, &[1, 0, 2, 6, 3,255],"Negative active maximum demand (A-) in tariff T3 [kW]"),
120 (NegativeActiveMaximumDemandTarif4, &[1, 0, 2, 6, 4,255],"Negative active maximum demand (A-) in tariff T4 [kW]"),
121 (AbsoluteActiveMaximumDemandTotal, &[1, 0, 15, 6, 0,255],"Absolute active maximum demand (|A|) total [kW]"),
122 (AbsoluteActiveMaximumDemandTarif1, &[1, 0, 15, 6, 1,255],"Absolute active maximum demand (|A|) in tariff T1 [kW]"),
123 (AbsoluteActiveMaximumDemandTarif2, &[1, 0, 15, 6, 2,255],"Absolute active maximum demand (|A|) in tariff T2 [kW]"),
124 (AbsoluteActiveMaximumDemandTarif3, &[1, 0, 15, 6, 3,255],"Absolute active maximum demand (|A|) in tariff T3 [kW]"),
125 (AbsoluteActiveMaximumDemandTarif4, &[1, 0, 15, 6, 4,255],"Absolute active maximum demand (|A|) in tariff T4 [kW]"),
126 (PositveReactiveMaximumDemandTotal, &[1, 0, 3, 6, 0,255],"Positive reactive maximum demand (Q+) total [kvar]"),
127 (NegativeReactiveMaximumDemandTotal, &[1, 0, 4, 6, 0,255],"Negative reactive maximum demand (Q-) total [kvar]"),
128 (ReactiveMaximumDemandQ1Total, &[1, 0, 5, 6, 0,255],"Reactive maximum demand in Q1 (Q1) total [kvar]"),
129 (ReactiveMaximumDemandQ2Total, &[1, 0, 6, 6, 0,255],"Reactive maximum demand in Q2 (Q2) total [kvar]"),
130 (ReactiveMaximumDemandQ3Total, &[1, 0, 7, 6, 0,255],"Reactive maximum demand in Q3 (Q3) total [kvar]"),
131 (ReactiveMaximumDemandQ4Total, &[1, 0, 8, 6, 0,255],"Reactive maximum demand in Q4 (Q4) total [kvar]"),
132 (ApparentMaximumDemandTotal, &[1, 0, 9, 6, 0,255],"Apparent maximum demand (S+) total [kVA]"),
133 (PositiveActiveCumulativeMaximumDemandTotal, &[1, 0, 1, 2, 0,255],"Positive active cumulative maximum demand (A+) total [kW]"),
134 (PositiveActiveCumulativeMaximumDemandTarif1, &[1, 0, 1, 2, 1,255],"Positive active cumulative maximum demand (A+) in tariff T1 [kW]"),
135 (PositiveActiveCumulativeMaximumDemandTarif2, &[1, 0, 1, 2, 2,255],"Positive active cumulative maximum demand (A+) in tariff T2 [kW]"),
136 (PositiveActiveCumulativeMaximumDemandTarif3, &[1, 0, 1, 2, 3,255],"Positive active cumulative maximum demand (A+) in tariff T3 [kW]"),
137 (PositiveActiveCumulativeMaximumDemandTarif4, &[1, 0, 1, 2, 4,255],"Positive active cumulative maximum demand (A+) in tariff T4 [kW]"),
138 (NegativeActiveCumulativeMaximumDemandTotal, &[1, 0, 2, 2, 0,255],"Negative active cumulative maximum demand (A-) total [kW]"),
139 (NegativeActiveCumulativeMaximumDemandTarif1, &[1, 0, 2, 2, 1,255],"Negative active cumulative maximum demand (A-) in tariff T1 [kW]"),
140 (NegativeActiveCumulativeMaximumDemandTarif2, &[1, 0, 2, 2, 2,255],"Negative active cumulative maximum demand (A-) in tariff T2 [kW]"),
141 (NegativeActiveCumulativeMaximumDemandTarif3, &[1, 0, 2, 2, 3,255],"Negative active cumulative maximum demand (A-) in tariff T3 [kW]"),
142 (NegativeActiveCumulativeMaximumDemandTarif4, &[1, 0, 2, 2, 4,255],"Negative active cumulative maximum demand (A-) in tariff T4 [kW]"),
143 (AbsoluteActiveCumulativeMaximumDemandTotal, &[1, 0, 15, 2, 0,255],"Absolute active cumulative maximum demand (|A|) total [kW]"),
144 (AbsoluteActiveCumulativeMaximumDemandTarif1, &[1, 0, 15, 2, 1,255],"Absolute active cumulative maximum demand (|A|) in tariff T1 [kW]"),
145 (AbsoluteActiveCumulativeMaximumDemandTarif2, &[1, 0, 15, 2, 2,255],"Absolute active cumulative maximum demand (|A|) in tariff T2 [kW]"),
146 (AbsoluteActiveCumulativeMaximumDemandTarif3, &[1, 0, 15, 2, 3,255],"Absolute active cumulative maximum demand (|A|) in tariff T3 [kW]"),
147 (AbsoluteActiveCumulativeMaximumDemandTarif4, &[1, 0, 15, 2, 4,255],"Absolute active cumulative maximum demand (|A|) in tariff T4 [kW]"),
148 (PositiveReactiveCumulativeMaximumDemandTotal, &[1, 0, 3, 2, 0,255],"Positive reactive cumulative maximum demand (Q+) total [kvar]"),
149 (NegativeReactiveCumulativeMaximumDemandTotal, &[1, 0, 4, 2, 0,255],"Negative reactive cumulative maximum demand (Q-) total [kvar]"),
150 (ReactiveCumulativeMaximumDemandQ1Total, &[1, 0, 5, 2, 0,255],"Reactive cumulative maximum demand in Q1 (Q1) total [kvar]"),
151 (ReactiveCumulativeMaximumDemandQ2Total, &[1, 0, 6, 2, 0,255],"Reactive cumulative maximum demand in Q2 (Q2) total [kvar]"),
152 (ReactiveCumulativeMaximumDemandQ3Total, &[1, 0, 7, 2, 0,255],"Reactive cumulative maximum demand in Q3 (Q3) total [kvar]"),
153 (ReactiveCumulativeMaximumDemandQ4Total, &[1, 0, 8, 2, 0,255],"Reactive cumulative maximum demand in Q4 (Q4) total [kvar]"),
154 (ApparentCumulativeMaximumDemandTotal, &[1, 0, 9, 2, 0,255],"Apparent cumulative maximum demand (S+) total [kVA]"),
155 (PositiveActiveDemandCurrentDemandPeriod, &[1, 0, 1, 4, 0,255],"Positive active demand in a current demand period (A+) [kW]"),
156 (NegativeActiveDemandCurrentDemandPeriod, &[1, 0, 2, 4, 0,255],"Negative active demand in a current demand period (A-) [kW]"),
157 (AbsoluteActiveDemandCurrentDemandPeriod, &[1, 0, 15, 4, 0,255],"Absolute active demand in a current demand period (|A|) [kW]"),
158 (PositiveReactiveDemandCurrentDemandPeriod, &[1, 0, 3, 4, 0,255],"Positive reactive demand in a current demand period (Q+) [kvar]"),
159 (NegativeReactiveDemandCurrentDemandPeriod, &[1, 0, 4, 4, 0,255],"Negative reactive demand in a current demand period (Q-) [kvar]"),
160 (ReactiveDemandCurrentDemandPeriodQ1, &[1, 0, 5, 4, 0,255],"Reactive demand in a current demand period in Q1 (Q1) [kvar]"),
161 (ReactiveDemandCurrentDemandPeriodQ2, &[1, 0, 6, 4, 0,255],"Reactive demand in a current demand period in Q2 (Q2) [kvar]"),
162 (ReactiveDemandCurrentDemandPeriodQ3, &[1, 0, 7, 4, 0,255],"Reactive demand in a current demand period in Q3 (Q3) [kvar]"),
163 (ReactiveDemandCurrentDemandPeriodQ4, &[1, 0, 8, 4, 0,255],"Reactive demand in a current demand period in Q4 (Q4) [kvar]"),
164 (ApparentDemandInCurrentDemandPeriod, &[1, 0, 9, 4, 0,255],"Apparent demand in a current demand period (S+) [kVA]"),
165 (PositiveActiveDemandLastCompletedDemandPeriod, &[1, 0, 1, 5, 0,255],"Positive active demand in the last completed demand period (A+) [kW]"),
166 (NegativeActiveDemandLastCompletedDemandPeriod, &[1, 0, 2, 5, 0,255],"Negative active demand in the last completed demand period (A-) [kW]"),
167 (AbsoluteActiveDemandLastCompletedDemandPeriod, &[1, 0, 15, 5, 0,255],"Absolute active demand in the last completed demand period (|A|) [kW]"),
168 (PositiveReactiveDemandLastCompletedDemandPeriod, &[1, 0, 3, 5, 0,255],"Positive reactive demand in the last completed demand period (Q+) [kvar]"),
169 (NegativeReactiveDemandLastCompletedDemandPeriod, &[1, 0, 4, 5, 0,255],"Negative reactive demand in the last completed demand period (Q-) [kvar]"),
170 (ReactiveDemandLastCompletedDemandPeriodQ1, &[1, 0, 5, 5, 0,255],"Reactive demand in the last completed demand period in Q1 (Q1) [kvar]"),
171 (ReactiveDemandLastCompletedDemandPeriodQ2, &[1, 0, 6, 5, 0,255],"Reactive demand in the last completed demand period in Q2 (Q2) [kvar]"),
172 (ReactiveDemandLastCompletedDemandPeriodQ3, &[1, 0, 7, 5, 0,255],"Reactive demand in the last completed demand period in Q3 (Q3) [kvar]"),
173 (ReactiveDemandLastCompletedDemandPeriodQ4, &[1, 0, 8, 5, 0,255],"Reactive demand in the last completed demand period in Q4 (Q4) [kvar]"),
174 (ApparentDemandLastCompletedDemandPeriod, &[1, 0, 9, 5, 0,255],"Apparent demand in the last completed demand period (S+) [kVA]"),
175 (PositiveActiveInstantaneousPower, &[1, 0, 1, 7, 0,255],"Positive active instantaneous power (A+) [kW]"),
176 (PositiveActiveInstantaneousPowerPhaseL1, &[1, 0, 21, 7, 0,255],"Positive active instantaneous power (A+) in phase L1 [kW]"),
177 (PositiveActiveInstantaneousPowerPhaseL2, &[1, 0, 41, 7, 0,255],"Positive active instantaneous power (A+) in phase L2 [kW]"),
178 (PositiveActiveInstantaneousPowerPhaseL3, &[1, 0, 61, 7, 0,255],"Positive active instantaneous power (A+) in phase L3 [kW]"),
179 (NegativeActiveInstantaneousPower, &[1, 0, 2, 7, 0,255],"Negative active instantaneous power (A-) [kW]"),
180 (NegativeActiveInstantaneousPowerPhaseL1, &[1, 0, 22, 7, 0,255],"Negative active instantaneous power (A-) in phase L1 [kW]"),
181 (NegativeActiveInstantaneousPowerPhaseL2, &[1, 0, 42, 7, 0,255],"Negative active instantaneous power (A-) in phase L2 [kW]"),
182 (NegativeActiveInstantaneousPowerPhaseL3, &[1, 0, 62, 7, 0,255],"Negative active instantaneous power (A-) in phase L3 [kW]"),
183 (AbsoluteActiveInstantaneousPower, &[1, 0, 15, 7, 0,255],"Absolute active instantaneous power (|A|) [kW]"),
184 (AbsoluteActiveInstantaneousPowerPhaseL1, &[1, 0, 35, 7, 0,255],"Absolute active instantaneous power (|A|) in phase L1 [kW]"),
185 (AbsoluteActiveInstantaneousPowerPhaseL2, &[1, 0, 55, 7, 0,255],"Absolute active instantaneous power (|A|) in phase L2 [kW]"),
186 (AbsoluteActiveInstantaneousPowerPhaseL3, &[1, 0, 75, 7, 0,255],"Absolute active instantaneous power (|A|) in phase L3 [kW]"),
187 (SumActiveInstantaneousPower, &[1, 0, 16, 7, 0,255],"Sum active instantaneous power (A+ - A-) [kW]"),
188 (SumActiveInstantaneousPowerPhaseL1, &[1, 0, 36, 7, 0,255],"Sum active instantaneous power (A+ - A-) in phase L1 [kW]"),
189 (SumActiveInstantaneousPowerPhaseL2, &[1, 0, 56, 7, 0,255],"Sum active instantaneous power (A+ - A-) in phase L2 [kW]"),
190 (SumActiveInstantaneousPowerPhaseL3, &[1, 0, 76, 7, 0,255],"Sum active instantaneous power (A+ - A-) in phase L3 [kW]"),
191 (PositiveReactiveInstantaneousPower, &[1, 0, 3, 7, 0,255],"Positive reactive instantaneous power (Q+) [kvar]"),
192 (PositiveReactiveInstantaneousPowerPhaseL1, &[1, 0, 23, 7, 0,255],"Positive reactive instantaneous power (Q+) in phase L1 [kvar]"),
193 (PositiveReactiveInstantaneousPowerPhaseL2, &[1, 0, 43, 7, 0,255],"Positive reactive instantaneous power (Q+) in phase L2 [kvar]"),
194 (PositiveReactiveInstantaneousPowerPhaseL3, &[1, 0, 63, 7, 0,255],"Positive reactive instantaneous power (Q+) in phase L3 [kvar]"),
195 (NegativeReactiveInstantaneousPower, &[1, 0, 4, 7, 0,255],"Negative reactive instantaneous power (Q-) [kvar]"),
196 (NegativeReactiveInstantaneousPowerPhaseL1, &[1, 0, 24, 7, 0,255],"Negative reactive instantaneous power (Q-) in phase L1 [kvar]"),
197 (NegativeReactiveInstantaneousPowerPhaseL2, &[1, 0, 44, 7, 0,255],"Negative reactive instantaneous power (Q-) in phase L2 [kvar]"),
198 (NegativeReactiveInstantaneousPowerPhaseL3, &[1, 0, 64, 7, 0,255],"Negative reactive instantaneous power (Q-) in phase L3 [kvar]"),
199 (ApparentInstantaneousPower, &[1, 0, 9, 7, 0,255],"Apparent instantaneous power (S+) [kVA]"),
200 (ApparentInstantaneousPowerPhaseL1, &[1, 0, 29, 7, 0,255],"Apparent instantaneous power (S+) in phase L1 [kVA]"),
201 (ApparentInstantaneousPowerPhaseL2, &[1, 0, 49, 7, 0,255],"Apparent instantaneous power (S+) in phase L2 [kVA]"),
202 (ApparentInstantaneousPowerPhaseL3, &[1, 0, 69, 7, 0,255],"Apparent instantaneous power (S+) in phase L3 [kVA]"),
203 (InstantaneousCurrent, &[1, 0, 11, 7, 0,255],"Instantaneous current (I) [A]"),
204 (InstantaneousCurrentPhaseL1, &[1, 0, 31, 7, 0,255],"Instantaneous current (I) in phase L1 [A]"),
205 (InstantaneousCurrentPhaseL2, &[1, 0, 51, 7, 0,255],"Instantaneous current (I) in phase L2 [A]"),
206 (InstantaneousCurrentPhaseL3, &[1, 0, 71, 7, 0,255],"Instantaneous current (I) in phase L3 [A]"),
207 (InstantaneousCurrentNeutral, &[1, 0, 91, 7, 0,255],"Instantaneous current (I) in neutral [A]"),
208 (MaximumCurrent, &[1, 0, 11, 6, 0,255],"Maximum current (I max) [A]"),
209 (MaximumCurrentPhaseL1, &[1, 0, 31, 6, 0,255],"Maximum current (I max) in phase L1 [A]"),
210 (MaximumCurrentPhaseL2, &[1, 0, 51, 6, 0,255],"Maximum current (I max) in phase L2 [A]"),
211 (MaximumCurrentPhaseL3, &[1, 0, 71, 6, 0,255],"Maximum current (I max) in phase L3 [A]"),
212 (MaximumCurrentNeutral, &[1, 0, 91, 6, 0,255],"Maximum current (I max) in neutral [A]"),
213 (InstantaneousVoltage, &[1, 0, 12, 7, 0,255],"Instantaneous voltage (U) [V]"),
214 (InstantaneousVoltagePhaseL1, &[1, 0, 32, 7, 0,255],"Instantaneous voltage (U) in phase L1 [V]"),
215 (InstantaneousVoltagePhaseL2, &[1, 0, 52, 7, 0,255],"Instantaneous voltage (U) in phase L2 [V]"),
216 (InstantaneousVoltagePhaseL3, &[1, 0, 72, 7, 0,255],"Instantaneous voltage (U) in phase L3 [V]"),
217 (InstantaneousPowerFactor, &[1, 0, 13, 7, 0,255],"Instantaneous power factor"),
218 (InstantaneousPowerFactorPhaseL1, &[1, 0, 33, 7, 0,255],"Instantaneous power factor in phase L1"),
219 (InstantaneousPowerFactorPhaseL2, &[1, 0, 53, 7, 0,255],"Instantaneous power factor in phase L2"),
220 (InstantaneousPowerFactorPhaseL3, &[1, 0, 73, 7, 0,255],"Instantaneous power factor in phase L3"),
221 (Frequency, &[1, 0, 14, 7, 0,255],"Frequency [Hz]")
222}