Autodesk

software, architecture, sustainability, environmental design, architectural science...


Solar Access and Inter-Zonal Adjacencies

Hello there,

I've been using Matthew's script for incident radiation on multiple objects within a zone, which is very helpful. However, I've been trying to add the process of calculating Inter-Zonal Adjacencies and Solar Access Analysis to this script (both of which must be done previously for the script to give results) but I can't seem to find descriptions of these script commands. Do they exist? Is this the best approach?
Thank you. Your help is much appreciated. I'll be sure to post this script once it's complete.

daniel

(Olivier, thank you for your help in the earlier post)

GBXML AND NEW VERSION
RADcomponents script

IZA cmd

comment posted by Olivier :: 22 May 2007 - 5:49am

Daniel,

To run the IZA in the script, the command is:

cmd("calc.adjacencies")

Now the solar exposure gets nasty and was never able to get it straight. In theory, you should be able to use a command such as:

cmd("calc.solar.total", 2, 1, 0)

where the last 3 indexes are for the accuracy setting, and the optional ground and direct options.
My problem has been to be able to retrieve the data using the command:

sol = get("result.array", 12,12)

For some reasons, I am not quering the right data out of the array.

If that can be of help, Oliver Hans has been working on a script for solar radiation, and we attached a monthly array to it, so that we by-pass the Solar Exposure array intrinsinc to Ecotect, from which I cannot grab the rsults! I am attaching the script here.

Best,
Olivier

AttachmentSize
Solar_RADcomponents_Updated.scr3.13 KB

Possible fix for IZA/calc adjancencies

comment posted by CFC :: 25 October 2007 - 7:01pm

So I just tested something and it seems to work. I noticed that after I ran a simple script that only calc'd adjacencies (ran the IZA), and then aborted because it hung up at 9.4%, when I manually ran the IZA it defaulted to a sampling grid size of 0'-0". Without doing the math, I figure it will take approximately forever to finish at that level of precision.

So, a shot in the dark was to specify a level of precision (similar to other scripting commands) like this:

cmd("calc.adjacencies", precision, overshadowing)

where precision might be a value from 0 (forever) to some number higher than 0 (less than forever). This value seems to be inputted into the IZA grid size, so "0.5" for me works out to be 6 inches (in King George's system of measurements).

The second number seems to leave toggled (and therefore presumably calculates) overshadowing. I am not sure yet how to specify the adjacency tolerance; this variable seems to remain as whatever was manually entered in the IZA box.

It would be good to get some confirmation on this from Square One and or Oliver or Olivier.

IZA in Scrip

comment posted by Olivier :: 27 October 2007 - 4:33am

Hi Chris,

Actually, I have been hung up on this precise issue myself, whereas the IZA cmd just hang at 3.7% in my case...
I have not tried your workaround - hey! pretty good shot in the dartk! - but will give it a go over the weekend.

Let's see if Andrew has a fix...

Best,
Olivier

PS: did you get my last email?



Related websites

Translate This Site

User login