代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
fm_equiv.m
function check = fm_equiv
% FM_EQUIV computes simple static and dynamic network equivalents
%
%see also the function FM_EQUIVFIG
%
%Author: Federico Milano
%Update: 02-Apr-2008
%Version: 0.1
%
base.m
function a = base(a)
global Bus Settings
if ~a.n, return, end
Vn = a.con(:,3);
Vb = getkv(Bus,a.bus,1);
fm_errv(Vn,'Subsynchronous Resonance Model',a.bus)
k = Settings.mva.*Vn.*Vn./a.con(:,2)./Vb
fm_equiv.m
function check = fm_equiv
% FM_EQUIV computes simple static and dynamic network equivalents
%
%see also the function FM_EQUIVFIG
%
%Author: Federico Milano
%Update: 02-Apr-2008
%Version: 0.1
%
base.m
function a = base(a)
global Bus Settings
if ~a.n, return, end
Vn = a.con(:,3);
Vb = getkv(Bus,a.bus,1);
fm_errv(Vn,'Subsynchronous Resonance Model',a.bus)
k = Settings.mva.*Vn.*Vn./a.con(:,2)./Vb
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_ncomp.m
function fm_ncomp
% FM_NCOMP search components used in the current data
% file and initializes fields used for power
% flow computations.
%
% CHECK = FM_NCOMP
%
%see also FM_SLF
%
%A
fm_pl.m
function fm_pl(flag)
% FM_PL define Polinomial Loads
%
% FM_PL(FLAG)
% FLAG -> 0 initialization
% FLAG -> 1 algebraic equations
% FLAG -> 2 algebraic Jacobians
%
%Author: Federico
fm_jimma.m
function fm_jimma(flag)
% FM_JIMMA defines Mixed Loads
%
% FM_JIMMA(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FLAG = 3 di
fex_nrloop.m
function fex_nrloop(tol,itermax)
% FEX_NRLOOP -> called by FEX_ABCD
% Perform Newton Raphson for non linear algebraic equation
% solution
%
% Author: Alberto Del Rosso
% Date: June 2004
% Update:
gcall.m
function gcall(a)
global Bus DAE
if ~a.n, return, end
V = DAE.V(a.bus);
B = bsvc(a);
DAE.gq = DAE.gq + sparse(a.bus,1,-B.*V.*V,Bus.n,1);