openmodelica Questions

4

Solved

In the documentation it is indicated, that cardinality() function is deprecated and should no longer be used. However, it is still used in the libraries such as ThermoSysPro. e.g. if (cardinalit...
Coleslaw asked 21/11, 2019 at 15:1

1

Solved

I am designing a set of custom components for fluid system modelling. As there will only be one medium throughout the model, I want to be able to define that medium in one place. The system compone...
Wisteria asked 15/4, 2022 at 8:24

1

In order to make my model simulation's in Modelica run faster am asking the following quesion : What does impact simulation runtime in Modelica ? i will aprecicate any help possible.
Aerosphere asked 3/1, 2021 at 10:34

3

Solved

Status of the post: 200313 Got an answer with code DEMO_v42 that I accept for the bounty! 200310 I comment on two key papers suggested yesterday. Still do not understand how to update DEMO_v41. ...
Cookie asked 22/2, 2020 at 9:54

1

Solved

There are different Modelica Simulation Environments, including Dymola, Wolfram SystemModeler, OpenModelica, and Jmodelica. So, I try to load a thermal fluid library(ThermoSysPro https://github.com...
Crabtree asked 19/11, 2019 at 17:33

2

Solved

I am currently trying to simulate acoustic resonators using OpenModelica, and I am wondering how to robustly/nicely calculate their resonance frequency. As a simplified example (without Media, etc...
Meader asked 3/9, 2019 at 7:54

2

Solved

Task: I have a variable y1 whose derivative is driven by some law e.g. y1 = sin(time) and for which I set the starting value e.g. y1 = 3.0 I have a second variable y2 that is defined by y2 = y1 ...
Tideway asked 6/6, 2019 at 10:26

2

Solved

I wanted to do the following in Modelica: in a specific model I have several parameters h and I want to deduce some time independent values k from them by solving a set of implicit equations betwee...
Arcane asked 7/2, 2019 at 17:21

2

Solved

I noted numerical issues integrating a pulse input that is delayed by a fixed amount of time in Modelica (using Wolfram System Modeler 4.3): model PulseTest "Test FixedDelay with Pulse Input"; ...
Dellinger asked 10/12, 2018 at 16:41

3

This question has two main aspects actually. Right at the beginning, I have to admit that I am totally new to physical modeling and would be glad to be corrected as well, not only be answered. For ...
Traumatize asked 11/9, 2017 at 11:47

1

In Modelica I'm trying to define a dedicated data type OrifSizingCoeff for the sizing coefficient on an hydraulic orifice. The corresponding physical quantity is a volumetric flow rate divided by t...
Gannet asked 29/9, 2017 at 14:52

3

I have an OpenModelica model made with OMEdit. In order to get a concrete example I designed the following: Now I would like to run the model in Python. I can do this by using OMPython. After im...
Corrinnecorrival asked 7/1, 2014 at 7:49

1

I would like to understand the general idea behind hybrid modelling (in particular state events) from a numerical point of view (although I am not a mathematician :)). Given the following Modelica ...

4

Solved

I'm creating a library of components in Modelica, and would appreciate some input on techniques for unit testing the package. So far I have a test package, consisting of a set of models, one per c...
Dispart asked 22/3, 2016 at 14:31

1

Solved

Having run out of ideas again I turn to you. I'm sure this has to have been answered before though for the life of me I can't find a clear description of it. Scenario: You work hard to get a mod...
Benavides asked 7/1, 2016 at 17:27

1

Solved

I would like to perform integration of a function of a variable other than time in Modelica, but I don't know how to do it. For example, how can I evaluate the integral of x dx with upper limit 5 a...
Herzog asked 9/5, 2013 at 8:47
1

© 2022 - 2024 — McMap. All rights reserved.