function fm_ssr(flag) % FM_SSR Model of the synchronous machine with shaft dynamics and compensated line % % FM_SSR(FLAG) % …
bus+communication 源代码
汇集 bus+communication 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function fm_mn(flag) % FM_MN defines Monomial Loads % % FM_MN(FLAG) % FLAG = 0 initialization % FLAG = 1 algebrai…
function [bus_pmu, bus2] = fm_pmurec(bus1,bus2,bus0) % FM_PMUREC routine for PMU placement % % (...) = FM_PMUREC(...) % % Thi…
function fm_hvdc(flag) % FM_HVDC define HVDC transmission system % % FM_HVDC(FLAG) % FLAG = 0 initialization % F…
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 = zeros(Bus.n,1…
function p = base(p) global Bus Settings if ~p.n, return, end fm_errv(p.con(:,3),'PV Bus',p.bus); p.con(:,4) = p.con(:,4…
function [qmax,qmin] = pvlim(a,q) global Bus if ~a.n qmax = []; qmin = []; return end qmax = find(Bus.Qg(a.bus) >…
function a = add(a,data) global Bus newbus = Bus.int(round(data(1))); idx = findbus(a,newbus); if isempty(idx) a.n = …
function fm_phs(flag) %FM_PHS defines Phase Shifting Transformer % %Data Format Phs.con: % col #1: Bus 1 number % …
function fm_exload(flag) % FM_EXLOAD defines exponential recovery load % % FM_EXLOAD(FLAG) % FLAG = 0 -> initialization…