Guilin Sun
Ansys Employee

As you know, the Poynting vector can be decomosed into longitudinal and transversal parts, and it is the longitudinal one that is used to calculate, measure the power. Please visit this definition:https://optics.ansys.com/hc/en-us/articles/360034405354-transmission-Script-command

So there is no problem for the monitor to record the power passing through it. You do not need to use grating-like analysis.  The original question was for grating device, not aperiodic.

If your intention is to measure the transmitted power it should work.

One thing you have to be careful when doing aperiodic simulation: the injecting source must have a fixed power, and should not change when its size is chan ged. For periodic simulation the plane wave is always larger than the simulation region. However for aperiodic, it can be very different. This is another topic if you have questions. 

 

However 

Â