本文介绍了Modelica 中的稳态初始化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我有一个初始高度为 0.1 米(所有车轮垂直载荷 = 0)的多体车辆模型,当 sim 运行时,车辆会掉到地上,10 秒后,它达到稳定状态.

For example, I have a multibody vehicle model with an initial height of, say 0.1 meter (all wheel vertical loads = 0), as the sim runs, the vehicle will drop onto the ground, after 10 seconds, it reaches its steady state.

我想知道是否可以在稳定状态下精确地初始化模型?我读了一些关于同伦命令的东西,但由于缺乏示例,我什至不确定它是否是我正在寻找的东西,所以我无法将它实现到我的模型中.我想知道这种初始化问题是否还有其他解决方案?

I wonder if it is possible to initialize the model exactly at the steady state? I read something about the homotopy command, but I was not even sure if it is something that I was looking for due to lack of examples, so I am not able to implement it to my model. I wonder if there are any other solutions to this kind of initialization problem?

提前致谢!

推荐答案

感谢 Maths 的评论.

Thanks for Matths comments.

  1. matth 提供的网页很有帮助,如果有人想从稳态开始你的模拟,你应该看看.

  1. The web page matth has provided is very helpful, and if anyone wants to start your simulation from steady state, you should take a look.

我在用户手册 1,模拟器 API"部分找到了一些关于模拟继续的详细信息和更多命令.

I found some details on simulation continuation and more commands from User Manual 1, "Simulator API" section.

这是基于这个问题的另一个问题,

Here's one more additional question based on this one,

在 ImportInitial() 或 ImportInitialResult() 的 Dymola/source 文件夹中是否有等效的 C 函数?谢谢.

Is there an equivalent C function in the Dymola/source folder of ImportInitial(), Or ImportInitialResult()? Thanks.

这篇关于Modelica 中的稳态初始化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 21:42