Questions tagged [openmodelica]

OpenModelica is an open-source Modelica-based modeling and simulation environment.

OpenModelica is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage. Its long-term development is supported by a non-profit organization – the Open Source Modelica Consortium (OSMC).

The goal with the OpenModelica effort is to create a comprehensive Open Source Modelica modeling, compilation and simulation environment based on free software distributed in binary and source code form for research, teaching, and industrial usage.

698 questions
-1
votes
1 answer

FMU machine learning model

I had some success in deploying my machine learning model (already trained) in a simulation environment (OpenModelica, in this context) via an external C-function. However, to standardise the process, I am aiming to use the FMI standard instead of…
philgun
  • 149
  • 8
-1
votes
1 answer

Generating two random time depedant veariables with different sample periods

Following this question, I'm trying to generate two time-dependent random functions omega1 and tau using this example. The difference is that I need to have two different sample periods of 0.05 and 0.17 for omega1 and tau respectively. I just…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
-1
votes
1 answer

OMSimulator PreCompiled Binaries

I can find OMSimulator-Win 64 bit pre compiled binaries. Where can I find the OMSimulator-Win 32 bit pre-compiled binaries on the github? Thanks
kar
  • 9
  • 1
-1
votes
1 answer

Modelica Flow Simulation says divide by zero

I am trying to simulate the flow in a pipe that starts out partially full, and gradually fills up. Once it is full, the flow equation needs to change. I have tried the following code, but I get a divide by zero error once the pipe is full. …
Adam
  • 742
  • 1
  • 6
  • 23
-1
votes
1 answer

How to extract values from algorithm section?

I'm working with parabolic PDE's mixed with algebraic equation plus all these equation are coupled. I used Euler Method (Dassl is too slow) and big tolerance(for fast simulation) and recive error (for both types) in OM(1.9.1)(" residualFcn[some…
Anel
  • 121
  • 1
  • 2
  • 12
-2
votes
1 answer

What is the problem with this model ? 4D matrix interpolation

I want to create a 4d matrix and interpolate. Dymola shows me this error for all interp values. interpX1 (line 40, column 10: erstellte_Bauteile.QuadriLinearInterpolation) Expected one…
Alex
  • 43
  • 4
-2
votes
1 answer

Error: Compilation of C code failed - Modelica

when I compile my code in Modelica, I get following error: Command Compile failed with following error: User error: ERROR: java exception in com.modelon.oct.modelica.api.InternalAPIException with message: Compilation of generated C code failed I…
alimuradpasa
  • 135
  • 1
  • 10
1 2 3
46
47