Shared components guide¶
Use shared geometry and layer-stack objects to describe components and their fabrication stack across simulation engines. The links below open the API reference for each object or helper.
gsim.common itself is a narrow façade: it re-exports the geometry and
stack names of the two sections below and nothing else. Everything else in
the package — modes, circuit, carriers, junction,
transmission_line, twmzm, staircase, interpolate, mesh_regions —
is imported by its submodule path, as
from gsim.common.transmission_line import RFLineParams, so importing
gsim.common never pulls a backend's dependencies in with it.
Geometry¶
Stack¶
PN Junction¶
Depletion model after Sze & Ng, Physics of Semiconductor Devices, ch. 2:
the quick analytic path beside the charge-transport solve, and the
reference its numeric C(V) is validated against.
Visualization¶
Transmission line¶
The Traveling-wave electrode as a transmission line: what a mode solve says about it, its per-unit-length circuit, how the junction's series-RC branch loads it, and what a periodically loaded electrode behaves as. The TW-MZM notebook turns these into device figures of merit.
RFLineParamsline_params_from_neffline_params_from_gammarlgc_from_line_paramsJunctionBranchseries_rc_from_admittanceloaded_line_paramssection_abcdsegmented_period_abcdsegmented_line_paramssegmented_linebragg_fraction
Circuit export¶
The compact-model handoff to circuit simulators: the Traveling-wave
electrode as a two-port, the junction as a tabulated series-RC model
file, and the plain-numpy readers and driven-line responses that prove
the round trip. The junction model file format is specified in
write_junction_model.
line_smatrixwrite_touchstoneread_touchstonesax_line_modelwrite_junction_modelread_junction_modelterminated_responseline_driven_response
S-matrix export¶
An n-port S-matrix built from photonic solver runs by gsim.fdtd.s_matrix or
gsim.meep.s_matrix, with exports to a SAX model and a Touchstone file.
Traveling-wave MZM figures of merit¶
The traveling-wave Mach-Zehnder modulator on plain arrays: the electro-optic and walk-off responses, \(V_\pi L\), the
static transfer, drive range and chirp (gsim.common.twmzm), and the whole-device report wired from RF line parameters
and an optical bias sweep (gsim.common.twmzm_report). The TW-MZM notebook uses both.
eo_responseeo_bandwidthsegmented_eo_responsewalkoff_bandwidthwalkoff_bandwidth_dispersivevpi_length_vcmmzm_transfermzm_transfer_figuresMZMTransferFiguresmzm_drive_rangemzm_chirptwmzm_figures_of_meritTWMZMReportOpticalPhaseSweepLoadedLineComparison
Staircase cross-section¶
A carrier map averaged into piecewise-constant strips and redrawn as a meshable cross-section, the representation a mode solver with one material per region can take. Each strip carries the carrier coupling's optical permittivity or RF conductivity.