-
Notifications
You must be signed in to change notification settings - Fork 11
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
Step-by-step instructions to get examples up and running #78
Comments
(oops, prematurely submitted this issue) I don't spend much of my time in Python or Linux, so I'm sure it's something simple I'm missing... running from the wrong directory, some weird configuration or whatever, but I'd appreciate any help I can get on this. Thanks! |
OK, so I switched to Conda on windows instead, as I was running out of steam on this, and after installing the pyfmi dependency, and getting the visual C++ build tools to install that...6 GB or more... I can run this. However, the version that seems to be shipping with Conda is the 0.0.9 release, and the simple example (as it's written) depends on MODESTGA, which was added since this release. Anyone have any advice on next steps? |
OK, so I had to:
and I was able to run the example, with some fixes to the Let's see how we go... |
Hello, I reproduced this issue. When running
However, it was also followed by another error:
I'm not sure why it stopped working suddenly (some Ubuntu upgrade?), but this helped:
Also, it's better to first clone the repository if you want to run examples, because this way you make sure you have all needed files on disk. Therefore:
Let me know if it helped. |
OK great, I got it up and running in windows, but I'll try again under linux with these instructions. As an aside, with my FMU and parameters I'm getting
or I'll try and sanitize my setup and make it into something that reproduces it reliably to post in a separate issue. |
@robot-army , the overflow error means you are multiplying too large numbers (unable to save the result with a given number of bits). If your FMU works fine with the default parameters and fails during the parameter tuning in modestpy, then probably your parameter ranges are too large for this FMU. Try running modestpy with smaller parameter ranges. I'm closing this issue as it seems the original problem was solved. |
Hi,
I'm having some difficulty getting the example code up and running. I cloned the github repo on a new Ubuntu linux VM and ran pip install .
I then ran
python3 ./examples/simple/simple.py
The output looks like:
The text was updated successfully, but these errors were encountered: