Commit 4f0a464c authored by Avisek Naug's avatar Avisek Naug
Browse files

added description for the safety constraints

parent 7dd0fd53
......@@ -99,7 +99,7 @@ class Env(gym.Env):
# prevent cases where data is anomalous
ideal_dt = 68
if w_max != w_min:
# implementing the safety heuristics based on Darren's recommendation
# implementing the safety heuristics based on Darren's safety recommendation
if self.state[0]>70: # ie over the past few hours, temperature is over 70F -- hot weather
ideal_dt = 10*(2*w_mean-self.state[0]- w_min)/(w_max-w_min) + 56
elif self.state[0]<58: # ie over past few hrs temperature is in the intermediate range -- cold weather
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment