VectorFit
VectorFit represents a vector-fitted matrix rational approximation with real
or complex poles and general residue matrices. For pole count \(Q\), define the
pole-index set
VectorFit is a general rational operator; consuming models impose any
physical constraints.
Note
The consuming model classifies the input \(\mathbf{u}\) as differential or algebraic. Algebraic input requires \(\mathbf{E} = \mathbf{0}\).
Block Diagram

Figure 1: VectorFit model
Model Parameters
For output dimension \(N\), input dimension \(K\), pole count \(Q\), input units \([u]\), and output units \([y]\), where \(N\) and \(K\) are the dimensions of the first of \(\mathbf{D}\), \(\mathbf{E}\) and \(\mathbf{R}\) that is given:
Symbol |
Units |
JSON |
Description |
Note |
|---|---|---|---|---|
\(\mathbf{D}\) |
\([y]/[u]\) |
|
Constant coefficient |
\(\mathbf{D} \in \mathbb{R}^{N \times K}\) |
\(\mathbf{E}\) |
\(\mathrm{s}[y]/[u]\) |
|
Linear coefficient |
\(\mathbf{E} \in \mathbb{R}^{N \times K}\) |
\(\mathbf{p}\) |
\([\mathrm{s}^{-1}]\) |
|
Poles |
\(\mathbf{p} \in \mathbb{C}^Q\) |
\(\mathbf{R}\) |
\([y]/(\mathrm{s}[u])\) |
|
Residues |
\(\mathbf{R} \in \mathbb{C}^{N \times K \times Q}\) |
Parameter Validation
Let \(\mathcal{Q}_\mathrm{r} \subseteq \mathcal{Q}\) contain the real-pole indices and \(\mathcal{Q}_\mathrm{c} \subseteq \mathcal{Q}\) the first indices of the nonreal conjugate pairs. Define their partner-index set as
The sets \(\mathcal{Q}_\mathrm{r}\), \(\mathcal{Q}_\mathrm{c}\), and \(\mathcal{Q}_\mathrm{c}^{+}\) are pairwise disjoint.
Model Derived Parameters
Model Ports
Symbol |
Port |
Type |
Units |
Description |
Note |
|---|---|---|---|---|---|
\(\mathbf{u}\) |
|
Input |
\([u]\) |
Input vector |
\(\mathbf{u} \in \mathbb{R}^K\) |
\(\mathbf{y}\) |
|
Output |
\([y]\) |
Output vector |
\(\mathbf{y} \in \mathbb{R}^N\) |
As a device of a case, the input reads what the case names, and the output is added to the current balance of the bus that the case names.
Submodels
None.
Submodel Validation
None.
Submodel Wiring
None.
Model Variables
Internal Variables
Differential
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(\mathbf{w}_q\) |
\(\mathrm{s}[u]\) |
Real memory states |
\(\mathbf{w}_q \in \mathbb{R}^K\), \(q \in \mathcal{Q}_\mathrm{r} \cup \mathcal{Q}_\mathrm{c}\) |
\(\mathbf{v}_q\) |
\(\mathrm{s}[u]\) |
Imaginary memory states |
\(\mathbf{v}_q \in \mathbb{R}^K\), \(q \in \mathcal{Q}_\mathrm{c}\) |
The documented real realization has order \(KQ\).
Algebraic
None.
External Variables
Differential
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(\mathbf{u}\) |
\([u]\) |
Input vector |
\(\mathbf{u} \in \mathbb{R}^K\) |
Algebraic
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(\mathbf{u}\) |
\([u]\) |
Input vector |
\(\mathbf{u} \in \mathbb{R}^K\), \(\mathbf{E} = \mathbf{0}\) |
Model Equations
Internal Equations
Differential
Algebraic
None.
External Equations
Initialization
None.
Monitors
Monitor |
Units |
Description |
Note |
|---|---|---|---|
|
\(\mathrm{s}[u]\) |
Real memory states |
\(\mathbf{w}_q \in \mathbb{R}^K\), \(q \in \mathcal{Q}_\mathrm{r} \cup \mathcal{Q}_\mathrm{c}\) |
|
\(\mathrm{s}[u]\) |
Imaginary memory states |
\(\mathbf{v}_q \in \mathbb{R}^K\), \(q \in \mathcal{Q}_\mathrm{c}\) |
|
\([y]\) |
Output vector |
Output, \(\mathbf{y} \in \mathbb{R}^N\) |