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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 814 by johnpye, Fri Aug 11 04:38:10 2006 UTC revision 819 by johnpye, Wed Aug 16 15:36:12 2006 UTC
# Line 13  MODEL testtmy; Line 13  MODEL testtmy;
13      t IS_A time;      t IS_A time;
14      G IS_A solver_var;      G IS_A solver_var;
15      Gbn IS_A solver_var;      Gbn IS_A solver_var;
16      G2 IS_A solver_var;      Gd IS_A solver_var;
17        T IS_A solver_var;
18        v_wind IS_A solver_var;
19      E IS_A solver_var; (* total radiation *)      E IS_A solver_var; (* total radiation *)
20        Gb IS_A solver_var;
21    
22      (* source data: http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z *)      (* source data: http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z *)
23      tmydata IS_A drconf;      tmydata IS_A drconf;
24      tmydata.filename :== '/home/john/src/ascend/models/johnpye/datareader/23161.tm2';      tmydata.filename :== 'johnpye/23161.tm2';
25    
26      filereader:datareader(      filereader:datareader(
27          t : INPUT;          t : INPUT;
28          G, Gbn : OUTPUT;          G, Gbn, Gd, T, v_wind : OUTPUT;
29          tmydata : DATA          tmydata : DATA
30      );      );
31    
32      G2 = G + Gbn;      Gb = G - Gd;
33    
34  METHODS  METHODS
35    
# Line 47  END specify; Line 50  END specify;
50    
51  METHOD values;  METHOD values;
52      t := 0 {s};      t := 0 {s};
53        E := 0;
54  END values;  END values;
55    
56  END testtmy;  END testtmy;

Legend:
Removed from v.814  
changed lines
  Added in v.819

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