HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
fppowersystem3bus.h
Go to the documentation of this file.
1 
30 #define _FP_POWER_SYSTEM_3BUS_ "fp-power-system-3bus"
31 
32 /* define ndims and nvars for this model */
33 #undef _MODEL_NDIMS_
34 #undef _MODEL_NVARS_
35 
36 #define _MODEL_NDIMS_ 4
37 
38 #define _MODEL_NVARS_ 1
39 
49 typedef struct fp_power_system__3bus_parameters {
50 
51  int N;
52  double Pm1_avg,
53  Pm2_avg,
54  Pmref_avg,
55  H1,
56  H2,
57  Href,
58  E1,
59  E2,
60  Eref,
61  omegaB,
62  sigma[2][2],
63  lambda[2][2],
64  gamma,
65  *G,
66  *B;
68  double pdf_integral;
71 
72 int FPPowerSystem3BusInitialize (void*,void*);
73 int FPPowerSystem3BusCleanup (void*);
Structure containing variable and parameters specific to the 3-bus power system model. This structure contains the physical parameters and variables for the Fokker-Planck model for a 3-bus power system.
int FPPowerSystem3BusCleanup(void *)
int FPPowerSystem3BusInitialize(void *, void *)