@@ -37,11 +37,12 @@ All meters must additionally define exactly one of these two tags:
3737
3838Electric Meters [#elecMeters]
3939*****************************
40- Haystack models AC and DC electric meters using `ac-elec-meter` and
41- `dc-elec-meter`. There is support to model these meters and their points
42- for simple use cases (e.g., just a `demand` and `energy` point) and complex
43- use cases (e.g., three-phase AC power quality meters). For a common
44- application involving electric utility data see the provided [example]`docHaystack::Meters#exampleUtilityApplication`.
40+ Haystack models alternating current (AC) and direct current (DC) electricity
41+ meters using `ac-elec-meter` and `dc-elec-meter`. There is support to model
42+ these meters and their points for simple use cases (e.g., just a `demand`
43+ and `energy` point) and complex use cases (e.g., three-phase AC power
44+ quality meters). For a common application involving electric utility data
45+ see the provided [example]`docHaystack::Meters#exampleUtilityApplication`.
4546
4647Electricity meter points are described by combining tags from the lists
4748given below. The tags in each set are mutually exclusive. For example,
@@ -50,17 +51,19 @@ a point cannot have two primary quantities, or have both the `volt` and
5051
5152DC electrical measurements are described using a combination of the types
5253of tags below:
54+
5355 1. `elec` marker tag
54- 2. Primary quantity
55- 3. `dc` marker tag
56+ 2. `dc` marker tag
57+ 3. Primary quantity
5658 4. Direction (if applicable)
5759
5860AC electrical measurements are described using a combination of the types
5961of tags below:
62+
6063 1. `elec` marker tag
61- 2. Primary quantity
62- 3. `ac` marker tag
63- 4. Characteristic of the primary quantity
64+ 2. `ac` marker tag
65+ 3. Primary quantity
66+ 4. Measured characteristic of the primary quantity
6467 5. Direction (if applicable)
6568 6. Location
6669
@@ -71,29 +74,50 @@ Primary Quantities for AC and DC measurements [#primaryQuantities]
7174==================================================================
7275Both `ac-elec-meter` and `dc-elec-meter` support measurements of the
7376following electrical primary quantities:
74- - `power`: Average electric power over one or several alternating current (AC) cycles
75- or instantaneous DC electric power. Measured in "kW", "kVAR", or "kVA" units for 'ac'
76- measurements depending on the characteristic `active`, `reactive`, or `apparent`,
77- respectively. Measured in "kW" units for 'dc' measurements.
78- - `demand`: Average electric power over a defined time interval (e.g., 5, 15, or 30
79- minutes). Measured in the same units that are used for `power` measurements.
80- - `energy`: Integral of electric power over time. Measured in "kWh", "kVARh", or
81- "kVAh" units for 'ac' measurements depending on the characteristic `active`,
82- `reactive`, or `apparent`, respectively. Measured in "kWh" units for 'dc'
83- measurements.
84- - `volt`: Effective voltage. Root mean square (RMS) voltage is assumed for `ac`
85- measurements. Measured in "V" units.
86- - `current`: Effective current. Root mean square (RMS) current is assumed for `ac`
87- measurements. Measured in "A" units.
77+
78+ - `power`: Rate of transfer of electric energy (energy per unit time).
79+ - For 'dc' measurements, defined as instantaneous voltage times
80+ current, typically measured in "kW".
81+ - For 'ac' measurements, defined as the average of the instantaneous
82+ power over one or more whole AC cycles. May be subdivided into
83+ `active` power (measured in "kW"), `reactive` power (measured in
84+ "kVAR"), and `apparent` power (measured in "kVA"). Of these
85+ quantities, `active-power` represents real work performed.
86+ - `demand`: Average of instantaneous electric power over a defined time
87+ interval (e.g., 5, 15, or 30 minutes). Measured in the same units that
88+ are used for `power` measurements.
89+ - `energy`: Electric energy, equal to the integral of electric power with
90+ respect to time.
91+ - For 'dc' measurements, typically measured in "kWh".
92+ - For 'ac' measurements, may be subdivided into `active` energy
93+ (measured in "kWh"), `reactive` energy (measured in "kVARh"), and
94+ `apparent` energy (measured in "kVAh"). Of these
95+ quantities, `active-energy` represents real work performed.
96+ - `volt`: Electric voltage (potential energy). Typically measured in "V"
97+ for both 'ac' and 'dc' electricity.
98+ - For 'dc' measurements, represents an instantaneous voltage.
99+ - For 'ac' measurements, represents an electrical phasor: a sinusoidal
100+ voltage wave that can be described by a root-mean-square (RMS) average
101+ voltage `magnitude` and a phase `angle` at a constant frequency.
102+ - `current`: Electric current (flow of electroncs). Typically measured
103+ in "A" for both 'ac' and 'dc' electricity.
104+ - For 'dc' measurements, represents an instantaneous current.
105+ - For 'ac' measurements, represents an electrical phasor: a sinusoidal
106+ current wave that can be described by a root-mean-square (RMS) average
107+ current `magnitude` and a phase `angle` at a constant frequency.
88108
89109The following primary quantities apply only to AC electrical measurements:
90- - `freq`: The number of cycles per second in an alternating current (AC) sinusoidal
91- waveform. Measured in "Hz" units.
92- - `pf`: The ratio of active power to apparent power. Measured with numbers in the
93- range of -1.0 to 1.0 or 0.0 to 1.0 with a special unit called 'pf', which is
94- effectively unitless and used for data visualization.
95110
96- Some electric meters log interval-based data, demand or energy, using a
111+ - `freq`: The number of cycles per second in an AC sinusoidal waveform.
112+ Measured in "Hz". In AC power systems, voltage, current, and power are
113+ all synchronized at the same frequency.
114+ - `pf`: The ratio of active power to apparent power. Power factor is a
115+ unitless quantity but is represented in Haystack with the special "pf"
116+ unit. Power factor may have values of 0.0 to 1.0 or -1.0 to 1.0.
117+ The interpretation of negative power factor depends on whether the
118+ measurement follows the IEEE or IEC power factor convention.
119+
120+ Many electric meters log interval-based data, demand or energy, using a
97121monotonically increasing value in time. The difference of these values
98122between two intervals is used to determine the actual value for an
99123interval. Haystack distinguishes data logged this way using the
@@ -103,14 +127,15 @@ Directions for AC and DC measurements [#directions]
103127===================================================
104128Some electric meters track and report electricity imported from the
105129electric grid separately from electricity exported to the electric grid.
106- The tags `import` and `export` differentiate these phenomenons . More
130+ The tags `import` and `export` differentiate these quantities . More
107131broadly, 'export' indicates electricity flowing toward the grid (in the
108132direction of the `siteMeter`), and 'import' indicates electricity flowing
109133toward the load.
110134
111- These measurements register electricity transfer, involving the primary
112- quantities `current`, `power`, `demand`, and `energy` only, in their
113- associated direction and always have positive values.
135+ As defined in Project Haystack, these measurements register electricity
136+ transfer, involving the primary quantities `current`, `power`, `demand`,
137+ and `energy` only, in their associated direction and always have positive
138+ values.
114139
115140- For instantaneous measurements (i.e., 'current' and 'power'),
116141 'import' and 'export' are mutually exclusive. One will report a positive
@@ -127,53 +152,62 @@ The `net` tag indicates the difference between 'import' and 'export':
127152
128153Haystack uses the load convention for net electricity flow.
129154
130- - Positive net quantities indicates electricity consumed.
131- - Negative net quantities indicates electricity produced.
155+ - Positive net quantities indicate electricity consumed (i.e. load) .
156+ - Negative net quantities indicate electricity produced (i.e. generation) .
132157
133- Note: Direction related tags do not apply to 'angle', 'imbalance', and 'thd'
134- characteristics used to describe current and voltage .
158+ Note: Direction- related tags do not apply to 'voltage' or to the 'angle',
159+ 'imbalance', and 'thd' characteristics used to describe current.
135160
136161Characteristics of AC Measurements [#acCharacteristics]
137162=======================================================
138163AC power, demand, and energy measurements are further qualified by
139164characteristics:
140- - `active`: Describes real work being performed. Haystack's standard
141- unit of active power and active demand is "kW". Haystack's standard
142- unit of active energy is "kWh".
143- - `reactive`: Describes electricity circulated in an AC electrical
144- system that does not result in real work being performed. Haystack's
145- standard unit of reactive power and reactive demand is "kVAR".
165+ - `active`: Describes real work being performed (energy consumed).
166+ Haystack's standard unit of active power and active demand is "kW".
167+ Haystack's standard unit of active energy is "kWh".
168+ - `reactive`: Describes electricity circulated within an AC electrical
169+ system that does not result in real work being performed.
170+ Haystack's standard unit of reactive power and reactive demand is "kVAR".
146171 Haystack's standard unit of reactive energy is "kVARh".
147- - `apparent`: Describes the overall magnitude of energy movement.
172+ - `apparent`: Describes the overall magnitude of energy movement,
173+ including both energy consumed and recirculated energy.
148174 Haystack's standard unit of apparent power and apparent demand is "kVA".
149175 Haystack's standard unit of apparent energy is "kVAh".
150176
151177AC voltage and current measurements are further qualified by the following
152178characteristics:
153- - `magnitude`: magnitude (assumed as default)
179+ - `magnitude`: RMS magnitude
154180 - `angle`: phase angle, typically measured in "deg"
155181 - `imbalance`: imbalance, measured in "%"
156182 - `thd`: total harmonic distortion, measured in "%"
157183
184+ If a voltage or current characteristic tag is not specified, then `magnitude`
185+ is the assumed or default characteristic.
186+
158187Similarly AC power factor measurements are further qualified using a
159- `pfScope` choice:
188+ `pfScope` characteristic choice:
160189 - `pfTrue`: True power factor
161190 - `pfDisplacement`: Displacement power factor
162191 - `pfDistortion`: Distortion power factor
163192
193+ If a power factor characteristic is not specified, then `pfTrue`
194+ is the assumed or default characteristic.
195+
164196Note: The primary quantity 'freq' does not have characteristic related tags.
165197
166198Locations for AC Measurements [#acLocations]
167199============================================
168200Generic tags are used to describe three types of 'ac' electrical measurements that do
169201not involve aggregation of multiple measurements:
202+
170203 - `elecLine`: for electrical line measurements "L1", "L2", and "L3"
171204 - `elecLineToLine`: for electrical line-to-line measurements "L1-L2", "L2-L3", and
172205 "L3-L1"
173206 - `elecLineToNeutral`: for electrical line-to-neutral measurements "L1-N", "L2-N",
174207 and "L3-N"
175208
176209Non-aggregated 'ac' electrical measurement locations are qualified by:
210+
177211 - `lineVolt`: 'elecLineToLine'
178212 - `phaseVolt`: 'elecLineToNeutral'
179213 - `lineCurrent`: 'elecLine'
@@ -189,43 +223,43 @@ Non-aggregated 'ac' electrical measurement locations are qualified by:
189223 - `neutral`: for electrical current measurement of the electrical neutral
190224 conductor
191225
192- Aggregated three-phase 'ac' electrical measurement locations are qualified by:
193- - `lineAvg`: When applied to a point entity with the 'current' tag, indicates the
194- average of the values for the 'current' primary quantity characteristic at all
195- locations defined in 'elecLine'. When applied to point entities with the 'volt',
196- 'power', 'pf', or 'energy' tags, indicates the average of the values for the primary
197- quantity's characteristic at all locations defined in 'elecLineToLine '.
198- - `phaseAvg`: When applied to a point entity with the 'volt' tag, indicates the
199- average of the values for the 'volt' primary quantity characteristic at all locations
200- defined in 'elecLineToNeutral'. When applied to a point entity with the 'current'
201- tag, indicates the average of the values for the 'current' primary quantity
202- characteristic at all locations defined in 'elecLineToLine'. When applied to point
203- entities with the 'power', 'pf', or 'energy' tags, indicates the average of the
204- values for the primary quantity's characteristic at all locations defined in
205- 'elecLine '.
206- - `total`: Applies only to point entities with 'power', 'demand', or 'energy' tags.
207- Indicates the sum of the values for the primary quantity's characteristic at all
208- locations defined in 'elecLine '.
209-
210- Aggregated split-phase 'ac' electrical measurement locations are qualified by:
211- - `lineAvg`: When applied to a point entity with the 'current' tag, indicates the
212- average of the values for the 'current' primary quantity characteristic at the "L1"
213- and "L2" locations defined in 'elecLine'.
214- - `phaseAvg`: When applied to a point entity with the 'volt' tag, indicates the
215- average of the values for the 'volt' primary quantity characteristic at the "L1-N"
216- and "L2-N" locations defined in 'elecLineToNeutral'. When applied to point entities
217- with the 'power', 'pf', or 'energy' tags, indicates the average of the values for the
218- primary quantity's characteristic at the "L1" and "L2" locations defined in
219- 'elecLine'.
220- - `total`: Applies only to point entities with 'power', 'demand', or 'energy' tags.
221- Indicates the sum of the values for the primary quantity's characteristic at the "L1"
222- and "L2" locations defined in 'elecLine'.
223-
224- Only one tag indicating the location of a measurement should be applied to a point
225- entity. The 'total' tag takes precedence when applicable to allow for common queries
226- between three-phase and split-phase AC electrical systems. For example, in a
227- split-phase 'ac' electrical system the 'total' tag should be applied to a point entity
228- instead of 'linePower' to indicate the L1-L2 power measurement.
226+ Aggregated three-phase or split-phase 'ac' electrical measurement locations
227+ are qualified by:
228+ - `lineAvg`: Average of line quantities.
229+ - When applied to a point entity with the 'current' tag, indicates the
230+ average of the values for the 'current' primary quantity characteristic
231+ at all available locations defined in 'elecLine '.
232+ - When applied to point entities with the 'volt', 'power', 'pf', or
233+ 'energy' tags, indicates the average of the values for the primary
234+ quantity's characteristic at all available locations defined in
235+ 'elecLineToLine'.
236+ - `phaseAvg`: Average of phase quantities.
237+ - When applied to a point entity with the 'volt' tag, indicates the
238+ average of the values for the 'volt' primary quantity characteristic
239+ at all available locations defined in 'elecLineToNeutral '.
240+ - When applied to a point entity with the 'current' tag, indicates the
241+ average of the values for the 'current' primary quantity characteristic
242+ at all available locations defined in 'elecLineToLine '.
243+ - When applied to point entities with the 'power', 'pf', or 'energy' tags,
244+ indicates the average of the values for the primary quantity's
245+ characteristic at all available locations defined in 'elecLine'.
246+ - `total`: Applies only to point entities with 'power', 'demand', or
247+ 'energy' tags. Indicates the sum of the values for the primary quantity's
248+ characteristic at all available locations defined in 'elecLine'.
249+
250+ Only the available measurements are averaged or totaled. For example,
251+ 'phaseAvg' voltage in a three-phase power system represents the average of
252+ the "L1-N", "L2-N", and "L3-N" phase voltage measurements, but 'phaseAvg'
253+ voltage in a split-phase power system represents the average of only the
254+ "L1-N" and "L2-N" measurements (because an "L3-N" measurement is not
255+ available in a split-phase sytem).
256+
257+ Only one tag indicating the location of a measurement should be applied to
258+ a point entity. The 'total' tag takes precedence when applicable to allow
259+ for common queries between three-phase and split-phase AC electrical systems.
260+ For example, in a split-phase 'ac' electrical system the 'total' tag should
261+ be applied to a point entity instead of 'linePower' to indicate the
262+ L1-L2 power measurement.
229263
230264Note: The primary quantity 'freq' does not have location related tags.
231265
@@ -371,4 +405,4 @@ Lastly, we have three electrical equipment loads defined. The two RTUs are asso
371405with HVAC submeter via `elecRef` which references the HVAC submeter via
372406id. We also tag one or more points under the equipment that are meaningful
373407for the load. Motors would often be tagged as loads since they draw energy, but
374- sensors would typically not be considered loads.
408+ sensors would typically not be considered loads.
0 commit comments