代码搜索结果

找到约 10,000 项符合 CAN Bus 的代码

gycall.m

function Gycall(a) global Bus DAE if ~a.n, return, end V = DAE.V(a.bus); DAE.J22 = DAE.J22 + sparse(a.bus,a.bus,-2*a.Be.*V,Bus.n,Bus.n);

getq.m

function q = getq(a,idx) global Bus if ~a.n, return, end B = bsvc(a); V = DAE.V(a.bus); q = B(idx).*V(idx).*V(idx);

glambda.m

function glambda(p,lambda) global DAE Bus if ~p.n, return, end DAE.gp = sparse(p.bus,1,lambda*p.con(:,3),Bus.n,1) + DAE.gp; DAE.gq = sparse(p.bus,1,lambda*p.con(:,4),Bus.n,1) + DAE.gq;

glcall.m

function Glcall(p) global DAE Bus if ~p.n, return, end DAE.Gl = DAE.Gl + sparse(p.bus,1,p.con(:,3),2*Bus.n,1); DAE.Gl = DAE.Gl + sparse(p.bus+Bus.n,1,p.con(:,4),2*Bus.n,1);

fm_eigen.m

function fm_eigen(type) % FM_EIGEN compute eigenvalues of static and dynamic Jacobian % matrices % % FM_EIGEN(TYPE,REPORT) % TYPE 1 -> Jlfd eigenvalues % 2 -> Jlfv ei

fm_sssc.m

function fm_sssc(flag) % FM_SSSC define Static Synchronous Series Compensators - SSSC % % FM_SSSC(FLAG) % FLAG = 1 algebraic equations % FLAG = 2 algebraic Jacobians % FLAG = 3 diffe

glcall.m

function Glcall(p) global DAE Bus if ~p.n, return, end DAE.Gl = DAE.Gl - sparse(p.bus,1,p.con(:,3),2*Bus.n,1);

fm_upfc.m

function fm_upfc(flag) % FM_UPFC define Unified Power Flow Controller - UPFC % % FM_UPFC(FLAG) % FLAG = 1 algebraic equations % FLAG = 2 algebraic Jacobians % FLAG = 3 differential

fm_pareto.m

function fm_pareto % FM_PARETO determine a Pareto set of the multi-objective % OPF Problem % % FM_PARETO % %see also OPF structure % %Author: Federico Milano %Date: 11-Nov-2002 %Upda

fm_ssr.m

function fm_ssr(flag) % FM_SSR Model of the synchronous machine with shaft dynamics and compensated line % % FM_SSR(FLAG) % FLAG = 0 initializations % FLAG = 1 algebraic equations %