/[ascend]/trunk/ascend4/bin/convert.txt
ViewVC logotype

Contents of /trunk/ascend4/bin/convert.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Fri Oct 29 20:54:12 2004 UTC (17 years, 2 months ago) by aw0a
File MIME type: text/plain
File size: 1477 byte(s)
Setting up web subdirectory in repository
1 $Revision: 1.2 $
2 $Author: ballan $
3 $Date: 1997/07/05 14:12:07 $
4
5 The following file converts the gams output using the
6 substitute variables into an output file using the
7 actual variables.
8
9 convertoutput.pl
10
11 The command line syntax is the following (the <> are not redirects):
12
13 convertoutput.pl <file to be converted> <MODEL name from ASCEND>
14
15 This program uses the lookup file that is created when
16 ascend2gms.pl is run. The program automatically generates a
17 a file with the same base as the file to be converted, but with a
18 .con file extension.
19
20 Example:
21 convert the file column.lst (the GAMS output list file) to an
22 output file with the actual ASCEND variables. the name of the
23 ASCEND MODEL was t1
24
25 convertoutput.pl column.lst t1
26
27 the output file generated with then be
28
29 column.con
30
31 If the user has requested GAMS to display certain variables using
32 something like:
33
34 display aa.l;
35
36 where aa is the reflux ratio in the column MODEL.
37 The display lines will show up in the gams list file like the
38 following:
39
40 330 -- aa.l = 1
41
42 Currently, if the user places a carriage return between the
43 330 -- and the aa.l = 1 so the file know looks like:
44
45 330 --
46 aa.l = 1
47
48 When the GAMS list file is converted the following lines will
49 show up at the end of the *.con file:
50
51 ASSIGN {t1.column.reflux_ratio} 1;
52
53 The user can easily cut and paste this line into her script
54 window and run the command on her ASCEND MODEL.

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22