Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
State_Space_Model.h File Reference

State-space model assembly from network MNA formulation. More...

#include "../../Elements/Element.h"
#include "../../Bus.h"
#include "../../network.h"
Include dependency graph for State_Space_Model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  InputMapping
 Maps an element input pin to a column in the B matrix. More...
 
struct  StateMapping
 Maps an element state variable to a row in the A matrix. More...
 
struct  OutputMapping
 Maps a bus output pin to a row in the C matrix. More...
 
struct  InputGroup
 Per-source metadata for raw and DQsym B-column layout. More...
 
class  StateSpaceModel
 Assembles and stores the linear state-space representation of a network. More...
 
class  StateSpaceModel::Tree
 Spanning-tree node used during loop/cutset detection. More...
 

Enumerations

enum class  SSMMode { Standard , DQsym }
 Matrix layout mode for input/output column grouping. More...
 

Detailed Description

State-space model assembly from network MNA formulation.

Builds continuous-time state-space matrices (A, B, C, D) from a Network object, with optional DQsym column grouping for phasor-domain simulation. Provides index mappings between element pins/states and matrix rows/columns.

Enumeration Type Documentation

◆ SSMMode

enum class SSMMode
strong

Matrix layout mode for input/output column grouping.

Enumerator
Standard 

Raw pin-count columns in B (for eigenvalue/impedance analysis)

DQsym 

All B columns grouped in 3s (for DSSS phasor domain)