Add MNA state-space extraction and modal analysis#478
Open
georgii-tishenin wants to merge 7 commits into
Open
Conversation
c497339 to
46c18b4
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #478 +/- ##
==========================================
+ Coverage 65.50% 66.00% +0.49%
==========================================
Files 395 401 +6
Lines 24006 24303 +297
Branches 12175 12332 +157
==========================================
+ Hits 15725 16040 +315
+ Misses 8280 8203 -77
- Partials 1 60 +59 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
46c18b4 to
d08fbcf
Compare
Signed-off-by: Georgii Tishenin <georgii.tishenin@eonerc.rwth-aachen.de>
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
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.
Summary
This PR adds state-space extraction for real-valued EMT simulations using the MNA solver. The implementation extracts the global discrete-time state matrix from the EMT MNA simulation model and provides a standalone state-space modal-analysis class for computing discrete-time and continuous-time eigenvalues.
Changes
MNAStateSpaceContributorinfrastructure for component-level state-space contributionsMNAStateSpaceExtractorfor extracting the discrete-time state matrix from real-valued EMT MNA modelsStateSpaceModalAnalysisfor computing discrete-time and continuous-time eigenvalues from the extracted state matrixSimulationNotes
StateSpaceModalAnalysisis intentionally kept outsideSimulationandMnaSolver; it operates on the extracted state-space model exposed byMNAStateSpaceExtractor.Potential further steps:
Class interaction overview
classDiagram class Simulation class MnaSolver class MnaSolverDirect class StateSpaceExtractionTask class MNAStateSpaceExtractor class MNAStateSpaceContributor class MNAStateSpaceContributorFactory class InductorStateSpaceContributor class CapacitorStateSpaceContributor class SSNStateSpaceContributor class StateSpaceModalAnalysis Simulation --> MnaSolver : owns solver MnaSolver <|-- MnaSolverDirect MnaSolver --> MNAStateSpaceExtractor : owns MnaSolverDirect --> StateSpaceExtractionTask : creates StateSpaceExtractionTask --> MnaSolverDirect : calls MNAStateSpaceExtractor --> MNAStateSpaceContributorFactory : uses MNAStateSpaceContributorFactory ..> MNAStateSpaceContributor : creates MNAStateSpaceExtractor --> MNAStateSpaceContributor : owns contributors MNAStateSpaceContributor <|-- InductorStateSpaceContributor MNAStateSpaceContributor <|-- CapacitorStateSpaceContributor MNAStateSpaceContributor <|-- SSNStateSpaceContributor StateSpaceModalAnalysis ..> MNAStateSpaceExtractor : uses extracted state matrix