modelica 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
2
Solved
For many programming languages there are style guides available,
e.g. PEP8 for Python, this Matlab style guide or the style guides by Google.
For Modelica I found the conventions described in the U...
Lavadalavage asked 4/1, 2013 at 19:12
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
Modelica modeling is the first principle modeling, so how to test the model and set an effective benchmark is important, for example, I could design a fluid network as my wish, but when building a ...
1
Solved
this is more of an hypothetical question, but might have great consequences. Lot of us in Modelica community are dealing with large scale systems with expensive simulation times. This is usua...
3
I am new to the subject "modeling of physical systems". I read some basic literature and did some tutorials in Modelica and Simulink/Simscape. I wanted to ask you, if I understand the following con...
Wonderment asked 20/5, 2016 at 19:14
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
5
Solved
I need a little help with initialising arrays in openmodelica. I created a modelica class which should generate an array with variable size. The size is to be set as a parameter and is of type inte...
1
Does anyone have experience converting Modelica 3.x files to the new 4.0 library standard? There is a link to a script, yet I am not sure how to apply it.
https://github.com/modelica/ModelicaStanda...
Vehicular asked 31/10, 2020 at 18:4
0
I build a large model in Dymola, there are nonlinear equations in this model, I wanna know which nonlinear equations decrease the performance and cause an initialization failure, but with the follo...
1
Solved
Wolfram system modeler has a function called "equation browser", the youtube video here(at 20:58) gives an introduction about "equation browser", I am wondering if Dymola has the same function, it ...
Intitule asked 8/5, 2020 at 8:32
0
I build a Modelica model, but when checking the model (Here is the model download link), it shows a local singularity like in the following screenshot.
so I delete the code showed in the error me...
3
Solved
The noEvent operator in Modelica doesn't use iteration to find the precise time instant in which the event was triggered.
It seems this would cause calculation error, here is an example I find ...
Traveled asked 22/2, 2020 at 9:49
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
I have a library without annotation (uses(Modelica(version="X.Y.Z"))); in the top level package.mo file. Can I manually execute the conversion script to update my library? And where is it located? ...
3
Solved
I have a FMU of a model and the use case is to change parameter values of the FMU to see the impact on the results. Is there a way to list top level parameters of the FMU using either FMPy or pyFMI...
2
Initialization could be very cumbersome and easily lead to divergence. A simple strategy is to run the simulation when building a part of the whole system and use the simulation results to modify g...
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 would like to use Jupyter Notebook for editing JModelica python scripts; however after installing, the Jupyter notebook cannot locate key libraries, such as pymodelica.
Here is the process I fol...
Overabundance asked 1/3, 2018 at 14:29
3
Solved
My problem is to open some MAT-files generated by Dymola. Some times for small models MATLAB has no problem to open the created MAT-file. Then I can see the structure in the workspace.
But I have a...
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
3
Solved
Please consider the following small Modelica model and function:
model VectorizeDemo
parameter Integer na=5;
final parameter Integer nb=2*na;
final parameter Real a[na] = {2*i for i in 1:na};
...
Whitehot asked 9/8, 2019 at 11:8
3
I am trying to slim down a very complex model to improve performance, and noticed big performance changes when I add or remove variables into the signal bus, especially multi-body frames.
I am won...
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
4
Solved
I try to set up the pyFMI on Anaconda (Python 3.6.8)
Installed all the required packages listed on the pyFMI site. The fmu is loaded without the issue but while I try to simulate the fmu I get an...
Adrea asked 15/3, 2019 at 8:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.