Im trying to run the examples single_inverter_current_control_safe_opt.py and single_inverter_voltage_current_control_safe_opt.py.
Both have an issue with the reward function.
Specifically, the line phase = data[idx[1]] # phase from the master controller needed for transformation has an error. It's the fourth line in the reward function.
The data passed to the reward function has not enough indeces to follow the pattern performed in the set_idx method.
I'm running on wsl in python=3.8.18. I've installed the packages in the requirements.txt and the omg package.
Im trying to run the examples single_inverter_current_control_safe_opt.py and single_inverter_voltage_current_control_safe_opt.py.
Both have an issue with the reward function.
Specifically, the line
phase = data[idx[1]] # phase from the master controller needed for transformationhas an error. It's the fourth line in the reward function.The data passed to the reward function has not enough indeces to follow the pattern performed in the set_idx method.
I'm running on wsl in python=3.8.18. I've installed the packages in the requirements.txt and the omg package.