Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to modify the injection with the "properties" in the actions #213

Open
BDonnot opened this issue Jun 2, 2021 · 1 comment
Labels
enhancement New feature or request version 2.0 Will be made available in version 2.0 at best

Comments

@BDonnot
Copy link
Collaborator

BDonnot commented Jun 2, 2021

Is your feature request related to a problem? Please describe.

To update the injection, you need to do:

act = env.action_space({"injection": {"load_p": 1.3 * self._init_load_p, "prod_p": 1.3 * gen_p}})
...

Describe the solution you'd like

I would like to be able to do it using the "properties", as for the others

act = env.action_space()
act.gen_p = ....
act.load_p = ....

Describe alternatives you've considered

Only the "old" syntax is supported, which is not very clear, nor convenient.

@BDonnot BDonnot added the enhancement New feature or request label Jun 2, 2021
@BDonnot
Copy link
Collaborator Author

BDonnot commented Jan 18, 2022

Will be integrated to next major release (2.0 most likely)

@BDonnot BDonnot added the version 2.0 Will be made available in version 2.0 at best label Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version 2.0 Will be made available in version 2.0 at best
Projects
None yet
Development

No branches or pull requests

1 participant