Please login with a confirmed email address before reporting spam
Posted:
6 years ago
Jun 4, 2019, 11:01 a.m. EDT
Updated:
6 years ago
Jun 4, 2019, 11:02 a.m. EDT
Dear Shqiprim Adrian,
You are right that the transmittance variable is defined from the S-parameter variable for the port. If the port name is for instance 2, and the port is not located on the same boundary as your excitation port, you get a transmittance variable defined as
ewfd.Tport_2 = abs(ewfd.S21)^2,
assuming that it is the port named "1" that is the exciting port.
Similarly, if the port is defined on the same boundary as the exciting port, you get a reflectance variable. For instance,
ewfd.Rport_3 = abs(ewfd.S31)^2,
assuming that this port is named "3".
When you use Ports of the Periodic type and when you add Diffraction order ports, you also get reflectance and transmittance variables with names based on the mode number, instead of the port name. For instance, if you add a Diffraction order port to the same boundary as your exciting port, in 2D geometry, with mode number m = 1 and in-plane polarization, you get a variable called
ewfd.Rorder_p1_ip = abs(ewfd.SN1)^2,
where "p1" represents the mode numer m = +1 and "ip" represents the in-plane polarization. Here, "N" in the S-parameter variable ewfd.SN1 is the port name for this port. However, using the "mode" variables you don't need to keep track of the port names.
Best regards,
Ulf Olin
Dear Shqiprim Adrian,
You are right that the transmittance variable is defined from the S-parameter variable for the port. If the port name is for instance 2, and the port is not located on the same boundary as your excitation port, you get a transmittance variable defined as
ewfd.Tport_2 = abs(ewfd.S21)^2,
assuming that it is the port named "1" that is the exciting port.
Similarly, if the port is defined on the same boundary as the exciting port, you get a reflectance variable. For instance,
ewfd.Rport_3 = abs(ewfd.S31)^2,
assuming that this port is named "3".
When you use Ports of the Periodic type and when you add Diffraction order ports, you also get reflectance and transmittance variables with names based on the mode number, instead of the port name. For instance, if you add a Diffraction order port to the same boundary as your exciting port, in 2D geometry, with mode number m = 1 and in-plane polarization, you get a variable called
ewfd.Rorder_p1_ip = abs(ewfd.SN1)^2,
where "p1" represents the mode numer m = +1 and "ip" represents the in-plane polarization. Here, "N" in the S-parameter variable ewfd.SN1 is the port name for this port. However, using the "mode" variables you don't need to keep track of the port names.
Best regards,
Ulf Olin