We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c61815 commit cb5c600Copy full SHA for cb5c600
environments/var_voltage_control/voltage_control_env.py
@@ -260,7 +260,7 @@ def get_obs(self):
260
# transform the voltage phase to radian
261
obs += list(zone_buses.loc[:, "va_degree"].to_numpy(copy=True) * np.pi / 180)
262
obs_sgen_dict[f"'{list(clusters.keys())[i]}'"] = np.array(obs)
263
- obs_len_list.append(obs_sgen_dict[f"'{list(clusters.keys())[i]}'"].shape[0]
+ obs_len_list.append(obs_sgen_dict[f"'{list(clusters.keys())[i]}'"].shape[0])
264
agents_obs = list()
265
obs_max_len = max(obs_len_list)
266
for sgen in sgen_list:
0 commit comments