代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
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(:,9);
x1 = D
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 = btcsc(a);
P1
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
fm_thload.m
function fm_thload(flag)
% FM_THLOAD defines Thermostatically Controlled Loads
%
% FM_THLOAD(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jaco
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_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
%
fm_hvdc.m
function fm_hvdc(flag)
% FM_HVDC define HVDC transmission system
%
% FM_HVDC(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FL
fm_phs.m
function fm_phs(flag)
%FM_PHS defines Phase Shifting Transformer
%
%Data Format Phs.con:
% col #1: Bus 1 number
% col #2: Bus 2 number
% col #3: Power rate [MVA]
%
fm_mixed.m
function fm_mixed(flag)
% FM_MIXED defines Mixed Loads
%
% FM_MIXED(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FLAG = 3 di