We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Photonics unable to calcualte mode expansion Reply To: unable to calcualte mode expansion

Guilin Sun
Ansys Employee

It is difficult to give solutions based on the error message from Python. Maybe it is due to the difference of opration system? what OS you are using? what kind of device is this? does the mode expansion work directly from the file wihtout using python? I would suggest that you use a simple straight waveguide with ports, first do direct simulation, then use Python script.   we need to isolate the possible issues.