Questions tagged [jmodelica]

An extensible Modelica-based open source platform for optimization, simulation, and analysis of complex dynamic systems.

From the docs:

JModelica.org is an extensible Modelica-based open source platform for optimization, simulation and analysis of complex dynamic systems. The main objective of the project is to create an industrially viable open source platform for optimization of Modelica models, while offering a flexible platform serving as a virtual lab for algorithm development and research.

JModelica.org is distributed under the GPL v.3 license approved by the Open Source Initiative.

JModelica.org at a glance:

  • Model your systems using the object-oriented and equation-based language Modelica
  • Solve your complex simulation and optimization problems using state of the art numerical algorithms
  • Automate your work in the Python scripting environment
  • Visualize your results
111 questions
0
votes
1 answer

ImportError with pyfmi

I am tying to use pyfmi on our universities Linux HPC cluster. Building the FMILibrary and also installing pyfmi does not throw any error. However I get the below error message when trying to import pyfmi in python: File…
Markus
  • 63
  • 6
0
votes
0 answers

PyFMI: During load_fmu() call for FMU 2.0, Python stopped working with exception code 0xc0000005

I am using PyFMI as a FMU master for testing my tool which is acts as a FMU 2.0 slave. When i call load_fmu('fmuFile.fmu', log_level=5) function for loading the fmu, python.exe is crashing . When i check event viewer it is showing the exception…
0
votes
1 answer

How to transfer water from cylinder to tank in Dymola?

I've created a Dymola model. It has an empty tank, which is connected to the output of sweptVolume component via a static pipe. Input to the sweptVolume is a constant force, with the help of which I would like to transport water from the hydraulic…
0
votes
1 answer

Loading previously saved JModelica result-file

I got the following question: I am loading a JModelica model and simulate it easily by doing: from pymodelica import compile_fmu from pyfmi import load_fmu model = load_fmu(SOME_FMU); res=model.simulate(); Everything works fine and it even saves a…
0
votes
1 answer

What is the format of JModelica result_file_name output?

I am using the following code to print out results from JModelica: #!/usr/local/jmodelica/bin/jm_python.sh import pyjmi op = pyjmi.transfer_optimization_problem("BatchReactor", "model.mop") opt_opts =…
Richard
  • 56,349
  • 34
  • 180
  • 251
-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 2 3 4 5 6 7
8