-
Notifications
You must be signed in to change notification settings - Fork 64
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
|
5825d9c
to
86b866d
Compare
f074cb0
to
ac53800
Compare
6b987dd
to
98f6e66
Compare
ac53800
to
d56b108
Compare
3560ebf
to
318d953
Compare
weiliangjin2021
approved these changes
Aug 7, 2025
ab92f12
to
2419cbf
Compare
2419cbf
to
ee74479
Compare
support both pseudo and power wave formulations, while defaulting to pseudo wave definition support non-conjugated dot product update schemas
ee74479
to
60f4c0a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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