Straight Waveguide
Straight Waveguide #
![]()
Straight Waveguide (WGD) is the most basic optical waveguide model, describing the phase, loss, group delay, and dispersion accumulated as light propagates along a straight waveguide. Its length determines how much phase and loss accumulate, while the mode parameters determine phase velocity, delay, and dispersion. It is a fundamental building block for structures such as ring resonators, Mach–Zehnder interferometers, and delay lines.
Ports #
Two optical signal ports. Bidirectional by default; can also be switched to unidirectional.
| Name | Type | Data |
|---|---|---|
| port 1 | Optical Signal | Bidirectional |
| port 2 | Optical Signal | Bidirectional |
The table reflects the default bidirectional configuration; after changing configuration, port directions may change.
Properties #
General #
Identifies and manages the element itself, including name, annotation, enable state, and display style. This property group affects schematic presentation only and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | WGD_1 | - | - |
| annotate | Whether to show annotation | true | - | [true, false] |
| enabled | Whether the element is enabled | true | - | [true, false] |
| type | Unique type identifier of the element | Straight Waveguide | - | - |
| description | Brief description of the element | Optical straight waveguide | - | - |
| prefix | Prefix for the element name | WGD | - | - |
| local path | Local path or working folder of the element | - | - | - |
Standard #
Defines waveguide length and operating frequency—the primary settings that determine phase, delay, and loss accumulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| configuration | Port configuration | bidirectional | - | [bidirectional, unidirectional] |
| frequency | Frequency | 193.1 | THz | (0, +∞) |
| length | Length | 1e-5 | m | [0, +∞) |
Waveguide / Mode 1 #
Sets the transmission parameters of mode 1 (typically TE), which determine phase accumulation, delay, loss, and dispersion for that mode.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| orthogonal identifier 1 | Orthogonal identifier of mode 1 | 1 | - | [1, +∞) |
| label 1 | Label of mode 1 | TE | - | - |
| loss 1 | Loss of mode 1 | 0 | dB/m | [0, +∞) |
| effective index 1 | Effective index of mode 1 | 1 | - | (-∞, +∞) |
| group index 1 | Group index of mode 1 | 1 | - | [0, +∞) |
| dispersion 1 | Dispersion of mode 1 | 0 | s/m/m | (-∞, +∞) |
| dispersion slope 1 | Dispersion slope of mode 1 | 0 | s/m^2/m | (-∞, +∞) |
Waveguide / Mode 1 / Thermal #
Sets the temperature coefficients of mode 1, describing how temperature changes affect refractive index and loss.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| effective index temperature sensitivity 1 | Temperature sensitivity of the effective index of mode 1 | 0 | /K | (-∞, +∞) |
| excess loss temperature sensitivity 1 | Temperature sensitivity of the excess loss of mode 1 | 0 | /K | [0, +∞) |
Waveguide / Mode 2 #
Sets the transmission parameters of mode 2 (typically TM), used to describe polarization-dependent transmission characteristics.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| orthogonal identifier 2 | Orthogonal identifier of mode 2 | 2 | - | [1, +∞) |
| label 2 | Label of mode 2 | TM | - | - |
| loss 2 | Loss of mode 2 | 0 | dB/m | [0, +∞) |
| effective index 2 | Effective index of mode 2 | 1 | - | (-∞, +∞) |
| group index 2 | Group index of mode 2 | 1 | - | [0, +∞) |
| dispersion 2 | Dispersion of mode 2 | 0 | s/m/m | (-∞, +∞) |
| dispersion slope 2 | Dispersion slope of mode 2 | 0 | s/m^2/m | (-∞, +∞) |
Waveguide / Mode 2 / Thermal #
Sets the temperature coefficients of mode 2; the role is the same as for mode 1.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| effective index temperature sensitivity 2 | Temperature sensitivity of the effective index of mode 2 | 0 | /K | (-∞, +∞) |
| excess loss temperature sensitivity 2 | Temperature sensitivity of the excess loss of mode 2 | 0 | /K | [0, +∞) |
Thermal #
Controls whether thermal effects are enabled, and specifies the operating temperature and the fraction of waveguide length affected by heating.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| thermal effects | Whether to enable thermal effects | false | - | [true, false] |
| temperature | Temperature | %temperature% |
K | (-∞, +∞) |
| nominal temperature | Nominal temperature | 300 | K | (-∞, +∞) |
| thermal fill factor | Fraction of waveguide length affected by thermal effects | 1 | - | [0, 1] |
Numerical / Digital Filter #
Fits the device frequency-domain response to a digital filter required for time-domain simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| digital filter | Whether to enable the digital filter | false | - | [true, false] |
| single tap filter | Whether to use a single-tap filter | false | - | [true, false] |
| number of taps estimation | Tap-count estimation method | fit tolerance | - | [disabled, fit tolerance, group delay] |
| filter fit tolerance | Filter fit tolerance | 0.001 | - | (0, 1) |
| window function | Window function | rectangular | - | [rectangular, hamming, hanning] |
| number of fir taps | Number of FIR taps | 256 | - | [1, +∞) |
| maximum number of fir taps | Upper limit on the number of FIR taps | 4096 | - | [1, +∞) |
| initialize filter taps | Whether to initialize filter taps | false | - | [true, false] |
| fractional delay | Whether to enable fractional delay | true | - | [true, false] |
| delay compensation | Delay compensation amount | 0 | - | [0, +∞) |
Diagnostic #
Used to compare the deviation between the ideal frequency response and the digital filter response actually used.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| run diagnostic | Whether to run diagnostics | false | - | [true, false] |
| diagnostic size | Number of diagnostic data points or buffer size | 1024 | - | [2, +∞) |
Results #
When run diagnostic is enabled, the following nodes appear in the results for verifying the waveguide response fit:
![]()
diagnostic/response
| Name | Description |
|---|---|
| transmission | Complex transmittance versus frequency for the ideal and fitted responses. |
| gain | Gain (dB) versus frequency for the ideal and fitted responses. |
| error | Relative mean-square error between the ideal and fitted magnitudes. |

