Optical Y Switch
Optical Y Switch #
![]()
Optical Y Switch (Y) is a 1×2 optical switch that can route one optical path to either of two branches, or operate in reverse as a 2×1 combiner. It is suited to simple optical routing, monitor-branch selection, and as a basic building block of tree switching networks.
Ports #
Three bidirectional optical ports: one common port and two branch ports. The table expands the default configuration.
| Name | Type | Data |
|---|---|---|
| port 1 | Optical Signal | Bidirectional |
| port 2 | Optical Signal | Bidirectional |
| port 3 | Optical Signal | Bidirectional |
After changing configuration, port directions may change.
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enable state, and display options. This property group affects schematic presentation only and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | Y_1 | - | - |
| annotate | Whether to display the annotation | true | - | [true, false] |
| enabled | Whether to enable this element | true | - | [true, false] |
| type | Unique type identifier of the element | Optical Y Switch | - | - |
| description | Brief description of the element | Optical 1x2 switch | - | - |
| prefix | Prefix for the element name | Y | - | - |
| local path | Local path or working folder of the element | - | - | - |
Standard #
Sets the switch operating mode, active branch, and performance metrics.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| configuration | Port configuration | bidirectional | - | [bidirectional, switch, select] |
| control | Control state or control quantity | 0 | - | - |
| insertion loss | Insertion loss | 0 | dB | [0, +∞) |
| isolation | Isolation | 100 | dB | (-∞, +∞) |
| return loss | Return loss | 100 | dB | (-∞, +∞) |
Waveguide #
Lists the optical modes supported by this element for interfacing with connected waveguides and devices.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| modes | Optical mode labels, comma-separated in English, e.g. TE,TM | TE,TM | - | - |
Diagnostic #
Used to check the deviation between the ideal response and the digital filter fit, to confirm frequency-domain accuracy of time-domain simulation. Keep disabled for routine simulations.
| 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, time-domain sampled simulation produces the following results for verifying the response:
![]()
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 ideal and fitted amplitudes. |
The response number corresponds to a pair of input port, output port, and mode.

