Skip to content

Example doesn't work right out of the box. #139

@JvPost

Description

@JvPost

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions