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

running cyberInverter (& pycigar) model #406

Closed
mzinfobeyond opened this issue Oct 9, 2023 · 4 comments
Closed

running cyberInverter (& pycigar) model #406

mzinfobeyond opened this issue Oct 9, 2023 · 4 comments

Comments

@mzinfobeyond
Copy link

Hello,

I'm currently facing an issue while attempting to run the CyberInverters model on our production site, https://www.omf.coop/. The error message I'm encountering is as follows:

Traceback (most recent call last):
  File "/omf/omf/models/__neoMetaModel__.py", line 51, in heavyProcessing
    outData = work(modelDir, inputDict)
  File "/omf/omf/models/cyberInverters.py", line 441, in work
    runPyCIGAR()
  File "/omf/omf/models/cyberInverters.py", line 323, in runPyCIGAR
    battery_vvc = False
TypeError: main() got an unexpected keyword argument 'device_path'

Additionally, I've attempted to run CyberInverter through Docker, but it appears that pycigar is not installed. Here's the output from Docker:

MODEL ENCOUNTERED AN ERROR AS FOLLOWS:

Traceback (most recent call last):
  File "/home/omf/omf/models/__neoMetaModel__.py", line 51, in heavyProcessing
    outData = work(modelDir, inputDict)
  File "/home/omf/omf/models/cyberInverters.py", line 441, in work
    runPyCIGAR()
  File "/home/omf/omf/models/cyberInverters.py", line 239, in runPyCIGAR
    import pycigar
ModuleNotFoundError: No module named 'pycigar'

I'm currently running all tests with the default values. Could you please provide guidance on how to resolve this issue?

Thank you.

@dpinney
Copy link
Owner

dpinney commented Oct 10, 2023

Thanks for the bug report. Looks like it's an issue with private pycigar package version mismatch. Let me check with the team.

@mzinfobeyond
Copy link
Author

mzinfobeyond commented Oct 10, 2023

Thank you for getting back to me. Additionally, could you please provide instructions on how to install the pycigar module on my local system?

@mzinfobeyond
Copy link
Author

Hello @dpinney ,

Have you received any communication from your teammate regarding the installation of the pycigar module? Thank you for your time.

@dpinney
Copy link
Owner

dpinney commented Oct 17, 2023

Hi again, the team let me know the pycigar module is not in fact released publicly. So this model will not be able to run until further notice.

@dpinney dpinney closed this as completed Oct 17, 2023
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