HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Fokker-Planck Model for 1-Bus Power System. More...
Go to the source code of this file.
Data Structures | |
struct | FPPowerSystem1Bus |
Macros | |
#define | _FP_POWER_SYSTEM_1BUS_ "fp-power-system-1bus" |
#define | _MODEL_NDIMS_ 2 |
#define | _MODEL_NVARS_ 1 |
#define | _XDIR_ 0 |
#define | _YDIR_ 1 |
Functions | |
int | FPPowerSystem1BusInitialize (void *, void *) |
int | FPPowerSystem1BusCleanup (void *) |
Fokker-Planck Model for 1-Bus Power System.
Fokker-Planck Model for 1-Bus Power System
\begin{equation} \frac {\partial p} {\partial t} + \frac {\partial} {\partial x} \left[\mu\left(x,y\right)p\right] + \frac {\partial} {\partial y} \left[\nu\left(x,y\right)p\right] = D_{yx} \frac {\partial^2 p} {\partial y \partial x} + D_{yy} \frac {\partial^2 p} {\partial y^2} \end{equation}
where
\begin{eqnarray} \mu\left(x,y\right) &=& \omega_B\left(y-\omega_S\right) \\ \nu\left(x,y\right) &=& \frac{\omega_S}{2H}\left[\left<P_m\right> - P_{\rm max} \sin\left(x\right) - D\left(y-\omega_S\right)\right] \\ D_{yx} &=& \frac {\sigma^2\omega_S^2} {4H^2} \lambda^2 \omega_B \\ D_{yy} &=& \frac {\sigma^2 \omega_S^2} {4H^2} \lambda \left( 1 - \lambda \frac {D \omega_S} {2H} \right) \end{eqnarray}
Symbol | Name |
---|---|
\(p\) | probability |
\(x\) | angle between axis of generator and the magnetic field ( \(\theta\) in paper) |
\(y\) | generator angular speed ( \(\omega\) in paper) |
\(t\) | time |
\(\omega_B\) | base speed |
\(\omega_S\) | synchronization speed |
\(H\) | generator inertia |
\(D\) | damping factor |
\(\left<P_m\right>\) | average power input |
\(P_{\rm max}\) | maximum power |
\(\sigma\) | square root of variance |
\(\lambda\) | correlation time |
Reference:
Definition in file fppowersystem1bus.h.
struct FPPowerSystem1Bus |
Definition at line 80 of file fppowersystem1bus.h.
Data Fields | ||
---|---|---|
double | omegaB | |
double | omegaS | |
double | H | |
double | D | |
double | Pm_avg | |
double | Pmax | |
double | sigma | |
double | lambda | |
double | pdf_integral |
#define _FP_POWER_SYSTEM_1BUS_ "fp-power-system-1bus" |
Definition at line 68 of file fppowersystem1bus.h.
#define _MODEL_NDIMS_ 2 |
Definition at line 73 of file fppowersystem1bus.h.
#define _MODEL_NVARS_ 1 |
Definition at line 74 of file fppowersystem1bus.h.
#define _XDIR_ 0 |
Definition at line 77 of file fppowersystem1bus.h.
#define _YDIR_ 1 |
Definition at line 78 of file fppowersystem1bus.h.
int FPPowerSystem1BusInitialize | ( | void * | , |
void * | |||
) |
Definition at line 21 of file FPPowerSystem1BusInitialize.c.
int FPPowerSystem1BusCleanup | ( | void * | ) |
Definition at line 4 of file FPPowerSystem1BusCleanup.c.