-
Notifications
You must be signed in to change notification settings - Fork 63
improve support for lossy transmission lines and complex reference impedances #2650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dmarek/rf-dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3 files reviewed, no comments
Edit PR Review Bot Settings | Greptile
94e2936
to
5caee13
Compare
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changes
Summary
|
1566a98
to
5825d9c
Compare
support both pseudo and power wave formulations, while defaulting to pseudo wave definition support non-conjugated dot product
5825d9c
to
86b866d
Compare
"reflections from simulation boundaries. ", | ||
) | ||
|
||
S_def: SDef = pd.Field( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trying to compare the following terminologies for the field name: wave_choice
, basis_choice
, s_param_def
, and the current one.
WavePort
.We stick with using the unconjugated value for reference impedance, but now we switch our default approach for extracting S parameters to the pseudo-wave formulation.
Also includes a fix for calculating voltage from current + flux as well as calculating current from voltage + flux, when modes are lossy.
We are still missing proper calculation of mode amps using the non conjugated version of the dot product for lossy modes.Completed
backend: https://github.com/flexcompute/compute/pull/2171
Greptile Summary
Improved handling of lossy modes in WavePort by updating reference impedance calculations and fixing voltage/current computations for transmission line modes.
tidy3d/plugins/smatrix/component_modelers/terminal.py
to use complex conjugate of load impedance (Z_L*) for power wave calculationstidy3d/plugins/smatrix/ports/wave.py
to properly handle directionality and complex flux values for lossy modes