USER MANUAL file for the Pump Abstraction example:

Delivered to the Government in Accordance with Contract FA8650-10-C-7080
(c) 2011 United Technologies Corp.
Developed with the sponsorship of the Defense Advanced Research Projects Agency (DARPA).


1. Create a working directory and save all files in that directory.

2. Open the software MATLAB (R 2010b) from your working directory.

3. Create Input Files: In the working directory,

a. Create a file named inputc.csv. THis file contains only those variables which take values in a continuous range, e.g., mass flow rate, Inlet Temperature.
Each row of this file must have the following syntax: Variable name, keep/abstract, minimum value, maximum value.

b. Create a file named inputd.csv. THis file contains only those variables which take discrete values, e.g., pump type, which is either gear or radial.
Each row of this file must have the following syntax: Variable name, keep/abstract. (At present, this code assumes that all discrete variables must have 
the same second field (i.e., all must be either keep or abstract).

c. Create a file named output.csv. This file contains output variables, e.g., pump weight W or pump efficiency eff.Each row of this file must have the 
following syntax: Variable name, keep/abstract.  

d. Create a file named model.csv. This file contains a string which indicates which component is this code applied to. E.g., in the current pump example,
the file would contain the string pump_model, indicating that the component under consideration is a pump.

4. Running the code: Once the above input files are created (see the examples attached), run the following command from MATLAB command prompt: 
Abstract('inputd.csv','inputc.csv','output.csv','model.csv');

5. Output of the code: The file Abstraction_output.out contains the output of this code.

