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…
bus+topology 源代码
汇集 bus+topology 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
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…
function rmpqgen(a) global Bus if ~a.n, return, end idx = find(a.gen); if isempty(idx), return, end Bus.Pl(a.bus(id…
function p = base(p) global Bus Settings if ~p.n, return, end fm_errv(p.con(:,3),'PQ Bus',p.bus); p.con(:,4) = p.con(:,4…
function addpqgen(a) global Bus if ~a.n, return, end idx = find(a.gen); if isempty(idx), return, end Bus.Pg(a.bus(i…
function a = add(a,data) global Bus newbus = Bus.int(round(data(1))); idx = findbus(a,newbus); if isempty(idx) a.n = …
function y = pqshunt(a) global DAE Settings Shunt Bus y = sparse(Bus.n,Bus.n); if ~Settings.pq2z | Settings.init > 1, ret…