Photonics

Photonics

Topics related to Lumerical and more

Issue in using “sourcepower” command in multi-source simulation

    • Saha
      Subscriber

      I have set up a dual source FDTD sim and I need to calculate each source's power in analysis. But for unknown reason the command "sourcepower" is not working for any particular source in the analysis script. It's working in command prompt though. Not sure what's wrong here.
      Also, is there other way of calculating the source power manually? I want to calculate it in analysis group rather than seperately because later these results will be collected as part of parameter sweep sim.

    • Saha
      Subscriber

       

       

       

       

       

    • Guilin Sun
      Ansys Employee

      You do not need to manually calculate and of course you can.

      The error you got is because the analysis does not have access to the source. If you move the source to the anslysis group it will work:

Viewing 2 reply threads
  • The topic ‘Issue in using “sourcepower” command in multi-source simulation’ is closed to new replies.