11# LineDistributed Model
22
3- ` LineDistributed ` represents a distributed EMT line with characteristic
4- admittance $\mathbf{y}_ c$ and propagation model $\mathbf{h}$.
3+ ` LineDistributed ` represents an $N$-phase, $K$-conductor distributed EMT line.
54
65## Block Diagram
76
@@ -11,27 +10,41 @@ Figure 1: LineDistributed model
1110
1211## Model Parameters
1312
14- Symbol | Units | JSON | Description | Note
15- ----------------- | ----- | ------------ | ------------------------------------------------------ | ----
13+ Symbol | Units | JSON | Description | Note
14+ ------ | ----- | ---- | ----------- | ----
15+ $N$ | [ -] | ` N ` | Number of phases | Required, positive integer
16+ $K$ | [ -] | ` K ` | Number of conductors | Required, positive integer
1617$\mathbf{P}_ \phi$ | [ -] | ` conductors ` | Permutation matrix mapping each conductor to its phase | $\mathbf{P}_ \phi \in \mathbb{R}^{N \times K}$
1718
1819### Parameter Validation
1920
21+ ``` math
22+ \begin{aligned}
23+ N &> 0 \\
24+ K &> 0 \\
25+ \mathbf{P}_\phi &\in \mathbb{R}^{N \times K}
26+ \end{aligned}
27+ ```
28+
29+ ### Derived Parameters
30+
2031None.
2132
22- ### Model Derived Parameters
33+ ## Submodels
2334
24- The number of phases $N$ and conductors $K$ are the row and column counts of
25- $\mathbf{P}_ \phi$, respectively.
35+ Submodel | Type | Order | Inputs | Outputs
36+ -------- | ---- | ----- | ------ | -------
37+ Characteristic admittance $f^{\mathbf{y}_ c}$ | [ ` VectorFit ` ] ( ../../../Operators/Rational/VectorFit/README.md ) | $Q_ {\mathbf{y}_ c}$ | $\mathbf{v}_ {1},\mathbf{v}_ {2}\in\mathbb{R}^N$ | $\mathbf{i}^{\mathrm{sh}}_ {1},\mathbf{i}^{\mathrm{sh}}_ {2}\in\mathbb{R}^K$
38+ Propagation $f^{\mathbf{h}}$ | [ ` Propagation ` ] ( ../../../Operators/Shift/Propagation/README.md ) | $Q_ {\mathbf{h}}$ | $\mathbf{u}_ 1,\mathbf{u}_ 2\in\mathbb{R}^K$ | $\mathbf{i}^{\mathrm{inc}}_ {1},\mathbf{i}^{\mathrm{inc}}_ {2}\in\mathbb{R}^K$
2639
27- ### Submodels
40+ ### Submodel Validation
2841
29- Submodel | Inputs | Parameters | Outputs
30- -------- | ------ | ---------- | -------
31- [ ` VectorFit ` ] ( ../../../Operators/Rational/VectorFit/README.md ) characteristic admittance $ \mathbf{y}_ c$ | $\mathbf{v} _ {1}\in\ mathbb{R}^N$ | ` Yc ` | $\mathbf{i}^{\mathrm{sh}} _ {1}\in\ mathbb{R}^K$
32- [ ` VectorFit ` ] ( ../../../Operators/Rational/VectorFit/README.md ) characteristic admittance $ \mathbf{y} _ c$ | $\mathbf{v} _ {2}\in\ mathbb{R}^N$ | ` Yc ` | $\mathbf{i}^{\mathrm{sh}} _ {2}\in\ mathbb{R}^K$
33- [ ` Propagation ` ] ( ../../../Operators/Shift/Propagation/README.md ) $\mathbf{h}$ | $2\mathbf{i}^{\mathrm{sh}} _ {2}-\mathbf{i}^{\mathrm{inc}} _ {2}$ | ` H ` | $\mathbf{i}^{\mathrm{inc}} _ {1}\in\mathbb{R}^K$
34- [ ` Propagation ` ] ( ../../../Operators/Shift/Propagation/README.md ) $\mathbf{h}$ | $2\mathbf{i}^{\mathrm{sh}} _ {1}-\mathbf{i}^{\mathrm{inc}} _ {1}$ | ` H ` | $\mathbf{i}^{\mathrm{inc}} _ {2}\in\mathbb{R}^K$
42+ ``` math
43+ \begin{aligned}
44+ f^{ \mathbf{y}_c} &: \ mathbb{R}^N \rightarrow \ mathbb{R}^K \\
45+ f^{ \mathbf{h}} &: \ mathbb{R}^K \rightarrow \ mathbb{R}^K
46+ \end{aligned}
47+ ```
3548
3649## Model Variables
3750
@@ -43,16 +56,21 @@ None.
4356
4457#### Algebraic
4558
46- None.
59+ Symbol | Units | Description | Note
60+ ------ | ----- | ----------- | ----
61+ $\mathbf{i}^{\mathrm{sh}}_ {1}$ | [ A] | Shunt current at terminal ` 1 ` | $\mathbf{i}^{\mathrm{sh}}_ {1}\in\mathbb{R}^K$
62+ $\mathbf{i}^{\mathrm{sh}}_ {2}$ | [ A] | Shunt current at terminal ` 2 ` | $\mathbf{i}^{\mathrm{sh}}_ {2}\in\mathbb{R}^K$
63+ $\mathbf{i}^{\mathrm{inc}}_ {1}$ | [ A] | Incident current at terminal ` 1 ` | $\mathbf{i}^{\mathrm{inc}}_ {1}\in\mathbb{R}^K$
64+ $\mathbf{i}^{\mathrm{inc}}_ {2}$ | [ A] | Incident current at terminal ` 2 ` | $\mathbf{i}^{\mathrm{inc}}_ {2}\in\mathbb{R}^K$
4765
4866### External Variables
4967
5068External variables are owned by the EMT bus.
5169
5270#### Differential
5371
54- Symbol | Units | Description | Note
55- -------------------------------------| -------| ------------------------------------------|- ----
72+ Symbol | Units | Description | Note
73+ ------ | ----- | ----------- | ----
5674$\mathbf{v}_ {1}$ | [ V] | Terminal ` 1 ` voltage owned by EMT bus | $\mathbf{v}_ {1} \in \mathbb{R}^N$
5775$\mathbf{v}_ {2}$ | [ V] | Terminal ` 2 ` voltage owned by EMT bus | $\mathbf{v}_ {2} \in \mathbb{R}^N$
5876
@@ -82,17 +100,17 @@ None.
82100``` math
83101\begin{aligned}
84102\mathbf{i}^{\mathrm{sh}}_{1} &=
85- \mathbf{y}_c* \mathbf{v}_{1} \\
103+ f^{ \mathbf{y}_c}( \mathbf{v}_{1}) \\
86104\mathbf{i}^{\mathrm{sh}}_{2} &=
87- \mathbf{y}_c* \mathbf{v}_{2} \\
105+ f^{ \mathbf{y}_c}( \mathbf{v}_{2}) \\
88106\mathbf{i}^{\mathrm{inc}}_{1} &=
89- \mathbf{h}* \left(
107+ f^{ \mathbf{h}} \left(
90108 2\mathbf{i}^{\mathrm{sh}}_{2}
91109 -
92110 \mathbf{i}^{\mathrm{inc}}_{2}
93111 \right) \\
94112\mathbf{i}^{\mathrm{inc}}_{2} &=
95- \mathbf{h}* \left(
113+ f^{ \mathbf{h}} \left(
96114 2\mathbf{i}^{\mathrm{sh}}_{1}
97115 -
98116 \mathbf{i}^{\mathrm{inc}}_{1}
@@ -115,15 +133,62 @@ None.
115133
116134## Initialization
117135
118- Let subscript $0$ denote initial values. Initial values satisfy the wiring
119- equations:
136+ ### Input Initialization
120137
121138``` math
122139\begin{aligned}
123- \mathbf{i}^{\mathrm{sh}}_{1,0} &= \mathbf{y}_c*\mathbf{v}_{1,0} \\
124- \mathbf{i}^{\mathrm{sh}}_{2,0} &= \mathbf{y}_c*\mathbf{v}_{2,0} \\
125- \mathbf{i}^{\mathrm{inc}}_{1,0} &= \mathbf{h}*\left(2\mathbf{i}^{\mathrm{sh}}_{2,0} - \mathbf{i}^{\mathrm{inc}}_{2,0}\right) \\
126- \mathbf{i}^{\mathrm{inc}}_{2,0} &= \mathbf{h}*\left(2\mathbf{i}^{\mathrm{sh}}_{1,0} - \mathbf{i}^{\mathrm{inc}}_{1,0}\right)
140+ \mathbf{v}_1,\mathbf{v}_2
141+ &\leftarrow \text{terminal-bus voltage}
142+ \end{aligned}
143+ ```
144+
145+ ### Internal Initialization
146+
147+ Initialization assigns the internal line currents in dependency order:
148+
149+ ``` math
150+ \begin{aligned}
151+ \mathbf{i}^{\mathrm{sh}}_{1}
152+ &\leftarrow f^{\mathbf{y}_c}(\mathbf{v}_{1}) \\
153+ \mathbf{i}^{\mathrm{sh}}_{2}
154+ &\leftarrow f^{\mathbf{y}_c}(\mathbf{v}_{2}) \\
155+ \mathbf{i}^{\mathrm{inc}}_{1}
156+ &\leftarrow
157+ f^{\mathbf{h}}\left(
158+ 2\mathbf{i}^{\mathrm{sh}}_{2}
159+ -
160+ \mathbf{i}^{\mathrm{inc}}_{2}
161+ \right) \\
162+ \mathbf{i}^{\mathrm{inc}}_{2}
163+ &\leftarrow
164+ f^{\mathbf{h}}\left(
165+ 2\mathbf{i}^{\mathrm{sh}}_{1}
166+ -
167+ \mathbf{i}^{\mathrm{inc}}_{1}
168+ \right)
169+ \end{aligned}
170+ ```
171+
172+ ### Output Initialization
173+
174+ Current-injection ports are assigned from initialized internal line currents.
175+
176+ ``` math
177+ \begin{aligned}
178+ \mathbf{i}^{\mathrm{inj}}_{1}
179+ &\leftarrow
180+ \mathbf{P}_\phi\left(
181+ \mathbf{i}^{\mathrm{inc}}_{1}
182+ -
183+ \mathbf{i}^{\mathrm{sh}}_{1}
184+ \right) \\
185+ \mathbf{i}^{\mathrm{inj}}_{2}
186+ &\leftarrow
187+ \mathbf{P}_\phi\left(
188+ \mathbf{i}^{\mathrm{inc}}_{2}
189+ -
190+ \mathbf{i}^{\mathrm{sh}}_{2}
191+ \right)
127192\end{aligned}
128193```
129194
0 commit comments