function p = base(p) global Bus Settings if ~p.n, return, end fm_errv(p.con(:,3),'PV Bus',p.bus); Vb = getkv(Bus,p.bus,1); p.co…
ISA+Bus 源代码
汇集 ISA+Bus 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function [qmax,qmin] = pvlim(a) global Bus if ~a.n qmax = []; qmin = []; return end qmax = find(Bus.Qg(a.bus) > a.con(:,6)…
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…