- Index
- » Programming
- » Modelica Language
- » Compile Model vs Simulation
Compile Model vs Simulation
Compile Model vs Simulation
Dear all,
I have writen a Modelica model in which I have a function that calls a python script. This is done following the Interoperability C and Python advices. However, I am using an Anaconda3 python installation. I have managed to compile my code without any problem, I have tested it in command line with success. However, when running the simulation in OMEdit, the code compiles right but the simulation fails. Indeed, I think it is because of the PATH variable, wich modelica cleans and sets.
Could anyone please help me to modify the PATH variable in the OMEdit GUI please or to find the right SCRIPT where it is set? And to set correctly also my PYTHONPATH.
In advance, thank you
Re: Compile Model vs Simulation
You can play with %OPENMODELICAHOME%share/omc/scripts/Compile.bat
However, we only set paths for compilation and not for simulation.
Adeel.
- adeas
- 454 Posts
- Index
- » Programming
- » Modelica Language
- » Compile Model vs Simulation