代码搜索结果

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

glcall.m

function Glcall(p) global DAE Bus if ~p.n, return, end DAE.Gl(p.bus) = DAE.Gl(p.bus) + p.con(:,4); DAE.Gl(Bus.n+p.bus) = DAE.Gl(Bus.n+p.bus) + p.con(:,5);

fxcall.m

function Fxcall(a) global DAE Bus Settings if ~a.n, return, end V = DAE.V(a.bus); P0 = a.con(:,2); Q0 = a.con(:,5); ap = a.con(:,3); aq = a.con(:,6); bp = a.con(:,4); bq = a.con(:,7);

gcall.m

function gcall(a) global Bus DAE if ~a.n, return, end V = DAE.V(a.bus); Dw = domega(a); DAE.gp = DAE.gp + sparse(a.bus,1,a.con(:,2).*(V.^a.con(:,3)).* ... (1+Dw)

swlim.m

function [qmax,qmin] = swlim(a,q) global Bus if ~a.n qmax = []; qmin = []; return end qmax = find(Bus.Qg(a.bus) > a.con(:,6)); qmin = find(Bus.Qg(a.bus) < a.con(:,7));

fxcall.m

function Fxcall(a) global DAE Bus Pod if ~a.n, return, end V1 = DAE.V(a.bus1); V2 = DAE.V(a.bus2); t1 = DAE.a(a.bus1); t2 = DAE.a(a.bus2); ss = sin(t1-t2); cc = cos(t1-t2); Tr = a.con(:

gcall.m

function gcall(a) global Bus DAE if ~a.n, return, end V1 = DAE.V(a.bus1); V2 = DAE.V(a.bus2); t1 = DAE.a(a.bus1); t2 = DAE.a(a.bus2); ss = sin(t1-t2); cc = cos(t1-t2); % update B B =

makeptdf.m

function H = makePTDF(baseMVA, bus, branch, slack) %MAKEPTDFDC Builds the DC PTDF matrix for a given choice of slack. % H = makePTDF(baseMVA, bus, branch, slack) returns the DC PTDF % matrix for

makeptdf.m

function H = makePTDF(baseMVA, bus, branch, slack) %MAKEPTDFDC Builds the DC PTDF matrix for a given choice of slack. % H = makePTDF(baseMVA, bus, branch, slack) returns the DC PTDF % matrix for

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 diff