Note: For legacy data format (2022 R2.4 and older) please visit following link:
Photonic Model: spar_fixed
Information on QA tests and QA types: Introduction to Quality Assurance (QA) tests
Instructions on running QA tests: Running QA tests in CML Compiler
QA tests
QA script | QA type | FOMs | Comments |
---|---|---|---|
Behavior |
passivity, reciprocity |
|
|
Behavior |
S matrix, group delay |
Group delay cannot be tested in Safe-Mode |
|
Regression |
regression |
|
|
Self-consistency test |
time_domain |
|
QA Variables
[[snippet||12148587970835]]
QA scripts
spar_fixed_passivity_reciprocity_qa
spar_fixed_source_qa
spar_fixed_regression_qa
This script sets up the following test-bench for frequency domain simulations. For the number of port the sparameter element has, a test-bench will be set-up where the the ONA feeds one port and probes the other ones. Here you can see the grating coupler set-up as an example. ONA is set to "scattering data" mode for frequency domain simulation.
The "passivity_reciprocity" script analyzes the s parameter extracted from the test-bench. The reciprocity and passivity of the S parameter is tested and made sure its within the tolerance defined, reciprocity_tolerance and passivity_tolerance.
The "source" script includes a test for the absolute values of the S matrix and the relative values of the group delay to ensure they are within tolerance values, as compared to the source data file.
Note:
- The group delay test can only be performed in Safe-Mode.
- If the source data file does not include values for the group delay, the S matrix test will not run in Safe-Mode. To run this test in Safe-Mode, group delay values should be added to the source file.
The "regression" script includes a regression test for the absolute and complex values of the S matrix. If reference data is not available or needs to be renewed, "reference_data_available" should be set to false so the S matrix extracted from QA saves as reference data. For consecutive runs, "reference_data_available" should be set to true, and results will be compared to these data and make sure the difference is within the tolerance value.
Variable | Type | Description |
---|---|---|
|
|
|
spar_fixed_time_domain_qa
This script sets up the following test-bench for time domain simulation. For the number of port the sparameter element has, a test-bench will be set-up where the the ONA feeds one port and probes the other ones. Here you can see the grating coupler set-up as an example. ONA is set to "impulse response" mode for time domain simulation.
In this script, S matrix is extracted from test-bench and is compared to results from frequency domain simulation.
QA type | FOMs | QA variables |
---|---|---|
|
|
|