simulink仿真遇到This model is structurally singular 问题

今天在尝试用simulink搭建一个简单的电路进行仿真,诊断器报了一个错误:

  • This model is structurally singular because some variables are missing from the final set of equations. Check the equations that depend on the following variables: 
  • ['simplehotwet/Capacitor2']: Check variable v. 在 foundation.electrical.electrical (line 12) 中这个模型在结构上是单一的,因为最后的方程组中缺少一些变量。检查取决于以下变量的方程。

这个的意思是:这个模型在结构上是单一的,因为最后的方程组中缺少一些变量。检查取决于以下变量的方程。

我本以为是电容 capacitor的值设置有问题,改了好几遍它的值,但这个问题还是存在。

最后我发现这个电容处于电路网络末尾,我在其端口处加了一个GND(simucape库里的GND)

这样再仿真就没有问题了

猜你喜欢

转载自blog.csdn.net/weixin_51286347/article/details/125421595