User defined optical source
Keywords
optical, unidirectional
Ports
Name | Type |
---|---|
output | Optical Signal |
Properties
General Properties
Name | Default value | Default unit | Range |
---|---|---|---|
name Defines the name of the element. |
Scripted Optical Source | - | - |
annotate Defines whether or not to display annotations on the schematic editor. |
true | - | [true, false] |
enabled Defines whether or not the element is enabled. |
true | - | [true, false] |
type Defines the element unique type (read only). |
Scripted Optical Source | - | - |
description A brief description of the elements functionality. |
User defined optical source | - | - |
prefix Defines the element name prefix. |
SOURCE | - | - |
model Defines the element model name. |
- | - | - |
library Defines the element location or source in the library (custom or design kit). |
- | - | - |
local path Defines the local path or working folder $LOCAL for the element. |
- | - | - |
url An optional URL address pointing to the element online help. |
- | - | - |
Standard Properties
Name | Default value | Default unit | Range |
---|---|---|---|
frequency Central frequency of operation. |
193.1 |
THz* *std. unit is Hz |
(0, +∞) |
script User defined script. |
OUTPUT=sin(2*pi*1e9*TIME); | - | - |
Waveguide/Mode 1 Properties
Name | Default value | Default unit | Range |
---|---|---|---|
orthogonal identifier The first identifier used to track an orthogonal mode of an optical waveguide. For most waveguide, two orthogonal identifiers '1' and '2' are available (with the default labels 'TE' and 'TM' respectively). |
1 | - | [1, +∞) |
label The label corresponding to the first orthogonal identifier. |
true | - | - |
Simulation Properties
Name | Default value | Default unit | Range |
---|---|---|---|
output signal mode The output signal mode. |
%output signal mode% | - | [sample, block |
number of output signals The number of simulation runs, or the number of generated signals. |
%number of output signals% | - | [1, +∞) |
sample rate The sample rate of the generated signal. This is typically set by the global properties in the root (top-most) element. |
%sample rate% | Hz | [0, +∞) |
====================================
Implementation Details
The script optical source is a user defined optical source, the definition is written by script language, please see the example file Script_Optical_Source.icp for more information.
In this example, two simple sinusoidal functions are used to define the optical source, following is the optical oscilloscope output waveforms.
Fig. 1 OOSC output waveform |