You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
m^{int}_k\frac{dy_{ak}}{dt} = f_k(u_a, {i_c}_a, y_1, \dots, y_n)\quad \forall k = 1, \dots, n.
```
As we assume that all masses are binary (either 1, or 0), that means, one can implement [semi-explicit differential algebraic equations](https://en.wikipedia.org/wiki/Differential-algebraic_system_of_equations) with
this node dynamics type.
``f`` is represented by `rhs` field of `OrdinaryNodeDynamics`.
- the general signature of `rhs` is
```Julia
rhs(dint_dt::AbstractVector,
u::Complex,
i::Complex,
int::AbstractVector,
t,
)::Complex
```
- Input
- `u` is the complex voltage ``u``
- `i` is the complex current ``i``
- `int` is the array of internal variables ``y_1, \dots, y_n``
- `t` is the time ``t``
- Output
- the (complex) return value describes ``\frac{du}{dt}``
- `rhs` writes values in `dint_dt` describing the left-hand side ``\frac{dy_1}{dt}, \dots, \frac{dy_n}{dt}``
The binary masses are:
- `m_u` is the boolean value for ``m_u``
- `m_int` is the array of boolean values for ``m^{int}_1, \dots, m^{int}_n``
PowerDynBase.jl/src/NodeDynamicsBase.jl
Lines 19 to 58 in 7be918f
PowerDynBase.jl/src/NodeDynamicsBase.jl
Lines 84 to 130 in 7be918f
The text was updated successfully, but these errors were encountered: