function fex_nrloop(tol,itermax) % FEX_NRLOOP -> called by FEX_ABCD % Perform Newton Raphson for non linear algebraic equation % …
bus 源代码
Bus技术是现代电子系统中不可或缺的通信桥梁,广泛应用于计算机、嵌入式系统及各类电子设备间的数据传输。掌握Bus相关知识对于优化系统架构、提升数据处理效率至关重要。本页面汇集了493个精选资源,涵盖总线协议详解、接口设计实例等,无论您是初学者还是资深工程师,都能在这里找到适合的学…
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…
function p = base(p) global Bus Settings if ~p.n, return, end fm_errv(p.con(:,3),'Svc',p.bus) Vb = Bus.con(p.bus,2); Vb2new = V…
function a = add(a,data) global Bus a.n = a.n + length(data(1,:)); a.con = [a.con; data]; a.bus = [a.bus; Bus.int(round(data(:,1…
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…
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);
function fm_limit % FM_LIMIT compute Limit-Induced Bifurcation (LIB) % by means of a Newton-Raphson routine. % % FM_LIMIT…
function fm_cswt(flag) % FM_CSWT define Constant Speed Wind Turbine % % FM_CSWT(FLAG) % FLAG = 0 initializations % FLA…
function a = add(a,data) global Bus if ischar(data) data = [1,100,1,0,1e-6,zeros(1,12)]; end newbus = Bus.int(round(data(:,1)…
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…