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
1 answer

Heat Regeneration in Dymola/Modelica

I want to build a system which consists of solar thermal collectors and ground source heat exchanger. I have a whole season weather data, which is connected with solar thermal collectors. I want to see how much heat will be released during the whole…
Orhun C.
  • 17
  • 4
0
votes
1 answer

How to set a start value of the temperature for the simulation of a cooling circuit in Modelica?

I am currently simulating a cooling circuit in OpenModelica. I want to give the simulation a starting value of the temperature. To do this, I insert the model of the medium into the circuit and specify an initial value with 'initial equation'. The…
Luca
  • 1
0
votes
2 answers

Get stop time of a simulation with OMPython

i'm developing a system in openmodelica which design the behaviour of a swarm of drone in various simulation. Now, i want to get the simulation result with OMPython, because i will use matplotlib to make charts of the various KPI. If i want to get…
BigMautone
  • 17
  • 6
0
votes
0 answers

How to calculate fall velocity of an object in Openmodelica

I'm developing a simulation of a swarm of drones in OpenModelica. The problem is that a lot of scenary can happen in the simulation, and two of the most common are battery at 0% collision with other objects. In both cases, i want the drone to…
BigMautone
  • 17
  • 6
0
votes
1 answer

How to cap values in equation section in OpenModelica?

I'm developing a drone simulation in OpenModelica. In an equation block I am calculating velocity and position vectors, but I want to cap the velocity to a certain value. This is a simplified example of my drone block. block drone parameter Real…
BigMautone
  • 17
  • 6
0
votes
0 answers

Air Turbine in Dymola

The turbine is supposed to draw air from the storage tank. When the air drawn, the pressure, temperature and mass of the air in the storage tank should be reduced. But that's not happening here but p,T,m are increasing. can anyone tell me why it is…
0
votes
1 answer

Heat Exchanger in Dymola

I am developing a model for Heat Exchangers. I wrote the energy balance equation. When I check the model, I am getting the error shown in the figure. I am not able to figure it out the remaining three equations model HX1 replaceable package…
0
votes
0 answers

Hydraulic network results in an under-determined linear system when second heat capacitor is added

I'm trying to model an hydraulic network which exchange heat with two mass of fluid in OpenModelica. I have two models: the first one: and the second one: The difference between the two is that in the first model the heat exchange is modeled with…
maxime3359
  • 75
  • 6
0
votes
0 answers

Simulation of closed volume getting error in simulation part

I modelled a compressor that gives air at a constant mass flow rate of 0.1 kg/s. I used a closed volume (fluid library) to store the air. When translated there was no error but when I do simulation, I am getting the following error.
0
votes
1 answer

Can we model a system without outlet boundary condition?

As you can see the figure, I gave outlet boundary condition as 20 bar. Actually I want the compressor to calculate the pressure outlet by using pressure ratio. Can we model a system using fluid libray without outlet boundary condition?
0
votes
0 answers

Hydraulic network works with StaticPipe but not with DynamicPipe in OpenModelica

As mentioned in the title, I'm trying to model an hydraulic network. It is working properly when I use the StaticPipe of the ModelicaStandardLibrary. However, as I'll need to introduce heat transfer later on, I tried to make the same model but using…
maxime3359
  • 75
  • 6
0
votes
1 answer

Max Value from loaded Time Series from CombiTimeTable

Is there a way to get the maximum value from a CombiTimeTable (tableOnFile==true) and use it as a parameter? I want to be able to use the max value in an equation without the need to set the Max Value for each component. Thinking about how others…
Phil
  • 624
  • 7
  • 19
0
votes
1 answer

Does this OpenModelica model make sense in a physical point of view?

I'm really new to OpenModelica. I'm a student and most of the time I used Finite elements softawres. I'm currently in my final intership and have to use OpenModelica to model a system. No one in the company is currently using it so they can't really…
maxime3359
  • 75
  • 6
0
votes
1 answer

Is it possible to model a pipe immersed in a fluid cavity using OpenModelica standard library?

I would like to model a pipe immersed in a fluid cavity to study the heat transfer between the two fluids. I modeled this by using two DynamicPipe connected to the same WallConstProp but I'm not sure it is a correct way to model it. My question is :…
maxime3359
  • 75
  • 6
0
votes
1 answer

FMU export from Dymola - When are the code export options required?

The goal is to export an FMU to be run on a target machine without a Dymola license. Do I always need a specific license? Without enabling the code export options in the license setup, all FMU types (me, cs, all, csSolver) seem to require a Dymola…
user12812532