From 07c7e7be0c1cdf3d25dd612a2dd1c9d6109ef983 Mon Sep 17 00:00:00 2001 From: Connor Cantrell <33592545+connorjcantrell@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:26:34 -0700 Subject: [PATCH] Add Solar Inverter (#560) * Add Solar Inverter * Replace Solar with Photovoltaic --- bricksrc/definitions.csv | 1 + bricksrc/equipment.py | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bricksrc/definitions.csv b/bricksrc/definitions.csv index a3674306..b643c275 100644 --- a/bricksrc/definitions.csv +++ b/bricksrc/definitions.csv @@ -930,6 +930,7 @@ https://brickschema.org/schema/Brick#Site,A geographic region containing 0 or mo https://brickschema.org/schema/Brick#Smoke_Alarm,An alarm that indicates the off-normal conditions associated with smoke., https://brickschema.org/schema/Brick#Soil_Temperature_Sensor,Measures the temperature of soil, https://brickschema.org/schema/Brick#Solar_Azimuth_Angle_Sensor,Measures the azimuth angle of the sun, +https://brickschema.org/schema/Brick#Photovoltaic_Inverter," Converts direct current electricity generated by solar panels into alternating current", https://brickschema.org/schema/Brick#Solar_Irradiance,The power per unit area of solar electromagnetic radiation incident on a surface, https://brickschema.org/schema/Brick#Solar_Irradiance_Sensor,Measures solar irradiance levels for photovoltaic systems, https://brickschema.org/schema/Brick#Solar_Radiance,The amount of light that passes through or is emitted from the sun and falls within a given solid angle in a specified direction, diff --git a/bricksrc/equipment.py b/bricksrc/equipment.py index a661b1f8..c491b219 100644 --- a/bricksrc/equipment.py +++ b/bricksrc/equipment.py @@ -45,7 +45,14 @@ }, }, }, - "Inverter": {"tags": [TAG.Inverter, TAG.Equipment]}, + "Inverter": { + "tags": [TAG.Inverter, TAG.Equipment], + "subclasses": { + "Photovoltaic_Inverter": { + "tags": [TAG.Photovoltaic, TAG.Inverter, TAG.Equipment] + } + } + }, "PlugStrip": {"tags": [TAG.PlugStrip, TAG.Equipment]}, "Disconnect_Switch": {"tags": [TAG.Disconnect, TAG.Switch, TAG.Equipment]}, "Switchgear": {"tags": [TAG.Switchgear, TAG.Equipment]},