Skip to content

Commit

Permalink
fixed action value bug in optimized rbc storage control
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleynweye committed Nov 16, 2024
1 parent 39c5767 commit ed4bce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion citylearn/agents/rbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def action_map(self, action_map: Union[List[Mapping[str, Mapping[int, float]]],
if 7 <= hour <= 15:
value = -0.02
elif 16 <= hour <= 18:
value = -0.0044
value = -0.044
elif 19 <= hour <= 22:
value = -0.024
elif 23 <= hour <= 24:
Expand Down

0 comments on commit ed4bce4

Please sign in to comment.