function a = setup(a) global Bus Settings if isempty(a.con), return, end a.n = length(a.con(:,1)); [a.bus1,a.v1] = getbus(Bus,a…
ISA+Bus 源代码
汇集 ISA+Bus 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: MIXED LOAD #',int2str(idx),' at bus : ',msg))
function p = base(p) global Bus Settings if ~p.n, return, end fm_errv(p.con(:,3),'Synchronous Machine',p.bus); Vb2new = getkv(B…
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: Synchronous Machine #', ... int2str(idx),'(model…
function a = setup(a) global Syn Bus if isempty(a.con), return, end a.n = length(a.con(:,1)); a.syn = a.con(:,1); a.bus = getbu…
function warn(a,idx,msg) global Bus fm_disp(fm_strjoin('Warning: AVR #',int2str(idx), ... ' at bus #',Bus.names(a.bus(id…
function a = add(a,data) global Bus newbus = getint(Bus,data(:,1)); if length(data(1,:)) < a.ncol data(:,a.ncol) = 1; end a.…
function a = base(a) if ~a.n, return, end global Bus Settings fm_errv(a.con(:,3),'Shunt',a.bus); Vb2new = getkv(Bus,a.bus,2); V…
function [bus_pmu, bus2] = fm_pmurec(bus1,bus2,bus0) % FM_PMUREC routine for PMU placement % % (...) = FM_PMUREC(...) % % This rou…
function [n,idx,data] = gams(a) global Bus n = int2str(a.n); idx = sparse(a.bus,[1:a.n],1,Bus.n,a.n); data = getzeros(Bus); if a…