中初始化期间非线性求解器无法收敛

中初始化期间非线性求解器无法收敛

本文介绍了在 Dymola 中初始化期间非线性求解器无法收敛的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 ThermoSysPro 库的初始化过程中遇到错误.

I met an error during initialization when using ThermoSysPro library.

看起来Turbine5.Pe 比Turbine2.Pe 大,所以结果是否定的.不过我查了一下参数,应该不会有这样的问题.

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?

推荐答案

没有足够的信息,我建议在仿真设置中设置细节和/或非线性迭代>调试>非线性求解器诊断以获得更多信息.

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.

导致问题的完整表达式是sqrt((Turbine2.Pe^2-Turbine5.Pe^2)/(Turbine2.Cst*Turbine2.proe.T))

The full expression causing the problem is sqrt((Turbine2.Pe^2-Turbine5.Pe^2)/(Turbine2.Cst*Turbine2.proe.T))

由于两个 Pe 值都固定为 true,因此它们似乎不太可能是错误的,但如果没有完整的模型,则无法看到.

Since the two Pe-values have fixed=true it seems unlikely that they are wrong, but it is impossible to see without the complete model.

但是,也有可能 Cstproe.T 为负数,或者基于其他值计算为负值.

However, it is also possible that either Cst or proe.T is negative, or computed to a negative value based on other values.

没有完整的模型是不可能的.

Without a complete model that is impossible to tell.

这篇关于在 Dymola 中初始化期间非线性求解器无法收敛的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 21:42