Skip to content

Commit

Permalink
add gauge pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Jan 15, 2024
1 parent bb83153 commit 6121b3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bricksrc/definitions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,8 @@ https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Proportional_Band
https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Sensor,Measures the temperature of water leaving a piece of equipment or system,
https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Setpoint,Sets temperature of leaving water,
https://brickschema.org/schema/Brick#Level,,
https://brickschema.org/schema/Brick#Level_Command,"Adjusts the operational state to a specific level within a predefined range.",
https://brickschema.org/schema/Brick#Level_Status,"The current operational state of a specific level within a predefined range.",
https://brickschema.org/schema/Brick#Level_Command,Adjusts the operational state to a specific level within a predefined range.,
https://brickschema.org/schema/Brick#Level_Status,The current operational state of a specific level within a predefined range.,
https://brickschema.org/schema/Brick#Library,"A place for the storage and/or consumption of physical media, e.g. books, periodicals, and DVDs/CDs",
https://brickschema.org/schema/Brick#Light_Command,Controls the amount of the light provided by the device,
https://brickschema.org/schema/Brick#Lighting,,
Expand Down
7 changes: 7 additions & 0 deletions bricksrc/quantities.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,13 @@ def all_units():
},
},
},
"Gauge_Pressure": {
QUDT.applicableUnit: [UNIT["IN_H20"], UNIT["LB_F-PER-IN2"], UNIT["MilliM_H2O"], UNIT["BAR"]],
SKOS.definition: Literal("Pressure relative to atmospheric pressure"),
RDFS.isDefinedBy: URIRef(str(BRICK).strip("#")),
RDFS.label: Literal("Gauge_Pressure"),
SKOS.broader: QUDTQK.Pressure,
},
"Static_Pressure": {
BRICK.hasQUDTReference: QUDTQK["StaticPressure"],
SKOS.narrower: {
Expand Down
1 change: 1 addition & 0 deletions bricksrc/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,7 @@
"subclasses": {
"Gauge_Pressure_Sensor": {
"tags": [TAG.Point, TAG.Sensor, TAG.Pressure, TAG.Gauge],
BRICK.hasQuantity: BRICK.Gauge_Pressure,
"subclasses": {
"Chilled_Water_Gauge_Pressure_Sensor": {
"tags": [
Expand Down

0 comments on commit 6121b3d

Please sign in to comment.