-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary This PR extends functionality of `MNAStampUtils` with functions to stamp conductance/admittance as scalar matrix and reuses the stamping logic for switches. ### Details - Reuse conductance/admittance stamping logic for all switch components (at least, all that I found😅): `DP_Ph1_Switch`, `DP_Ph1_varResSwitch`, `DP_Ph3_SeriesSwitch`, `EMT_Ph3_SeriesSwitch`, `EMT_Ph3_Switch`, `SP_Ph1_Switch`, `SP_Ph1_varResSwitch.` - `MNAStampUtils`: Add functions for stamping conductance/admittance value as a scalar matrix. These functions are used for optimized conductance/admittance stamping by components with symmetric phase impedance, such as `DP_Ph3_SeriesSwitch`, `EMT_Ph3_SeriesSwitch`. ### Related work - **Issue Reference**: These changes were discussed in an issue: #288 - **Previous PR**: This PR continues the work of: #297 - **Future Plans**: There are plans for future PRs to reuse stamp code for other components deriving from the `MNASimPowerComp` class.
- Loading branch information
Showing
9 changed files
with
121 additions
and
503 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.