dymola

How much is the largest capability of solving the nonlinear system model in Dymola?

百般思念 提交于 2020-05-30 06:10:17
问题 In Dymola, I often meet a nonlinear system initialization failure or maybe a stiff system that is hard to solve in the large thermo-fluid system, but for a simple system, there wouldn't be this kind of problem. My questions are: So I am wondering how much is the largest capability of solving a nonlinear system model? For example, how many nonlinear equations I could include in my model at most? Is there any setting in Dymola which allows increasing the capability of solving nonlinear system?

How much is the largest capability of solving the nonlinear system model in Dymola?

╄→尐↘猪︶ㄣ 提交于 2020-05-30 06:10:03
问题 In Dymola, I often meet a nonlinear system initialization failure or maybe a stiff system that is hard to solve in the large thermo-fluid system, but for a simple system, there wouldn't be this kind of problem. My questions are: So I am wondering how much is the largest capability of solving a nonlinear system model? For example, how many nonlinear equations I could include in my model at most? Is there any setting in Dymola which allows increasing the capability of solving nonlinear system?

How to see the nonlinear equations of a Modelica model in Dymola?

痴心易碎 提交于 2020-05-16 22:30:53
问题 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 following settings of debugging, I can't see the nonlinear equations in the dslog.txt file, only the iteration variables, how could I find the nonlinear equations? 来源: https://stackoverflow.com/questions/61797757/how-to-see-the-nonlinear-equations-of-a-modelica-model-in-dymola

What are the differences between diffferent Modelica Simulation Environments?

为君一笑 提交于 2020-04-10 03:42:25
问题 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/Dwarf-Planet-Project/ThermoSysPro), but except Dymola, the results on the other software all end with errors. If the library and the simulation environment are all based on the Modelica Specification Standard, why there is a compatibility issue? I think that maybe the library includes some features

What are the differences between diffferent Modelica Simulation Environments?

微笑、不失礼 提交于 2020-04-10 03:41:23
问题 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/Dwarf-Planet-Project/ThermoSysPro), but except Dymola, the results on the other software all end with errors. If the library and the simulation environment are all based on the Modelica Specification Standard, why there is a compatibility issue? I think that maybe the library includes some features

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

本秂侑毒 提交于 2020-01-25 08:36:09
问题 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 solver couldn't solve the equation in the following picture? 回答1: There is not enough information and I would recommend to set Details and/or Nonlinear iterations in Simulation setup>Debug>Nonlinear solver diagnostics to get more information. The

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

强颜欢笑 提交于 2020-01-25 08:36:08
问题 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 solver couldn't solve the equation in the following picture? 回答1: There is not enough information and I would recommend to set Details and/or Nonlinear iterations in Simulation setup>Debug>Nonlinear solver diagnostics to get more information. The

How can I continue simulating a motion with changing parameters in Dymola?

巧了我就是萌 提交于 2020-01-24 22:07:40
问题 I am building a model of an elevator and want to simulate its motion from the start point to a settled destination in Dymola. After each simulation, e.g. the elevator has reached one destination. I would like to continue the motion to next position from the previous. In my model a PID-controller has been used, which has two inputs(position of destination and current position). I copy each time the "dsfinal" output file and define it as the "dsin" input file as starting conditions for next

Modelica libraries use different MSL version

空扰寡人 提交于 2020-01-14 18:56:17
问题 I want to use two Modelica libraries together, in Dymola, so for convenience I wrote a little script, loadLibraries.mos that just opens the two libraries. But they use different versions of the MSL (3.2.1 versus 3.2.2), defined by the uses annotation in the top level package.mo: annotation(uses(Modelica(version="3.2.1"))); The library developed by us uses 3.2.2, the library that uses MSL 3.2.1 is developed by someone else. Now whenever I run the mos script (or when I open the two libraries

Trouble implementing a very simple mass flow source

被刻印的时光 ゝ 提交于 2020-01-13 05:59:28
问题 I am currently learning Modelica by trying some very simple examples. I have defined a connector Incompressible for an incompressible fluid like this: connector Incompressible flow Modelica.SIunits.VolumeFlowRate V_dot; Modelica.SIunits.SpecificEnthalpy h; Modelica.SIunits.Pressure p; end Incompressible; I now wish to define a mass or volume flow source: model Source_incompressible parameter Modelica.SIunits.VolumeFlowRate V_dot; parameter Modelica.SIunits.Temperature T; parameter Modelica