Photonics

Photonics

Topics related to Lumerical and more.

EME simulation in Python

TAGGED: ,

    • nina.megier
      Subscriber

      I try to implement in Python the EME geometry as described in 

      https://optics.ansys.com/hc/en-us/articles/1500007398122-Using-the-EME-solver-to-simulate-and-optimize-waveguide-bends

      In particular, I try to introduce 4 cell groups with 

      mode = lumapi.MODE()
      mode.addeme()
      mode.set("number of cell groups",4)
      mode.set("group spans",np.array([3e-6, 10e-6, 10e-6, 3e-6]))
      mode.set("cells",np.array([1, 1, 1, 1]))
       
      but get an error connected with the 3. line  "lumapi.LumApiError: 'in set, the requested property was not found'".
      How can I implement this?
      How can I name the particular cells/cells groups and assign some bending radius to them?
       
       
    • Guilin Sun
      Ansys Employee

      most likely it is due to the head. I tested and it works fine with your code:

Viewing 1 reply thread
  • The topic ‘EME simulation in Python’ is closed to new replies.