Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

关于启动sweep后第一个仿真模型无法构建的问题

    • shangxiangshuo
      Subscriber

      如题,我通过脚本建立了模型与sweep并运行sweep,但产生了如下报错:

        显示 “Error: prompt line 1: in setnamed, the requested property is inactive...”和“Error: "D:/……1.fsp" cannot be opened!”,请问该问题是什么原因造成的?

    • sidi.lu
      Subscriber

      您好,请问你用脚本建立的模型直接跑可以跑通吗?从报错看,似乎是你脚本生成的模型有问题。

      • shangxiangshuo
        Subscriber

        是可以跑通的,无论是用脚本建立的模型直接跑

        还是把sweep生成的其他模型中的参数改为第一个模型(也就是未能成功生成的模型)的参数,都能正常开始仿真

        • sidi.lu
          Subscriber

          感谢您提供后续。一般情况下,当使用setnamed进行设置不可设置的项时,就会报 the requested property is inactive 这条错。

          举个例子,如我图中使用circle模型时,在没有勾选make ellipsoid时,使用setnamed 设置radius 2 就会有这条报错。

          比如你可以打开你的第一个sweep 文件,查看生成的模型是否正确以及能否跑通。

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]