HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
FPPowerSystem3BusCleanup.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
physicalmodels/fppowersystem3bus.h
>
8
10
int
FPPowerSystem3BusCleanup
(
11
void
*s
12
)
13
{
14
FPPowerSystem3Bus
*physics = (
FPPowerSystem3Bus
*) s;
15
free(physics->
G
);
16
free(physics->
B
);
17
return
(0);
18
}
FPPowerSystem3Bus::G
double * G
Definition:
fppowersystem3bus.h:52
fppowersystem3bus.h
3-Bus Power System model
FPPowerSystem3BusCleanup
int FPPowerSystem3BusCleanup(void *s)
Definition:
FPPowerSystem3BusCleanup.c:10
FPPowerSystem3Bus::B
double * B
Definition:
fppowersystem3bus.h:52
FPPowerSystem3Bus
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.
Definition:
fppowersystem3bus.h:49