Questions tagged [dymola]

Dymola is a commercial modeling and simulation environment based on the open Modelica modeling language.

Dymola is a commercial modeling and simulation environment based on the open Modelica modeling language.

645 questions
0
votes
2 answers

Increment of Variable goes wrong

the variable is now starting with j = 1, but the increment is wrong. For t = 0.5 it should have the value of 2 and for t = 1, j = 3 and so on... You see the error on the following image class abc import Modelica.SIunits; parameter SIunits.Time…
lars
  • 23
  • 3
-1
votes
1 answer

Dymola- interpolateTrajectory failed to expand

I am dealing with a problem with the interpolateTrajectory command of Dymola. I have been trying with a lot of possibilites to make the command run, but i always receive the same error "Failed to expand InterpolateTrajectory" --First input, I tried…
ichubi
  • 1
-1
votes
1 answer

why package does not open in modelica after rename it

I had a package of models that worked perfectly until I duplicated it and gave it a new name. The new package now won't open and displays an error message. [C:/Users/moi/Desktop/VCR_model_29_12_2022/package.mo: 2:1-3:14]: I expected the package to…
-1
votes
1 answer

Set the Y-axis in the right side in Modelica OMEdit plot

For specific reasons i want to change the Y-axis location from left to right. so if anyone can help me with the way. thanks
-1
votes
1 answer

Summation of a variable variation values in Modelica

In my model i have the evolution of a variable lets say the electric power during time and i want to calculate the summation of the total electric power during the simulation time ,if anyone have an idea of how i will be thankfull.
-1
votes
1 answer

Transform OpenModelica code to a schematic model

I created my personal program of a system similar to a heat pump. Can I transform this code to a schematic model where I can see the changes happening within a system in a sort of animation for example let's say a liquid variation level in a tank?
-1
votes
1 answer

how to find/ incorporate forced convection in dymola

Am doing a project which is about thermal management of the 18650 lithium-ion pack. I am currently simulating the model under natural convection. But I am supposed to run under forced convection. How/ where can we find forced convection in Dymola
-1
votes
1 answer

Use Sim() command without coder.extrinsic in Matlab

Is there an alternative function to the sim() command oder a direct way executing a Simulink Model / a compiled version of it from Matlab without setting coder.extrinsic? I want to execute a simulink model inside of an iterative Matlab-function.…
-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

Pump Valve On/Off Regulation for Certain Time

In Switzerland, the heating period usually lasts from mid-September to mid-May. Is there any possibility to set either valve or pump to closed (0 if y=true) position from e.g., 15.05 till 15.09 in the simulation?
Orhun C.
  • 17
  • 4
-2
votes
1 answer

how to import c code to TwinCAT

I am quite new to TwinCAT 3.I am trying to import a C code from Dymola to TwinCAT 3.I have gone through BECKHOFF manual but it didn't help much. It would be grateful,if you could help me.
-2
votes
2 answers

Dymola Issue: "Dymosim.exe has stopped working"

I am running large-scale thermal-fluid system simulation with Dymola 2012. At the end of simulation I received the following warning message: "Dymosim.exe has stopped working". I could workaround this by clicking the "Close program" (another option…
-3
votes
1 answer

Is there an open-source heat exchanger library written in Modelica?

Is there an open-source heat exchanger library written in Modelica which covers different types of heat exchangers? Like on this web page https://en.wikipedia.org/wiki/Heat_exchanger
Jack
  • 1,094
  • 6
  • 16
1 2 3
42
43