-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add target and threshold setpoints #10
base: master
Are you sure you want to change the base?
Conversation
bricksrc/setpoint.py
Outdated
@@ -1,347 +1,261 @@ | |||
from .namespaces import TAG, BRICK, RDFS, QUDTQK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont change the import path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbkoh After moving setpoints into parameter, I found that QUDTQK wasn't imported. If this remains unchanged, we will need to remove the BRICK.hasQauntity properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't understand what this means and the relevance between this line and hasQuantity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, this was recently added to Parameter. I updated the namespace import to include QUDTQK:
"Humidity_Deadband": {
BRICK.hasQuantity: QUDTQK.RelativeHumidity,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add more imports. My ask was not to modify the import path from from .namespaces
to from namespaces
"subclasses": { | ||
"Enable_Hot_Water_System_Outside_Air_Temperature_Threshold": { | ||
"tags": [ | ||
TAG.Point, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All thresholds should have Parameter as a tag if Threshold is a subclass of Parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't originally planning on defining Threshold as a subclass of parameter, but see the argument for it. I am proposing we add Threshold as a top level class alongside Setpoint and Parameter
TBD
Classes that are debatably not a Setpoint and possibly need to be moved to Parameter:
Deprecations
Classes to be deprecated:
Additions
Classes being added to Setpoint:
Other topics: