-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rds/cml/function get hvac systems primarily serving comp rooms #949
base: develop
Are you sure you want to change the base?
Rds/cml/function get hvac systems primarily serving comp rooms #949
Conversation
- Reset space_is_a_computer_room to false: `space_is_a_computer_room = false` | ||
- Reset total_Wattage_space: `total_Wattage_space = 0` | ||
- Get the area (ft^2) of the space: `area = space.floor_area` | ||
- Check if space is of type computer room, if yes then set the space is a computer room boolean variable to true (if lighting space type is undefined it will always be false - maybe we should check is misc is above 20 W/sf if this is undefined?): `if space_x.lighting_space_type in ["COMPUTER_ROOM"]: space_is_a_computer_room = true` |
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 agree that it may be good to check for 20 W/SF and treat spaces that meet this definition but do not have space type provided as computer rooms. But if we do that, we should also use this criteria for get_zones_computer_rooms function. Perhaps we should have a function is_computer_room that both this RDS and the get_zones_computer_rooms function would call.
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.
Done
- Add to the running Wattage total for the space: `total_Wattage_space = total_Wattage_space + temp_total_power` | ||
|
||
- Add to the total Wattage across all spaces serving zone: `total_Wattage_zone = total_Wattage_zone + total_Wattage_space` | ||
- Check if the space serves a computer room: `if space_is_a_computer_room == true: total_Wattage_including_computer_rooms_only_zone = total_Wattage_including_computer_rooms_only_zone + total_Wattage_space` |
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.
total_Wattage_including_computer_rooms_only_zone make is a little confusing. Shouldn't it be total_Wattage_of_computer_rooms_only?
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.
Modified name
No description provided.