Syntax error in OpenModelica not allowing to leave current text mode (to check other text or menu bar)
OpenModelica has an automatic error-checking feature in textual mode. If the syntax of the model has an error (most times because it is work in progress), this does not allow to go check another code or to access the top menu bar.
The omc command of OpenModelica is not functioning
While it is possible to compile using the OpenModelica Connection Editor, when executing omc -s xxxx.mo from the command prompt, the compilation fails.
It seems that the compilation is stopping midway because xxxx_init.c does not exist.
However, even when compiling with the OpenModelica Connection Editor, it does not appear that xxxx_init.c is being generated.
Does anyone know a solution to this issue?
Issue Installing ThermalSeparation Library in OMEdit
I am experiencing an issue while trying to install the ThermalSeparation library in OMEdit. Despite the library being listed in the ‘index.json’ file, indicating its availability, it does not appear in the ‘install libraries’ box within OMEdit. I have attempted to update the software, but the problem persists
Discharge of thermal storage with water/steam and phase change material
I am working with OMEdit (v1.22.3) and I tried to replicate something similar to the model shown in this journal paper:
Why does the CPU time increase significantly even though I use the noEvent operator in OpenModelica?
When I simulate the following model, the CPU time increases unexpectedly:
Change parameter values of nested model in OMShell
i am trying to get familiar with OMShell because i need to do multiple simulations with models in my self-written package extending models of the buildings library…multiple runs, where i want to vary weatherfiles used and some values within a parameter-record defining my model. I’d like to write a script (.mos) to automate this process and came across the command “setParameterValue()”. Trying to use it to manipulate a parameter of a model within the model i simulate doesn*t seem to work as i get an Error-message stating that it couldn’t find the class. But it works when i want to manipulate a parameter in the model i want to simulate itself.
Plotting the polygon
There is a model that checks the entry of a point into an arbitrary polygon. Simulation graphs can show time-dependent variables. Is it possible to somehow plot the polygon itself and the point on it on the graph during modeling?
Path with special characters
If there are special characters, namely Cyrillic letters, in directories in the project path, the simulation ends with an error “Re: Compilation process failed. Exited with code 0x00000002.”.
I’m using the version OpenModelica 1.22.2-64bit.
How can I solve this problem if there is no way to exclude special characters from in the project path.
Cyrillic characters in the names of classes
Is it somehow possible to use Cyrillic characters in the names of classes and their instances?