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

incompatible numpy version #58

Open
qwang-EPRI opened this issue Mar 24, 2022 · 1 comment
Open

incompatible numpy version #58

qwang-EPRI opened this issue Mar 24, 2022 · 1 comment

Comments

@qwang-EPRI
Copy link

The chronix2grid requires numpy==1.18.0

However, the below code is using the "broadcast_shapes" attribute of numpy. This attribute exists for version >= 1.20.0 and does exist for version 1.18.0.

dispatch_results = generator.do_t(generation_input_folder, scenario_name, load, prod_solar, prod_wind,
                         path_case, scenario_folder_path, seed, params, params_opf, loss=None)
@marota
Copy link
Collaborator

marota commented Mar 25, 2022

You should be more explicit for us to investigate your error, especially since we need to reproduce it for that.

Please let us know your environment, OS, chronix2grid version and python packages version (pip freeze)

Where is the "broacast_shapes" actually called ?
Which command did you run ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants