代码搜索:setup
找到约 10,000 项符合「setup」的源代码
代码结果 10,000
www.eeworm.com/read/431224/8695901
m setup.m
function a = setup(a,varargin)
switch nargin
case 3
Bus = varargin{1};
Line = varargin{2};
otherwise
global Bus Line
end
if isempty(a.con), return, end
[nrows, ncols] = size(a.con);
if ncol
www.eeworm.com/read/431224/8695954
m setup.m
function a = setup(a)
global DAE Settings Varname
% check buses
if isempty(a.con)
fm_disp(['The data file does not seem to be in a valid ', ...
'format: no bus found.'])
Settings.ok =
www.eeworm.com/read/431224/8696012
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));
a.init = find(~a.con(:,8));
if length(a.con(1,:)) < a.ncol
a.u
www.eeworm.com/read/431224/8696060
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));
a.dat = zeros(a.n,2);
if length(a.con(1,:)) < a.ncol
a.u = ones
www.eeworm.com/read/431224/8696138
m setup.m
function a = setup(a)
if isempty(a.con), return, end
a.n = length(a.con(:,1));
for i = 1:a.n
a.speed(i).time = [];
end
a.store = a.con;
www.eeworm.com/read/431224/8696194
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));
a.wind = round(a.con(:,2));
a.dat = zeros(a.n,3);
if length(a.con
www.eeworm.com/read/431224/8696274
m setup.m
function a = setup(a)
global Bus Exc Syn
if isempty(a.con), return, end
a.n = length(a.con(:,1));
a.exc = a.con(:,1);
a.syn = Exc.syn(a.exc);
a.bus = getbus(Syn,a.syn);
a.vbus = a.bus + Bus.n;
if
www.eeworm.com/read/431224/8696347
m setup.m
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.con(:,1));
[a.bus2,a.v2] = getbus(Bus,a.con(:,2));
if length(a.con(1
www.eeworm.com/read/431224/8696399
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/431224/8696428
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.'])