-
Notifications
You must be signed in to change notification settings - Fork 63
add selective simulation capabilities to TerminalComponentModeler #2573
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
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.
6 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changes
Summary
|
a7b7db5
to
27d92c1
Compare
27d92c1
to
53d5cea
Compare
53d5cea
to
4d28758
Compare
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.
All look good to me.
4d28758
to
99c824b
Compare
Going to be conflicts with #2663, so I might wait for that to merge first. FYI @daquinteroflex |
Actually I'd argue it's probably better to merge this if it's ready and continue the refactor using this |
58b2a1f
to
90948e6
Compare
refactored common code into AbstractComponentModeler add toggle for controlling how s matrix is calculated added validation of run_only and element_mappings for modelers
90948e6
to
77339c3
Compare
Follows the same approach as the
ComponentModeler
where users can choose torun_only
a subset of simulations and also may provideelement_mappings
to fill in unknown entries in the S matrix using other known entries.The major difference is that the
coords
used in the final matrixDataArray
are flattened so I can mix different types of Ports (Lumped and Wave), where some support modes and others do not.Greptile Summary
Extends
TerminalComponentModeler
with selective simulation capabilities, enabling users to compute only specific S-matrix columns and derive missing elements through mapping relationships.run_only
parameter toTerminalComponentModeler
for selectively computing S-matrix columns, reducing simulation timeelement_mappings
feature to derive unknown S-matrix elements from known entriestest_terminal_component_modeler.py
validating selective simulations and mappings