Skip to content

Commit

Permalink
Initial import from 2016.02.00 release: svn r10046
Browse files Browse the repository at this point in the history
*Excluded Files*

* Toolbox/GUI/APCSimulationToolGUI.p:                            data
* Toolbox/MMPC/APC_DMC.p:                                        data
* Toolbox/MMPC/APC_MMPC.p:                                       data
* Toolbox/MMPC/APC_MPC.p:                                        data
* Toolbox/NMPC/APC_NMPC.p:                                       data
* Toolbox/Optimizers/ipopt.mexa64:                               ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
* Toolbox/Optimizers/ipopt.mexmaci64:                            Mach-O 64-bit bundle x86_64
* Toolbox/src.rar:                                               RAR archive data, v9e,
* Toolbox/Optimizers/clp.mexw32:                                 PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit
* Toolbox/Optimizers/nlopt.mexw32:                               PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit
* Toolbox/Optimizers/ooqp.mexw32:                                PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit
* Toolbox/Optimizers/clp.mexw64:                                 PE32+ executable for MS Windows (DLL) (GUI) Mono/.Net assembly
* Toolbox/Optimizers/nlopt.mexw64:                               PE32+ executable for MS Windows (DLL) (GUI) Mono/.Net assembly
* Toolbox/Optimizers/ooqp.mexw64:                                PE32+ executable for MS Windows (DLL) (GUI) Mono/.Net assembly
* Toolbox/Optimizers/ipopt.mexw32:                               PE32 executable for MS Windows (DLL) (console) Intel 80386 32-bit
* Toolbox/Optimizers/ipopt.mexw64:                               PE32+ executable for MS Windows (DLL) (console) Mono/.Net assembly
* Examples/BFB_Adsorber/APC_MMPC_BFB.mat:                        Matlab v5 mat-file (little endian) version 0x0100
* Examples/BFB_Adsorber/DRM_SSBank_BFB.mat:                      Matlab v5 mat-file (little endian) version 0x0100
* Examples/BFB_Adsorber/Step_Tests/BFB_IdentData.mat:            Matlab v5 mat-file (little endian) version 0x0100
* Examples/BFB_Adsorber/Step_Tests/BFB_StepResponseData.mat:     Matlab v5 mat-file (little endian) version 0x0100
* Examples/QuadTank/QL_SSParameters.mat:                         Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor/APC_DABNet_pH.mat:                         Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor/DRM_DABNet_pH.mat:                         Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/APC_DABNetSE_pH.mat:                Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/APC_MMPC_pH.mat:                    Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/DRM_DABNetSE_pH.mat:                Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/DRM_SSBank_pH.mat:                  Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/Step_Tests/pH_IdentData.mat:        Matlab v5 mat-file (little endian) version 0x0100
* Examples/pH_Reactor_MATLAB/Step_Tests/pH_StepResponseData.mat: Matlab v5 mat-file (little endian) version 0x0100
* Toolbox/GUI/APCSimulationToolGUI.fig:                          Matlab v5 mat-file (little endian) version 0x0100
  • Loading branch information
vchendrix committed Jun 23, 2017
0 parents commit 6fc5d57
Show file tree
Hide file tree
Showing 63 changed files with 74,908 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.fig
*.mat
*.mex*
*.p
*.rar
67 changes: 67 additions & 0 deletions APCFramework_Install.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
function APCFramework_Install
%% Installation File for CCSI APC Framework
%
% In order to run this tool, please run this file to setup the required
% paths. You MUST be in the current directory of this file!

% Code written and developed by:
% Priyadarshi Mahapatra, PhD
% URS Corporation / National Energy Technology Laboratory
% 04 June 2014

current_path = cd;
warning OFF BACKTRACE;

try
cd('Toolbox');
catch
error('You don''t appear to be in the APC Framework base directory');
end

fprintf('\n-------------------------------------------------------------------\n');
fprintf([' INSTALLING APC FRAMEWORK TOOLBOX R' ...
sprintf('%1.2f',APCFrameworkVersion('release')) ...
'(v' sprintf('%1.1f',APCFrameworkVersion('internal')) ')\n\n']);

if ~strcmpi(computer('arch'),'win32')
warning('APCFramework:absent32bitArch',['32-bit MATLAB and/or WinOS not detected. The framework uses '...
'Simulink - ACM/APD interface (distributed with Aspen Engineering Suite) '...
'which is currently supported for 32-bit MATLAB only. You may still continue '...
'with the installation but will be unable to use features / examples using this '...
'interface for ACM/APD-based ''plant'' simulations.']);
fprintf('\n');
in = input(' - Do you want to continue installation? (Not Recommended) (y/n): ','s');
fprintf('\n');
if ~(strcmpi(in,'y'))
fprintf(' Installation Aborted. \n\n');
cd(current_path);
return;
end
end
fprintf(' - Adding APC Framework Toolbox to MATLAB Search Path...');

generated_path = genpath(cd);
addpath(generated_path);

rehash
fprintf('Done\n\n');

in = input(' - Would you like to save the path changes? (Recommended) (y/n): ','s');
fprintf('\n');
if(strcmpi(in,'y'))
warning off MATLAB:SavePath:PathNotSaved
flagSaveFailed = savepath;
if flagSaveFailed
warning('APCFramework:absentAdminRights',['It appears you do not have administrator rights on your computer to save the MATLAB path. '...
'This installation will be valid for current MATLAB session only. In order to run '...
'APC Framework you will need to install it each time you wish to use it. To fix this please '...
'contact your system administrator to obtain administrative privileges.']);
fprintf('\n');
end
end

fprintf(' APC Framework Toolbox Installation COMPLETE !\n');
fprintf('-------------------------------------------------------------------\n\n');

cd(current_path);
end
Loading

0 comments on commit 6fc5d57

Please sign in to comment.