资源简介
psat-2.1.10-oct.zip
代码片段和文件信息
function check = autorun(msgtype)
% AUTORUN properly launch PSAT routine checking for data
% files and previous power flow solutions
%
% CHECK = AUTORUN(MSG)
% MSG message to be displayed
% TYPE 0 for static analysis 1 for dynamic analysis
% CHECK 1 if everything goes fine 0 otherwise
%
%Author: Federico Milano
%Date: 29-Oct-2003
%Version: 1.0.0
%
%E-mail: federico.milano@ucd.ie
%Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2016 Federico Milano
global Settings File Bus
global DAE LIB SNB OPF CPF clpsat Comp
check = 0;
% check for data file
if isempty(File.data)
fm_disp([‘Set a data file before running ‘msg‘.‘]2)
return
end
% check for initial power flow solution
if ~Settings.init
solvepf
if ~Settings.init return end
end
% check for dynamic components if running a static analysis
if ~type && DAE.n && ~clpsat.init
dynlf = sum(prod(Comp.prop(:[3 6 9])2));
iscpf = strcmp(msg‘Continuation Power Flow‘);
if ~Settings.static && ~dynlf
Settings.ok = 0;
uiwait(fm_choice(‘Dynamic components will be discarded. Continue?‘))
if Settings.ok
Settings.static = 1;
solvepf
Settings.static = 0; % reset initial condition
else
return
end
elseif ~Settings.static && ~dynlf && iscpf
Settings.ok = 0;
uiwait(fm_choice([‘Dynamic components can lead to numerical ‘ ...
‘problems discard?‘]))
if Settings.ok
Settings.static = 1;
solvepf
Settings.static = 0; % reset initial condition
end
elseif iscpf
Settings.ok = 1;
%uiwait(fm_choice([‘Dynamic components can lead to numerical ‘ ...
% ‘problems continue?‘]))
%if ~Settings.ok return end
else
uiwait(fm_choice([‘Dynamic components are not supported for ‘ ...
‘static analysis‘]2))
return
end
end
% check for previous CPF & ATC solutions
if strcmp(msg‘SNB Direct Method‘)
one = 1;
else
one = 0;
end
if CPF.init && ~(one && CPF.init == 1)
switch CPF.init
case 1 met = ‘CPF‘;
case 2 met = ‘ATC‘;
case 3 met = ‘N-1 Cont. An.‘;
case 4 met = ‘Continuation OPF (PSAT-GAMS)‘;
end
Settings.ok = 0;
if clpsat.init
Settings.ok = clpsat.refresh;
else
uiwait(fm_choice([met‘ has been run last. Do you want to‘ ...
‘ restore initial PF solution?‘]))
end
if Settings.ok
solvepf
fm_disp([‘Initial PF solution will be used as ‘ ...
‘base case solution.‘])
else
fm_disp([‘Last ‘met‘ solution will be used as ‘ ...
‘base case solution.‘])
end
CPF.init = 0;
end
% check for previous time domain simulations
if Settings.init == 2
Settings.ok = 0;
if clpsat.init
Settings.ok = clpsat.refresh;
else
uiwait(fm_choice([‘TD has been run last. Do you want to‘ ...
‘ restore initial PF solution?‘]))
end
if Settings.ok
solvepf
fm_disp([‘Initial PF solution will be u
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-07 18:32 psat\
目录 0 2016-06-07 18:35 psat\@ARclass\
文件 1007 2016-06-07 18:35 psat\@ARclass\ARclass.m
文件 268 2016-06-07 18:35 psat\@ARclass\ba
文件 1275 2016-06-07 18:35 psat\@ARclass\block_areas.m
文件 43 2016-06-07 18:35 psat\@ARclass\display_areas.m
文件 168 2016-06-07 18:35 psat\@ARclass\getidx_areas.m
文件 570 2016-06-07 18:35 psat\@ARclass\growth_areas.m
文件 1074 2016-06-07 18:35 psat\@ARclass\idnum_areas.m
文件 115 2016-06-07 18:35 psat\@ARclass\init_areas.m
文件 161 2016-06-07 18:35 psat\@ARclass\mask_areas.m
文件 122 2016-06-07 18:35 psat\@ARclass\restore_areas.m
文件 1822 2016-06-07 18:35 psat\@ARclass\setup_areas.m
文件 802 2016-06-07 18:35 psat\@ARclass\subsasgn_areas.m
文件 1117 2016-06-07 18:35 psat\@ARclass\subsref_areas.m
目录 0 2016-06-07 18:35 psat\@AVclass\
文件 633 2016-06-07 18:35 psat\@AVclass\AVclass.m
文件 3851 2016-06-07 18:35 psat\@AVclass\Fxcall_exc.m
文件 113 2016-06-07 18:35 psat\@AVclass\Gycall_exc.m
文件 102 2016-06-07 18:35 psat\@AVclass\add_exc.m
文件 313 2016-06-07 18:35 psat\@AVclass\bdmatrix_exc.m
文件 1045 2016-06-07 18:35 psat\@AVclass\block_exc.m
文件 202 2016-06-07 18:35 psat\@AVclass\ceiling_exc.m
文件 41 2016-06-07 18:35 psat\@AVclass\display_exc.m
文件 698 2016-06-07 18:35 psat\@AVclass\dynidx_exc.m
文件 1191 2016-06-07 18:35 psat\@AVclass\equiv_exc.m
文件 2359 2016-06-07 18:35 psat\@AVclass\fcall_exc.m
文件 179 2016-06-07 18:35 psat\@AVclass\gcall_exc.m
文件 242 2016-06-07 18:35 psat\@AVclass\getxy_exc.m
文件 192 2016-06-07 18:35 psat\@AVclass\init_exc.m
文件 504 2016-06-07 18:35 psat\@AVclass\mask_exc.m
............此处省略1732个文件信息
- 上一篇:BMS策略 仿真
- 下一篇:layui1.0.9.zip
相关资源
- 论文查重.zip
- Profinet_报文.xlsx
- 位移精灵_1.0.5.zip
- BAIDUThunder.rar
- Exe.zip
- weixin_42343698_10447086.zip
- szfx.rar
- 数值分析试卷.pdf
- 志汇酒店营销版小程序最新7.0.1解密开
- HDMI测试原理及方法.pdf
- ID_CARD(1).zip
- 3ko39z.pdf
- 航迹控制算法DLL程序.rar
- 概率论和数理统计课后习题答案(复
- weixin_41918266_10384576.zip
- 无刷直流电机运行原理与基本控制方
- 亿图图示破解.rar
- ReadyAPI-2.6.0破解.rar
- ReadyAPI-2.5.0破解.rar
- scratch文件转exe文件工具.zip
- Mount_decoupler_2021_01_01WF.zip
- 智能水产养殖系统.rar
- 冰点文库V3.27去广告版.rar
- xinhaoyuxitong_downcc.com.zip
- 重构2-中文.pdf
- ADSelf.msi
- 航天制导导航与控制实验指导书.pdf
- 家政到家小程序md_daojia3.0.10前端后端
- sentiment_data.rar
- 三个安卓小游戏源码.rar
评论
共有 条评论