Add multi-circuit electrical meter classes and subclasses #577
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Gabe,
We have been coming across these sort of meters regularly. I have found it easiest to model them as subclasses of
Electrical_Meter
and utilise thebrick:IsVirtualMeter
entity property. I've provided some more context below (I am happy to add a section to the docs, if you agree :) ).General Background
Multi-circuit meters allow the monitoring of a number of circuits through a single configurable controller. Each multi-circuit meter has a number of 'virtual' meters configured through software.
See here for additional information:
Definitions
Multi-Circuit Meter
Multi-circuit meters allow the monitoring of many metering points from a single controller without having to mount/purchase/wire/commission individual energy meters. Typically allow between 4 - 18 3-phase ‘meters’ to be added per controller.
Branch Circuit Meter
A branch circuit meter is a type of multi-circuit meter designed to monitor a number of circuits in close proximity branching from a single source; i.e. a distribution board, panel, or switchgear installation. Typically more compact in design and with built in aggregation functions across all the branch circuits.
Proposed Hierarchy
existing
Electrical_MeterModelling Strategy
A multi-circuit meter is made up of a number of parts of type: Electrical Meter
(A multi-circuit meter will also have its own points for status reporting, configuration, aggregation, etc)
The component Electrical Meters should be marked as Virtual Meters as they exist inside the multi-circuit controller, not as physical individual meters. This does not affect querying and these ‘meters’ are identical to normal electrical meters. This additional property just helps identify meters that do not have an 'independent' physical presence within the building.
https://docs.brickschema.org/modeling/meters.html#virtual-meters
Example model
Note: completely arbitrary model
I found this useful as virtual meters look exactly like physical meters so no queries need to be changed if you don't care about the distinction between them. I can easily query all electrical 'meters' in the building:
Or just get all
Multi Circuit Meters
:Or quickly get just the (virtual) meters that form part of the multi-circuit meter
Or just get all the virtually defined meters
Note: Most of the queries above are covered by the linked 'virtual meter' docs section on the Brick website. Just including the basic ones in here for ease.
A little extra info considering I'm only adding two classes :), but hopefully makes sense.
Let me know what you think.