function [qmax,qmin] = pvlim(a) global Bus if ~a.n qmax = []; qmin = []; return end qmax = find(Bus.Qg(a.bus) > a.con(:,6)…
bus+topology 源代码
汇集 bus+topology 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function a = add(a,data) global Bus newbus = getint(Bus,data(1)); idx = findbus(a,newbus); if isempty(idx) a.n = a.n + 1; i…
function a = setup(a,varargin) if isempty(a.con), return, end global DAE Settings switch nargin case 2 Bus = varargin{1}; o…
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: Thermostatically controlled load #', ... int2str(idx),' at …
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: Central Area Controller #',int2str(idx), ... ' at bus #…
function check = fm_equiv % FM_EQUIV computes simple static and dynamic network equivalents % %see also the function FM_EQUIVFIG %…
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: BusFreq #',int2str(idx), ... 'at bus ',msg))
function a = base(a) if ~a.n, return, end global Bus Settings Vn = a.con(:,3); Vb = getkv(Bus,a.bus,1); fm_errv(Vn,'Fault',a.b…
function a = intervention(a,t) global DAE Bus Settings persistent angles voltages if ~a.n, return, end % do not repeat computat…
function a = setup(a) global Bus if isempty(a.con), return, end a.n = length(a.con(:,1)); [a.bus,a.vbus] = getbus(Bus,a.con(:,1…