13 |
|
][ |
14 |
|
.B "\-d|\-s|\-n" |
15 |
|
][ |
16 |
< |
.B "\-D sunfile" |
16 |
> |
.B "\-u" |
17 |
|
][ |
18 |
+ |
.B "\-D sunfile" |
19 |
+ |
[ |
20 |
+ |
.B "\-M sunmods" |
21 |
+ |
]][ |
22 |
|
.B "\-r deg" |
23 |
|
][ |
24 |
|
.B "\-m N" |
29 |
|
][ |
30 |
|
.B "-o{f|d}" |
31 |
|
][ |
32 |
< |
.B "-O{0|1}" |
32 |
> |
.B "\-O{0|1}" |
33 |
> |
][ |
34 |
> |
.B "\-i intvl" |
35 |
|
] |
36 |
|
[ |
37 |
|
.B "tape.wea" |
38 |
+ |
or |
39 |
+ |
.B "tape.epw" |
40 |
|
] |
41 |
|
.SH DESCRIPTION |
42 |
|
.I Gendaymtx |
43 |
|
takes a weather tape as input and produces a matrix of sky patch |
44 |
|
values using the Perez all-weather model. |
45 |
< |
The weather tape is assumed to be in the simple ASCII format understood |
45 |
> |
The weather tape may be in the simple ASCII format understood |
46 |
|
by DAYSIM, which contains a short header with the site parameters followed |
47 |
|
by the month, day, standard time, direct normal and diffuse horizontal |
48 |
|
irradiance values, one time step per line. |
49 |
+ |
Alternatively, a standard EPW (Energy Plus Weather) input may be provided, |
50 |
+ |
in which case additional information such as the dew point temperature may |
51 |
+ |
be used in the calculation. |
52 |
|
Each time step line is used to compute a column in the output matrix, |
53 |
|
where rows correspond to sky patch positions, starting with 0 for |
54 |
|
the ground and continuing to 145 for the zenith using the default |
88 |
|
.I "\-g 0.2 0.2 0.2" |
89 |
|
corresponding to a 20% gray. |
90 |
|
.PP |
91 |
+ |
If there is a sun in the description, |
92 |
+ |
.I gendaymtx |
93 |
+ |
will include its contribution in the four nearest sky patches, |
94 |
+ |
distributing energy according to centroid proximity. |
95 |
|
The |
96 |
|
.I \-d |
97 |
|
option may be used to produce a sun-only matrix, with no sky contributions, |
99 |
|
Alternatively, the |
100 |
|
.I \-s |
101 |
|
option may be used to exclude any direct solar component from the output, |
102 |
< |
with the rest of the sky and ground patch unaffected. |
88 |
< |
If there is a sun in the description, |
89 |
< |
.I gendaymtx |
90 |
< |
will include its contribution in the four nearest sky patches, |
91 |
< |
distributing energy according to centroid proximity. |
102 |
> |
with the other sky and ground patches unaffected. |
103 |
|
.PP |
104 |
|
The |
105 |
+ |
.I \-u |
106 |
+ |
option ignores input times when the sun is below the horizon. |
107 |
+ |
This is a convenient way to average daylight hours only with the |
108 |
+ |
.I \-A |
109 |
+ |
option or to ensure that matrix entries correspond to solar positions |
110 |
+ |
produced with the |
111 |
+ |
.I \-D |
112 |
+ |
option, described below. |
113 |
+ |
.PP |
114 |
+ |
The |
115 |
|
.I \-n |
116 |
< |
option may be used if no matrix output is desired. |
116 |
> |
option may be used if no matrix output is desired at all. |
117 |
|
This may be used to merely check the input, or in combination with the |
118 |
|
.I \-D |
119 |
|
option, below. |
122 |
|
.I \-D |
123 |
|
option may be used to specify an output file to contain a list of |
124 |
|
solar positions and intensities corresponding to time steps in the |
125 |
< |
weather tape where the sun is visible above the horizion. |
125 |
> |
weather tape where the sun has any portion above the horizon. |
126 |
> |
Sun radiance values may be zero if the direct amount is zero on the input. |
127 |
> |
Sun modifiers and names will be indexed by the minute, numbered from |
128 |
> |
midnight, January 1st. |
129 |
> |
If a hyphen ('-') is given as the argument to |
130 |
> |
.I \-D, |
131 |
> |
then the sun descriptions will be directed to the standard output. |
132 |
> |
This implies the |
133 |
> |
.I \-n |
134 |
> |
option just described. |
135 |
> |
If the |
136 |
> |
.I \-M |
137 |
> |
option is given as well, it will be used to record the modifier |
138 |
> |
names used in the |
139 |
> |
.I \-D |
140 |
> |
output, for convenient input to |
141 |
> |
.I rcontrib(1) |
142 |
> |
and |
143 |
> |
.I rfluxmtx(1). |
144 |
|
.PP |
145 |
|
By default, |
146 |
|
.I gendaymtx |
162 |
|
using a similar transform. |
163 |
|
.PP |
164 |
|
The |
165 |
+ |
.I \-i |
166 |
+ |
option specifies the actual capture interval in minutes of the original |
167 |
+ |
weather data. |
168 |
+ |
Please see the man page for |
169 |
+ |
.I gendaylit |
170 |
+ |
to understand this correction, which is applied only near sunrise and |
171 |
+ |
sunset. |
172 |
+ |
.PP |
173 |
+ |
The |
174 |
|
.I \-of |
175 |
|
or |
176 |
|
.I \-od |
206 |
|
based on Jean-Jacques Delaunay's original gendaylit(1) implementation. |
207 |
|
Greg Ward wrote the final parameter parsing and weather tape conversion. |
208 |
|
.SH "SEE ALSO" |
209 |
< |
dctimestep(1), genBSDF(1), gendaylit(1), gensky(1), genskyvec(1), |
210 |
< |
rcollate(1), rcontrib(1), xform(1) |
209 |
> |
dctimestep(1), genBSDF(1), gendaylit(1), gensdaymtx(1), gensky(1), |
210 |
> |
genskyvec(1), genssky(1), |
211 |
> |
rcollate(1), rcontrib(1), rfluxmtx(1), rmtxop(1), xform(1) |