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
77f7e36
Document EMT distributed frequency-dependent branch model
lukelowry Jun 15, 2026
20f15aa
Document EMT rational transfer and state-space components
lukelowry Jun 15, 2026
f94a735
Document EMT propagation component
lukelowry Jun 15, 2026
d1a8895
Diagram and documentation for EMT delay model
lukelowry Jun 12, 2026
1d139fa
Refine and reogranize [skip ci]
lukelowry Jun 16, 2026
8b20a3e
Update diagrams [skip ci]
lukelowry Jun 16, 2026
f659211
Fix GH Math Rendering [skip ci]
lukelowry Jun 16, 2026
c99327b
Fix GH Math render again [skip ci]
lukelowry Jun 16, 2026
24ff0b1
Fix GH Math render x3 [skip ci]
lukelowry Jun 16, 2026
f805ae4
StateSpace and diagram updates
lukelowry Jun 20, 2026
839c7c3
Polished and corrected Delay
lukelowry Jun 20, 2026
c68a0f9
corrected propagation model
lukelowry Jun 20, 2026
9ed45dd
Polish and standardize VecFit
lukelowry Jun 20, 2026
301a8f8
StateSpace doc adjust [skip ci]
lukelowry Jun 20, 2026
dfa961e
Polish/fix LineDistributed (which is now fully expressed as ODE) [sk…
lukelowry Jun 20, 2026
a0e5c49
Update Bus docs [skip ci]
lukelowry Jun 20, 2026
36c2a1d
Refine LineLumped
lukelowry Jun 20, 2026
d52db62
Clean LoadRL docs [skip ci]
lukelowry Jun 20, 2026
5c47a77
Polish VoltageSource [skip ci]
lukelowry Jun 20, 2026
5a12835
Final documentation polish [skip ci]
lukelowry Jun 20, 2026
ac75ee9
image alignment [skip ci]
lukelowry Jun 23, 2026
3bed1cf
images in md format [skip ci]
lukelowry Jun 23, 2026
a55ce6a
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