Mike 11 之"Invalid floating point operation"错误
# Mike 11 之"Invalid floating point operation"错误
发布于新浪博客,时间:2009-06-18 21:45:37 分类: 水利模型、信息化 原文 (opens new window)
这个错误非常普通,但其原因很难判断,大多数是因为模型具有很大的不稳定因素,比如模型中存在一些非规则的输入等等。此时建议用人为为给定初始场或者加载热启动场,或者以稳态or准稳态流模式运行模型,在此模式下,软件会提示出很多导致模型不稳定的问题,参考信息提示一一修改。
对单一HD的运算,注意河网的连接关系是否正确,特别是三叉口。断面的Mark点,X、Z值是否为非数值型、是否每个断面都计算了水力参数等。如果有结构物,检查结构的设置是否有逻辑型错误等等。
很多初学者可能都关注这个问题,可能我写的不够清楚,以下是DHI客服的回复,以供参考:
【Julie Landrein】
The error "invalid floating point operation" is very general so it is difficult to estimate what the exact problem is. The error message often results from a large instability in the model or from some illegal operation done by the model e.g. divided by zero.
Maybe you could try to use Parameter File as initial conditions or a Hotstart file. If you would like to use Steady State, then I recommend that you check the stability of the model. If you can't solve the problem, then I suggest that you send us a copy of your modeling files so that we could investigate the error further.