Compound Element
Compound Element #
![]()
The Compound Element (COMPOUND) is a hierarchical container that can hold other elements. It packages a group of devices into a single symbol and exposes external ports via internal Relays. Beyond structural packaging, it supports custom properties and scripts for parameterized subcircuits, and can carry design-kit version and identity information. It is suitable for organizing reusable modules and managing versions.
Ports #
There are no fixed ports. External ports of a compound element are determined by internal Relays: after connecting subcircuit ports to Relays, those ports appear on the compound element.
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enabled state, and display. This property group affects schematic presentation only and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | COMPOUND_1 | - | - |
| annotate | Whether to show annotation | true | - | [true, false] |
| enabled | Whether to enable this element | true | - | [true, false] |
| type | Unique type identifier of the element | Compound Element | - | - |
| description | Brief description of the element | Compound is a hierarchical element that contains other elements | - | - |
| prefix | Prefix for the element name | COMPOUND | - | - |
| local path | Local path or working folder of the element | - | - | - |
| expandable | Whether the compound element interior can be expanded for viewing | true | - | [true, false] |
Simulation #
Sets simulation parameters inside the compound element; by default these inherit the top-level settings.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| bitrate | Bitrate | %bitrate% |
bits/s | (0, +∞) |
| time window | Time window | %time window% |
s | (0, +∞) |
| sample rate | Sample rate | %sample rate% |
Hz | [0, +∞) |
| output signal mode | Output signal mode | %output signal mode% |
- | [sample, block] |
| number of output signals | Number of output signals | %number of output signals% |
- | [1, +∞) |
Thermal #
Sets the operating temperature of the compound element; by default this inherits the top-level temperature.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| temperature | Temperature | %temperature% |
K | (-∞, +∞) |
Script #
Controls when schematic scripts run.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| run setup script | Whether to run the Setup script | automatic | - | [automatic, always] |
Validation #
Sets pre-simulation checks to catch connection, deadlock, and delay issues early.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| deadlock resolution | Simulation deadlock handling strategy | %deadlock resolution% |
- | [ignore, prevent] |
| delay insertion | Port scope for automatic delay insertion | %delay insertion% |
- | [output ports, bidirectional ports] |
| check internal monitors | Whether to check monitors inside the compound element | true | - | [true, false] |
Numerical #
Sets scattering-data analysis options for the compound element.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| scattering data analysis | Whether to enable scattering-data analysis options | false | - | [true, false] |
| modes | Optical mode labels, comma-separated in English, e.g. TE,TM | TE | - | - |
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 type | Digital filter type | FIR | - | [single tap, FIR, IIR] |
| number of taps estimation | Tap-count estimation method | fit tolerance | - | [disabled, fit tolerance, group delay] |
| filter fit tolerance | Filter fit tolerance | 0.05 | - | (0, 1) |
| filter fit number of iterations | Maximum filter-fit iterations | 50 | - | [1, +∞) |
| filter fit rolloff | Filter fit rolloff | 0.05 | - | [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 FIR taps | 4096 | - | [1, +∞) |
| filter delay | Filter delay | 0 | s | [0, +∞) |
| number of iir taps | Number of IIR taps | 4 | - | [2, +∞) |
| maximum number of iir taps | Upper limit on IIR taps | 20 | - | [2, +∞) |
| initialize filter taps | Whether to initialize filter taps | false | - | [true, false] |
Diagnostic #
The compound element is not solved on its own; diagnostics are performed by internal child elements, so this group does not produce results on the compound element.
| 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, +∞) |
| diagnostic data export | Whether to export diagnostic data | false | - | [true, false] |
| diagnostic start frequency | Diagnostic start frequency | 193.05 | THz | (0, +∞) |
| diagnostic stop frequency | Diagnostic stop frequency | 193.15 | THz | (0, +∞) |
| diagnostic data filename | Diagnostic data filename | sparam.dat | - | - |
Design Kit #
Records design-kit and version information to identify the element source and version.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| version | Version number | - | - | - |
| internal electrical equivalent | Whether to use the internal electrical equivalent model | %internal electrical equivalent% |
- | [true, false] |
Design Kit / Header #
Records design-kit header information for recognition by scripts and process design kits.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| component id | Component ID | - | - | - |
| mcs filename | List file of process design kit names and their parameters | - | - | - |
| mcs | Process design kit name | - | - | - |
Results #
None

