[Radiance-general] gendyamtx - cumulative results

Greg Ward gward at lmi.net
Fri Jun 7 16:06:28 PDT 2013


Oh, yeah, and the number used in total needs to match the number of days in the month, so I kind of blew it assuming January has 30 days in my example!  (Should have been "total -id3 -744".)  This works because gendaymtx outputs time steps as columns in the matrix (inside sort). The final output will contain 3 ASCII triplets for each patch, so you don't need to change anything for different -m options to gendaymtx.  You just need to make sure your matrix dimensions are expecting the right number of patches.

Best,
-Greg

Sent from my iPad

On Jun 7, 2013, at 2:20 PM, Jack de Valpine <jedev at visarc.com> wrote:

> Hi Greg,
> 
> Excellent! This is what I was wondering about as a solution.
> 
> I will give this a try.
> 
> Thanks,
> 
> Jack
> 
> Sent from my Verizon Wireless 4G LTE DROID
> 
> 
> "Gregory J. Ward" <gregoryjward at gmail.com> wrote:
> 
> Actually, I just realized that you could shortcut this quite a bit by summing together your time steps out of gendaymtx.  You should be able to run:
> 
> gendaymtx -od jan.wea | total -id3 -720 > jan.sky
> dctimestep  winterior1w.vmx blinds30.xml westelev.dmx jan.sky > win1w_jan.hdr
> 
> Again, you'll need to run dctimestep for each of your windows and sum the results, but it should be a whole lot quicker this way.  If you want to sum up a whole year, just change the -720 option on total to -8160 (or whatever).
> 
> Cheers,
> -Greg
> 
> > From: Greg Ward <gward at lmi.net>
> > Date: June 7, 2013 11:44:02 AM PDT
> > 
> > Hi Jack,
> > 
> > I think the easiest method would be to extract the hours you want to accumulate from your WEA file, send them through gendaymtx and dctimestep like so:
> > 
> > gendaymtx -of subyear.wea > subyear1.smx
> > dctimestep -if -n 720 -o win1w_%03d.hdr winterior1w.vmx blinds30.xml westelev.dmx subyear1.smx
> > pcomb win1w_*.hdr > win1w_sum.hdr
> > rm win1w_*.hdr
> > 
> > This will generate 720 images corresponding to a month's worth of hourly inputs from window #1 on the west elevation.  The above steps (except the first) will have to be repeated for your different windows.  If you do a year at a time, you'll have to sum all these images together in batches, since pcomb only handles up to 1024 images at a time (so long as you don't run into system limits first).
> > 
> > I hope this addresses your question.  To be honest, I've never done anything like this and I'm not entirely sure I got it right.
> > 
> > Cheers,
> > -Greg
> > 
> >> From: Rob Guglielmetti <rob.guglielmetti at gmail.com>
> >> Date: June 7, 2013 11:26:03 AM PDT
> >> 
> >> Guess I'd better read that thing. Initially, it did not support 3 phase. Hopefully Andy or Greg or someone else who actually knows what the hell's going on can answer your question. =8-)
> >> 
> >> - Rob
> >> 
> >> On Jun 7, 2013, at 12:15 PM, Jack de Valpine <jedev at visarc.com> wrote:
> >> 
> >>> Sorry, but why not? I think Andy demos (for photocells) in the last version of his tutorial...
> >>> 
> >>> -Jack
> >>> 
> >>> On 6/7/2013 2:13 PM, Guglielmetti, Robert wrote:
> >>>> I think the simple answer is that gendaymtx currently doesn't support 3 phase. Weah.
> >>>> 
> >>>> - Rob
> >>>> 
> >>>> -----Original Message-----
> >>>> From: Jack de Valpine [mailto:jedev at visarc.com]
> >>>> Sent: Friday, June 07, 2013 11:24 AM
> >>>> To: Radiance general discussion
> >>>> Subject: [Radiance-general] gendyamtx - cumulative results
> >>>> 
> >>>> Hello All,
> >>>> 
> >>>> If I want to show cumulative results (images), eg lux hrs per year or lux hrs per month, what is the right way to do this for the 3 phase with dctimestep. So for example with an annual sky matrix generated with gendaymtx, do I sum this up somehow and then apply?
> >>>> 
> >>>> Thanks,
> >>>> 
> >>>> -Jack
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130607/4d1c9449/attachment-0001.html>


More information about the Radiance-general mailing list