资源简介
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
相关资源
- Listary Pro 破解最新版
- Allway Sync Pro 10.5.8注册码 序列号 激活
- 百度文库破解软件
- winfrom自定义设计器源码
- 操作系统哲学家就餐问题(界面+源码
- 康耐视电子表格实战
- getdata破解补丁
- 一键反修复远程桌面.rar
- STM32F407ZGT6实现HAL库硬件I2C读写EEPROM功
- arcGis10.2
- PS技术 在学校里 学三年 也学不到这么
- Hi3520D300 硬件设计用户指南
- Hi3536 Linux开发环境用户指南
- activiti-explorer流程图设计器汉化文件
- 数据库课程设计停车场管理系统
- m×n的长方阵迷宫问题完美求解
- 针对MPLAB® X IDE使用PICKit™ 3在线调
- 东软股份教育事业部解决方案
- 东软数字化校园网解决方案成功应用
- 奶瓶(beini)无限免费破解增强版 使
- 交通灯multisim仿真(附图)
- powerdesigner 15.1 license key
- powerdesigner15.0的注册码license key
- visio软件64位破解版本
- Internet Explorer 11 Windows 系统 各版本
-
开机速度优化工具Startup Dela
yer3.0中 - tomcat 8.0 32位 绿色版
- 四路抢答器
- SolidWorks-100多个
- delphi源码-检测是否运行了多个程序
评论
共有 条评论