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

How could I export a Vector graphics in Dymola?

How could I export a Vector graphics of my model in Dymola? In Microsoft Visio OR AutoCAD software, I could find this kind of option under the menu of the file, but I couldn't find it in Dymola.
Jack
  • 1,094
  • 6
  • 16
0
votes
1 answer

Error when using an inner variable of a component

I am using Thermal Power Library from Modelon. There is a condenser component in the Thermal Power Library which is used for the modeling of power plants. The default heat transfer area for the wall_2 in the condenser component is 0.8*A_heat_tot,…
Jack
  • 1,094
  • 6
  • 16
0
votes
1 answer

Looking for PID tuning library in Modelica

I am building a control system with the Modelica Standard Library. But I got trouble in tuning the parameters in the PID system,so I wanna use a library that could do auto-tuning for the PID system. After some searching on Google, it seems there is…
Jack
  • 1,094
  • 6
  • 16
0
votes
0 answers

Error in OneModelica using Dymola compiler

I keep getting the error "Errors or failure to expand a concealed equation" while trying to run a model on OneModelica using Dymola compiler. Has anyone faced such an error before? Thanks
0
votes
2 answers

How to ensure convergence during the initialization of the nonlinear system in Dymola

Is there a guide for increasing the ability of convergence during the initialization of the nonlinear system in Dymola? Usually, the connector contains start values, but they are not always suited for the model I build, so there might be a…
Jack
  • 1,094
  • 6
  • 16
0
votes
2 answers

Non-liner solver couldn't converge during the initialization in Dymola

I met an error during initialization when using ThermoSysPro library. It seems like the Turbine5.Pe is larger than Turbine2.Pe, so the result is negative. but I checked my parameters, there shouldn't be such a problem. Is this because the nonlinear…
Jack
  • 1,094
  • 6
  • 16
0
votes
1 answer

altering Newton`s cooling example in Dymola to show sinusoidal behavior

I am trying to alter the Newton cooling problem (link: https://mbe.modelica.university/behavior/equations/physical/#physical-types) so that : 1) T_inf is 300K for the first 5 seconds 2) At T=5, I switch it to sinusoidal wave with T_inf having an…
0
votes
1 answer

DEA mode activation in Dymola

I have a problem regarding solving the model in DAE mode. I need to know the procedure for the activation of the DAE flag in Dymola 2019.
0
votes
0 answers

Dymola/Modelica & Matlab/Simulink export into Qt export - Can I use different compiler?

I have a Matlab/Simulink project representing a complex mechanical process and which includes exported Dymola parts. I wish to export this model into a Qt-made GUI to provide a user-oriented interface. The Qt project is then exported into a…
Vincent
  • 417
  • 3
  • 12
0
votes
2 answers

Connect parameter variables in expandable connector

Two models are connected via an (empty) expandable connector. One of the two, makes a connection between the expandable connector and a parameter variable. I didn't expect any issue. On the contrary, I had some issues: OpenModelica compiles Version…
DarioMangoni
  • 301
  • 1
  • 10
0
votes
1 answer

Am I incorporating this nested Function properly on OpenModelica?

NOTE: This question is referencing PrescribedSpeedPump.mo located ThermoPower.Examples.RankineCycle.Models.PrescribedSpeedPump I'm trying to simple pump model since all models I build incorporating this pump always yield the same error message: [1]…
finnahuss
  • 317
  • 3
  • 9
0
votes
0 answers

How do I solve Modelica errors of variables, where the variables are parameters of extensions that your model is using?

I've been trying to build a Rankine Power Cycle on OpenModelica for quite some time now and have been running into a reoccurring issue that I'm just not sure how to troubleshoot. My Issue: I'm able to get the majority of all of my Rankine Power…
finnahuss
  • 317
  • 3
  • 9
0
votes
1 answer

Dymola BlockTimers for simulation that has been stopped

I have a simulation that is very slow at certain times (in my example shown below at time=358.65). In the eventlog.txt and dslog.txt there are no entries for this time. As a next step I set GenerateTimers and GenerateBlockTimers to true, but I had…
matth
  • 2,568
  • 2
  • 21
  • 41
0
votes
1 answer

After adding libraries to dymola, i can't connect it to Python via buildingspy

After i have made some libraries load directly when i open Dymola by modifying the file : "c:/program files (x86)/dymola 2016 fd01/insert/dymola.mos" , and adding those lines…
Hâla
  • 11
  • 2
0
votes
0 answers

How to display simulation result from Dymola in LabVIEW environment?

I would like to simulate a radial fan test rig in Dymola. The test rig itself acquire the data from several sensors using LabVIEW. My planning is to compare the simulation result from Dymola and the data from sensors in real time in LabVIEW…
nww
  • 1
  • 1