Hello everyone, I'm having some trouble running the Hyperloop plugin for Open MDAO 0.13.0 on a Mac OS X system. I've successfully installed Open MDAO 0.13.0 and all of the required prerequisites, and I am also using the anaconda bundle for python 2.7 as the homebrew installation had caused some trouble in the installation previously. Now, when I attempt to run the hyperloop_sim.py script from within an activated openmdao environment, the script is receiving an Import Error when calling Cantera. I had installed Cantera previously along with the pyCycle plugin using the instructions on the gitHub page. https://github.com/OpenMDAO-Plugins/pyCycle
Unfortunately, it doesn't appear that Cantera ended up in the correct directory for it to be read by the pyCycle plugin from within the Hyperloop plugin. The resulting output from the error is shown below:
Anyone have any ideas? Thanks in advance! - Kyle
asked 01 Sep '15, 23:20
You'll need to recombile/rebuild cantera from source, but do it after you've activated the openmdao anaconda env.
That way it will install the Cantera package into your new python install.
The same goes with any other packages you installed previously, they will have to be re-installed as well (except for the OpenMDAO dependencies, which were installed for you during our install process).
answered 02 Sep '15, 07:28
I wasn't able to install cantera 2.0.2 into the anaconda environment for Mac OSX. The only version available within the anaconda repository was for the Win32 operating system. Therefore, I reverted back to using the homebrew install of python and the go-openmdao-0.13.0.py script instead of anaconda and voila! ...the cantera issue was resolved. Also, when I ran the openmdao test this time, it came back as OK instead of failed...another good sign.
Now, I am able to run the plotting scripts within the Hyperloop model just fine (i.e. mach_vs_area_plot.py, battery_plot.py, tube_wall_temp.py), but it seems I am running into one more issue. When I run the hyperloop_sim.py script, I am running into issues importing the geometry for the pod. See below for output:
Any ideas for this one?
answered 09 Sep '15, 10:53
I've found an answer to my installation troubles. The Hyperloop plugin doesn't work on Open MDAO 0.13.
It looks like the latest version of the Hyperloop plugin was designed for Open MDAO 0.10.0. Once I deleted Open MDAO 0.13.0 and reverted back to Open MDAO 0.10.0, I was able to make the plugin work!
For future users, you can access the archive of Open MDAO versions at the link below: http://openmdao.org/downloads/archive/
Now onto the real challenging part of trying to make all of this great analysis I've dug up useful..
Thanks for you help JustinGray!