/[ascend]/trunk/models/johnpye/datareader/testtmy.a4c
ViewVC logotype

Contents of /trunk/models/johnpye/datareader/testtmy.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 811 - (show annotations) (download) (as text)
Thu Aug 10 17:08:16 2006 UTC (14 years, 2 months ago) by johnpye
File MIME type: text/x-ascend
File size: 283 byte(s)
Added vim 'syntax=python' comments to many SConscript files.
Lots more work on the datareader extfn.
The testtmy.a4c file requires the file obtained here ('gzip -d' before use)
http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z
1 IMPORT "johnpye/datareader/datareader";
2 REQUIRE "atoms.a4l";
3
4 MODEL testtmy;
5 t IS_A time;
6 G IS_A real;
7 Gbn IS_A real;
8
9 filename IS_A symbol_constant;
10 filename :== '23161.tm2';
11
12 filereader:datareader(
13 t : INPUT;
14 G, Gbn : OUTPUT;
15 filename : DATA
16 );
17
18 t = 0;
19
20 END testtmy;

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