Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
3

how do I use the -5 option of gendaymtx?

asked 2015-09-02 14:30:29 -0500

stephenwaz gravatar image

when I enter:

gendaymtx -5 -m 6 -d -of my.wea > my.smx

program aborts and the standard usage message prints to stderr

when I instead try:

gendaymtx -5 -d -of my.wea > my.smx

or:

gendaymtx -m 6 -5 -d -of my.wea > my.smx

the program seems to run fine, however examining the output shows non zero values for every bin that match the output of:

gendaymtx -m 6 -of my.wea > my.smx

if I run gendaymtx without the -5 option:

gendaymtx -m 6 -d -of my.wea > my.smx

I get the expected 0's in all but the 3 bins closest to the sun.

I'm running Mac OS Mavericks and I tried this with a gendaymtx compiled from HEAD in May as well as with the precompiled installer 5.0.a.4.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2015-09-02 17:27:20 -0500

updated 2015-09-02 18:34:06 -0500

The "-5" option to gendaymtx is there specifically for the 5-phase method, as you probably know, and isn't properly documented. Also undocumented was a recent change (last December) when an argument was added to this option for the angular subtense (diameter) of the solar disk, which was formerly fixed at 0.53 degrees. This was added to accommodate some anticipated need that escapes my memory, but Andy McNeil would know.

Your errors are all due to the command parsing being messed up because of the missing argument to -5. If you want the old behavior, use "-5 0.53", ugly as that is!

edit flag offensive delete link more

Comments

Since the 5-phase tutorial is the only documentation for the gendaymtx '-5' option and it hasn't yet been updated, I have now added a little error-checking so a message will be printed when '-5' is missing its argument.

GregWard gravatar image GregWard  ( 2015-09-02 17:53:36 -0500 )edit
1

I think we added the angular subtense to allow for the sun to be modeled larger to ensure that it appeared in small renderings when assessing glare. Either that or we wanted to use the 5-phase method in non-terrestrial settings.

Andyrew gravatar image Andyrew  ( 2015-09-06 19:34:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2015-09-02 14:30:29 -0500

Seen: 258 times

Last updated: Sep 02 '15