代码搜索:setup
找到约 10,000 项符合「setup」的源代码
代码结果 10,000
www.eeworm.com/read/384940/8830017
m setup.m
function a = setup(a)
global Supply
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.sup = round(a.con(:,1));
a.bus = Supply.bus(a.sup);
if length(a.con(1,:)) < a.ncol
a.con(:,a.ncol) =
www.eeworm.com/read/384940/8830046
m setup.m
function a = setup(a)
if isempty(a.con), return, end
a.n = 1;
lypdp = length(a.con);
if lypdp > 206, a.con = a.con([1:206]); end
if lypdp < 206
fm_disp(['* * * Custom Power Demand Profile.'])
www.eeworm.com/read/384940/8830085
m setup.m
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));
if length(a.con(1,:)) < a.ncol
a.u = ones(a.n,1);
else
a.u =
www.eeworm.com/read/384940/8830134
m setup.m
function a = setup(a)
global Supply
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.sup = round(a.con(:,1));
a.bus = Supply.bus(a.sup);
if length(a.con(1,:)) < a.ncol
a.con(:,a.ncol) =
www.eeworm.com/read/384940/8830539
m setup.m
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));
if length(a.con(1,:)) < a.ncol
a.u = ones(a.n,1);
else
a.u =
www.eeworm.com/read/384940/8830636
m setup.m
function a = setup(a)
global Bus
if isempty(a.con), return, end
a.n = length(a.con(:,1));
ncol = length(a.con(1,:));
switch ncol
case 19
a.con = [a.con,zeros(a.n,2),ones(a.n,2),zeros(a.n,4)];
www.eeworm.com/read/384940/8830746
m setup.m
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 = getbus(Syn,a.syn);
a.vbus = a.bus + Bus.n;
if length(a.con(1,:)) < a.ncol
www.eeworm.com/read/384940/8830801
m setup.m
function a = setup(a)
global Bus
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.bus = getint(Bus,a.con(:,1));
nsup = length(a.con(1,:));
if nsup < 14,
a.con = [a.con, zeros(a.n,14-ns
www.eeworm.com/read/384940/8830861
m setup.m
function a = setup(a)
global Bus
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.type = a.con(:,3);
a.idx = a.con(:,1);
idx = find(a.type == 1); % voltage control
if ~isempty(idx)
a.i
www.eeworm.com/read/384940/8831034
m setup.m
function a = setup(a)
global Demand
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.dem = round(a.con(:,1));
a.bus = Demand.bus(a.dem);
if length(a.con(1,:)) < a.ncol
a.con(:,a.ncol) =