How to extract S parameter automatically in mode solution ?


Can i extract s parameter automatically in mode solution?



Hi Qi,

You can, it just depends on the solver you are using. For the EME solver, it’s straightforward, the EME solver returns the S-matrix of the device as the result of the simulation. If you need a frequency/wavelength dependent S-matrix, you will have to run a sweep over the frequency/wavelength range (that said, in some case, like the Bragg grating example,, the wavelength sweep is approximated by a length sweep).

For the varFDTD, you can extract the S parameters using the mode expansion monitors and a bit of scripting, as shown in the ring resonator example (

I hope this helps,