11 }
else if (dir ==
_YDIR_) {
23 double sigma = params->
sigma;
24 double omegaS = params->
omegaS;
25 double omegaB = params->
omegaB;
26 double lambda = params->
lambda;
33 double term = (sigma*sigma*omegaS*omegaS) / (4.0*H*H);
34 double expterm = exp(-t/lambda);
37 dissp = term * (lambda*omegaB) * (lambda*(1-expterm) - t*expterm);
39 }
else if (dir2 ==
_YDIR_) {
40 double gamma = D*omegaS / (2.0*H);
41 dissp = term * (lambda*(1-expterm) + (gamma*lambda*(t*expterm-lambda*(1-expterm))) );
double FPPowerSystem1BusDriftFunction(int dir, void *p, double x, double y, double t)
double FPPowerSystem1BusDissipationFunction(int dir1, int dir2, void *p, double t)
Fokker-Planck Model for 1-Bus Power System.