Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c1f43a5
Document EMT distributed frequency-dependent branch model
lukelowry Jun 15, 2026
1c6a3fb
Document EMT rational transfer and state-space components
lukelowry Jun 15, 2026
422b8de
Document EMT propagation component
lukelowry Jun 15, 2026
6cab265
Diagram and documentation for EMT delay model
lukelowry Jun 12, 2026
720e524
Refine and reogranize [skip ci]
lukelowry Jun 16, 2026
4c572cc
Update diagrams [skip ci]
lukelowry Jun 16, 2026
910c315
Fix GH Math Rendering [skip ci]
lukelowry Jun 16, 2026
21ca14a
Fix GH Math render again [skip ci]
lukelowry Jun 16, 2026
8edcb45
Fix GH Math render x3 [skip ci]
lukelowry Jun 16, 2026
e45d69b
StateSpace and diagram updates
lukelowry Jun 20, 2026
c9b5f70
Polished and corrected Delay
lukelowry Jun 20, 2026
1ede319
corrected propagation model
lukelowry Jun 20, 2026
1c36c84
Polish and standardize VecFit
lukelowry Jun 20, 2026
fd33c5a
StateSpace doc adjust [skip ci]
lukelowry Jun 20, 2026
1b41040
Polish/fix LineDistributed (which is now fully expressed as ODE) [sk…
lukelowry Jun 20, 2026
7ede83f
Update Bus docs [skip ci]
lukelowry Jun 20, 2026
de5d5ce
Refine LineLumped
lukelowry Jun 20, 2026
2a5e178
Clean LoadRL docs [skip ci]
lukelowry Jun 20, 2026
f8374e9
Polish VoltageSource [skip ci]
lukelowry Jun 20, 2026
ec3b44b
Final documentation polish [skip ci]
lukelowry Jun 20, 2026
78a409c
image alignment [skip ci]
lukelowry Jun 23, 2026
ca3471d
images in md format [skip ci]
lukelowry Jun 23, 2026
b705875
polish bus formulation [skip ci]
lukelowry Jun 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 0 additions & 90 deletions GridKit/Model/EMT/Bus/README.md

This file was deleted.

121 changes: 0 additions & 121 deletions GridKit/Model/EMT/Component/Branch/BranchLumpedConstant/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions GridKit/Model/EMT/Component/Branch/README.md

This file was deleted.

90 changes: 90 additions & 0 deletions GridKit/Model/EMT/Component/Bus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Bus Model

`Bus` represents an $N$-phase bus in instantaneous phase coordinates. The
bus voltages are differential variables, and the model equations enforce
current balance at the bus.

## Model Parameters

Symbol | Units | JSON | Description | Note
------ | ----- | ---- | ----------- | ----
$M$ | [-] | `M` | Number of connected-device ports | Required, positive integer
$N$ | [-] | `N` | Number of phases | Required, positive integer
$\mathbf{v}_0$ | [V] | `v0` | Initial bus voltage vector | $\mathbf{v}_0 \in \mathbb{R}^N$

### Parameter Validation

```math
\begin{aligned}
M &> 0 \\
N &> 0 \\
\mathbf{v}_0 &\in \mathbb{R}^N
\end{aligned}
```

### Model Derived Parameters

None.

## Model Variables

### Internal Variables

#### Differential

Symbol | Units | Description | Note
------ | ----- | ----------- | ----
$\mathbf{v}$ | [V] | Bus voltage vector | $\mathbf{v} \in \mathbb{R}^N$

#### Algebraic

None.

### External Variables

#### Differential

None.

#### Algebraic

None.

## Model Ports

Symbol | Port | Type | Units | Description | Note
------ | ---- | ---- | ----- | ----------- | ----
$\mathbf{i}^{\mathrm{inj}}_m$ | `i` | Input | [A] | Current injection from connected device $m$ | $m=1,\ldots,M$, $\mathbf{i}^{\mathrm{inj}}_m \in \mathbb{R}^N$

## Model Equations

### Differential Equations

```math
\begin{aligned}
0 &= \sum_{m=1}^{M} \mathbf{i}^{\mathrm{inj}}_m
\end{aligned}
```

Each $\mathbf{i}^{\mathrm{inj}}_m$ may depend on the bus voltage and bus voltage derivative.

### Algebraic Equations

None.

## Initialization

The initial bus voltage is given by the parameter vector $\mathbf{v}_0$:

```math
\mathbf{v}(0)=\mathbf{v}_0
```

Only $\mathbf{v}(0)$ is initialized. The solver computes
$\dot{\mathbf{v}}(0)$ from the differential residual.

## Monitors

Monitor | Units | Description | Note
------- | ----- | ----------- | ----
`v` | [V] | Bus voltage | $\mathbf{v} \in \mathbb{R}^N$
Loading