From 1334e0fc3b5c4ec294ec4a1e674ce119ab3e5887 Mon Sep 17 00:00:00 2001 From: wcrd <11898748+wcrd@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:33:56 -0600 Subject: [PATCH] Add multi-circuit electrical meter classes and subclasses --- bricksrc/definitions.csv | 2 ++ bricksrc/meters.py | 22 +++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/bricksrc/definitions.csv b/bricksrc/definitions.csv index 7d849cc9..17391b88 100644 --- a/bricksrc/definitions.csv +++ b/bricksrc/definitions.csv @@ -69,6 +69,7 @@ https://brickschema.org/schema/Brick#Boiler,"A closed, pressure vessel that uses https://brickschema.org/schema/Brick#Boiler_Command,A command to control a boiler, https://brickschema.org/schema/Brick#Booster_Fan,Fan activated to increase airflow beyond what is provided by the default configuration, https://brickschema.org/schema/Brick#Box_Mode_Command,, +https://brickschema.org/schema/Brick#Branch_Circuit_Electrical_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.", https://brickschema.org/schema/Brick#Break_Room,A space for people to relax while not working, https://brickschema.org/schema/Brick#Breaker_Panel,Breaker Panel distributes power into various end-uses., https://brickschema.org/schema/Brick#Breakroom,A space for people to relax while not working, @@ -718,6 +719,7 @@ https://brickschema.org/schema/Brick#Motor_Current_Sensor,Measures the current c https://brickschema.org/schema/Brick#Motor_Direction_Status,"Indicates which direction a motor is operating in, e.g. forward or reverse", https://brickschema.org/schema/Brick#Motor_Speed_Sensor,, https://brickschema.org/schema/Brick#Motor_Torque_Sensor,"Measures the torque, or rotating power, of a motor", +https://brickschema.org/schema/Brick#Multi_Circuit_Electrical_Meter,Multi-circuit meters allow the monitoring of many metering points from a single controller without having to mount/purchase/wire/commission individual electrical meters. Typically allow between 4 - 18 3-phase 'meters' to be added per controller., https://brickschema.org/schema/Brick#NO2_Level_Sensor,Measures the concentration of NO2 in air, https://brickschema.org/schema/Brick#Natural_Gas,Fossil fuel energy source consisting largely of methane and other hydrocarbons, https://brickschema.org/schema/Brick#Natural_Gas_Boiler,"A closed, pressure vessel that uses natural gas for heating water or other fluids to supply steam or hot water for heating, humidification, or other applications.", diff --git a/bricksrc/meters.py b/bricksrc/meters.py index 9b1d1921..8d425204 100644 --- a/bricksrc/meters.py +++ b/bricksrc/meters.py @@ -12,7 +12,27 @@ TAG.Equipment, ], "parents": [BRICK.Building_Meter], - } + }, + "Multi_Circuit_Electrical_Meter": { + "tags": [ + TAG.Multi, + TAG.Circuit, + TAG.Electrical, + TAG.Meter, + TAG.Equipment, + ], + "subclasses": { + "Branch_Circuit_Electrical_Meter": { + "tags": [ + TAG.Branch, + TAG.Circuit, + TAG.Electrical, + TAG.Meter, + TAG.Equipment, + ] + } + }, + }, }, }, "Gas_Meter": {