Skip to content

Commit 1230517

Browse files
committed
Move branch folder into Component folder - tweak wording in docs [skip ci]
1 parent 175fe62 commit 1230517

6 files changed

Lines changed: 23 additions & 19 deletions

File tree

GridKit/Model/EMT/Branch/BranchLumpedConstant/README.md renamed to GridKit/Model/EMT/Component/Branch/BranchLumpedConstant/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
`BranchLumpedConstant` represents a lumped-parameter EMT transmission line.
44
The nominal $\pi$-model is obtained by spatially discretizing the telegrapher equations over
5-
a segment of length $\Delta x$, with a half shunt placed at each terminal.
5+
a segment of length $\Delta x$, with a half shunt placed at each port.
66
Series current $\mathbf{i}$ is directed from bus 1 to bus 2. Bus residual
77
current injections are positive into buses. All electrical parameter matrices
88
are $3 \times 3$ and capture self and mutual coupling between phases.
99

1010
<div align="center">
11-
<img align="center" src="../../../../../docs/Figures/EMT/lumped_constant_diagram.svg">
11+
<img align="center" src="../../../../../../docs/Figures/EMT/lumped_constant_diagram.svg">
1212

1313
Figure 1: Lumped constant EMT branch model
1414
</div>
@@ -49,16 +49,16 @@ None.
4949
### External Variables
5050

5151
External variables enter component model equations but are owned by
52-
other components. The EMT bus at each terminal owns the voltage
52+
other components. The EMT bus at each port owns the voltage
5353
variable and provides the equation needed to have a balanced system
5454
of equations.
5555

5656
#### Differential
5757

5858
Symbol | Units | Description | Note
5959
-----------------|--------|--------------------------|------------------
60-
$\mathbf{v}_1$ | [V] | Terminal voltage at bus 1, owned by bus 1 | $\mathbf{v}_1 = [v_{1,a}, v_{1,b}, v_{1,c}]^T \in \mathbb{R}^3$
61-
$\mathbf{v}_2$ | [V] | Terminal voltage at bus 2, owned by bus 2 | $\mathbf{v}_2 = [v_{2,a}, v_{2,b}, v_{2,c}]^T \in \mathbb{R}^3$
60+
$\mathbf{v}_1$ | [V] | Port voltage at bus 1, owned by bus 1 | $\mathbf{v}_1 = [v_{1,a}, v_{1,b}, v_{1,c}]^T \in \mathbb{R}^3$
61+
$\mathbf{v}_2$ | [V] | Port voltage at bus 2, owned by bus 2 | $\mathbf{v}_2 = [v_{2,a}, v_{2,b}, v_{2,c}]^T \in \mathbb{R}^3$
6262

6363
#### Algebraic
6464

@@ -79,7 +79,7 @@ None.
7979

8080
### Bus Residual Contributions
8181

82-
The lumped line contributes to the KCL residual at each terminal bus.
82+
The lumped line contributes to the KCL residual at each port bus.
8383
Each expression is accumulated into the owning bus residual.
8484

8585
``` math
@@ -119,5 +119,5 @@ DAE consistency:
119119
Candidate monitorable outputs include the series branch current components
120120
$i_a$, $i_b$, and $i_c$.
121121

122-
Terminal current injection expressions are documented above as
122+
Port current injection expressions are documented above as
123123
$\mathbf{i}^\text{inj}_1$ and $\mathbf{i}^\text{inj}_2$.
File renamed without changes.

GridKit/Model/EMT/Component/LoadRL/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ None.
4141
### External Variables
4242

4343
External variables enter component model equations but are owned by
44-
other components. The EMT bus at the load terminal owns the voltage
44+
other components. The EMT bus at the load port owns the voltage
4545
variable and provides the equation needed to have a balanced system
4646
of equations.
4747

4848
#### Differential
4949

5050
Symbol | Units | Description | Note
5151
-----------------|-------|----------------------------------------------|---------------------------------
52-
$\mathbf{v}$ | [V] | Terminal voltage vector, owned by EMT bus | $\mathbf{v} = [v_a, v_b, v_c]^T \in \mathbb{R}^3$
52+
$\mathbf{v}$ | [V] | Port voltage vector, owned by EMT bus | $\mathbf{v} = [v_a, v_b, v_c]^T \in \mathbb{R}^3$
5353

5454
#### Algebraic
5555

@@ -69,7 +69,7 @@ None.
6969

7070
### Bus Residual Contributions
7171

72-
The RL load contributes to the KCL residual at its terminal bus. The
72+
The RL load contributes to the KCL residual at its port bus. The
7373
expression is accumulated into the owning bus residual.
7474

7575
``` math
@@ -100,4 +100,5 @@ consistency:
100100

101101
## Model Outputs
102102

103-
Candidate monitorable outputs include the load current components $i_a$, $i_b$, and $i_c$ (into the bus).
103+
Candidate monitorable outputs include the load current components $i_a$, $i_b$,
104+
and $i_c$ into the bus.

GridKit/Model/EMT/Component/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ A component README should include:
1313

1414
## Types
1515

16+
- `BranchLumpedConstant` (See [BranchLumpedConstant](Branch/BranchLumpedConstant/README.md))
1617
- `LoadRL` (See [LoadRL](LoadRL/README.md))
1718
- `VoltageSource` (See [VoltageSource](VoltageSource/README.md))

GridKit/Model/EMT/Component/VoltageSource/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`VoltageSource` represents a three-phase voltage source in instantaneous abc
44
coordinates. The source waveform is configurable by phase magnitude and phase
5-
offset for each phase and is otherwise constant. Each source terminal is
5+
offset for each phase and is otherwise constant. Each source port is
66
connected to the EMT bus through a phase resistance.
77

88
## Model Parameters
@@ -39,15 +39,15 @@ None.
3939
### External Variables
4040

4141
External variables enter component model equations but are owned by
42-
other components. The EMT bus at the source terminal owns the voltage
42+
other components. The EMT bus at the source port owns the voltage
4343
variable and provides the equation needed to have a balanced system
4444
of equations.
4545

4646
#### Differential
4747

4848
Symbol | Units | Description | Note
4949
-----------------|-------|----------------------------------------------|---------------------------------
50-
$\mathbf{v}$ | [V] | Terminal voltage vector, owned by EMT bus | $\mathbf{v} = [v_a, v_b, v_c]^T \in \mathbb{R}^3$
50+
$\mathbf{v}$ | [V] | Port voltage vector, owned by EMT bus | $\mathbf{v} = [v_a, v_b, v_c]^T \in \mathbb{R}^3$
5151

5252
#### Algebraic
5353

@@ -65,7 +65,7 @@ None.
6565

6666
### Bus Residual Contributions
6767

68-
The source contributes current to the KCL residual at its terminal bus.
68+
The source contributes current to the KCL residual at its port bus.
6969
The injection vector is accumulated into the owning bus residual. Given source
7070
angular frequency $\omega_0$, the source waveform is:
7171

@@ -105,5 +105,5 @@ e_c(0) &= \sqrt{2}\,E_c\cos(\phi_c)
105105
Candidate monitorable outputs include the source waveform components
106106
$e_a(t)$, $e_b(t)$, and $e_c(t)$.
107107

108-
The terminal current injection expression is documented above as
108+
The port current injection expression is documented above as
109109
$\mathbf{i}^\text{inj}$.

GridKit/Model/EMT/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ EMT design and implementation develop.
1313
- Current injection terms are written as positive into buses.
1414

1515

16-
## Model Families
16+
## Model Categories
1717

18-
The current EMT documentation is organized into one of three families:
18+
The current EMT documentation is organized into two categories:
1919
- `Bus`
20-
- `Branch`
2120
- `Component`
2221

22+
Branch models such as `BranchLumpedConstant` are documented under
23+
`Component/Branch` because they are EMT components connected to buses.
24+
2325
## Open Design Notes
2426

2527
Distributed parameter lines are placeholders until internal signal delay support

0 commit comments

Comments
 (0)