-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datacenter normalization ranges fixed (v2.1.2) (#251)
* Deleted Zone Lights observation variables in datacenter and IW ranges values * Fixed monitor.csv path in ranges getter (common) * Added ranges dictionaries os office and warehouse environments * Added test to check that default observation variables is present in ranges for normalization * Updated sinergym version from 2.1.1 to 2.1.2 * Added documentation to cover observation variables updates
- Loading branch information
1 parent
f7834e6
commit aa9c3fd
Showing
6 changed files
with
137 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.1 | ||
2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from sinergym.utils.constants import * | ||
|
||
|
||
def test_normalization_dicts(): | ||
# 5ZONE | ||
assert (all(norm_variable in RANGES_5ZONE.keys() | ||
for norm_variable in DEFAULT_5ZONE_OBSERVATION_VARIABLES)) | ||
|
||
# DATACENTER | ||
assert (all(norm_variable in RANGES_DATACENTER.keys() | ||
for norm_variable in DEFAULT_DATACENTER_OBSERVATION_VARIABLES)) | ||
|
||
# OFFICEMEDIUM | ||
assert (all(norm_variable in RANGES_OFFICE.keys() | ||
for norm_variable in DEFAULT_OFFICE_OBSERVATION_VARIABLES)) | ||
|
||
# WAREHOUSE | ||
assert (all(norm_variable in RANGES_WAREHOUSE.keys() | ||
for norm_variable in DEFAULT_WAREHOUSE_OBSERVATION_VARIABLES)) |