11 }
else if (dir ==
_YDIR_) {
12 drift = (params->
omegaS/(2*params->
H))
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 FPPowerSystem1BusDissipationFunction(int, int, void *, double)
double FPPowerSystem1BusDriftFunction(int, void *, double, double, double)
Fokker-Planck Model for 1-Bus Power System.