830 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
77
views
Frictionless pipe using the Modelica Fluid library
I'm trying to obtain a frictionless pipe model starting from a dynamicPipe model.
In order to do so, I modified the dynamicPipe model as:
extends PartialStraightPipe_noFric(final port_a_exposesState = ...
0
votes
1
answer
66
views
Error in OPENMODELICA: INTEGER_ATTRIBUTE' has no member named 'nominal'
I have created a modelica package with dymola with opensource libraries. the models in the package are compiled and simulated in Dymola perfectly but when I try to simulate them in openmodelica, the ...
1
vote
2
answers
87
views
How to define a constant from a function in initial algorithm. Modelica
I want to define a constant value at the start of a Modelica simulation using an external function. The function is defined with an algorithm section.
Here’s a minimal example:
within Test;
model ...
1
vote
1
answer
83
views
How to make the MSL block PID tuneable with respect to parameter Td for MSL 3.2.2 build 3?
I find it confusing to use a model that contains Modelica.Blocks.Continuous.PID from MSL 3.2.2 build 3, since the PID parameter Td is not tuneable, when I want to re-run simulation. This happens when ...
0
votes
1
answer
79
views
Not found in Scope with TableBased Fluid Medium Model
I am trying to create an incompressible liquid fluid model using the TableBased by duplicating the Glycol47 package. I made changes to the fluid tables as shown below:
package LubeOil "LubeOil ...
0
votes
1
answer
57
views
Modelica MultiBody system: Inerter (IdealGearR2T + Inertia) not damping under excitation — no rotation or damping observed
I would really, really appreciate your help with this issue.
I am trying to simulate a mechanical system in Modelica (Modelica Standard Library 4.0.0) that uses an inerter mechanism — by coupling an ...
0
votes
1
answer
53
views
Modelica --constrainedby-- missing on constrained models
I try to structure a package in the following way
package TopLevel
package Examples
model Example
end Example;
end Examples;
package Components
model TwoPhase
replaceable ...
2
votes
2
answers
253
views
Mole fraction of mixed gas
I'm a beginner at openmodelica.
I am trying to combine the following two MSL components to create a sensor that outputs mole fraction.
I think that to calculate the mole fraction(using(2)), it is ...
0
votes
0
answers
70
views
How to Model a BLDC Motor in OpenModelica?
I am currently working on modeling a BLDC motor in OpenModelica, but I am facing significant challenges in building a working model from scratch. Since there is no predefined BLDC motor in the ...
1
vote
0
answers
162
views
Compiling FMU in CMake
I'm using OpenModelica v1.24.3 (64-bit).
Exception Unhandled.
Femyou.FmuException: 'Failed to load model description' Inner
Exception FileNotFoundException: Could not find or load the native
library: ...
0
votes
1
answer
77
views
Modelica: Over-determined system when assigning voltage and current to connectors
I'm working on a simple Modelica model where I connect two custom-defined electrical connectors (ElectricalConnector) and try to assign specific values for voltage (v) and current (i) to one of the ...
0
votes
1
answer
62
views
Problem with mechanical modelling of polygon effect on chain hoists
I want to convert the rotational motion of an axle into the translational movement of a chain to simulate the oscillations in the chain due to the polygon effect caused by the chain hub. I implemented ...
1
vote
1
answer
53
views
Can a grayscale image be visualized in Dymola?
I wonder if it is possible to visualize an image matrix in dymola? I have a matrix, the coordinates of each matrix element represent the position of that pixel in the image, and the element value ...
0
votes
0
answers
97
views
How to create a vacuum pump in open Modelica
I need to simulate a vacuum system. I am facing multiple problems : first I can't find a way to make the pump flow dependant of the pressure inside the chamber. Secondly, with a constant flow, the ...
0
votes
0
answers
59
views
How to load the result file in OpenModelica in .mat format
I am trying to do a co-simulation between Fluent and OM. In this process, I need to read/load the results of OM simulation in every iteration after each simulation time and add tracer concentrations ...