# Parallel input in Sunlight Hours Analysis component

Hello Mostapha,

what is for the input Parallel in Sunlight Hours Analysis component?

It need to be set to True if we have more Sunlight Hours Analysis components (one each object to analyse) working at the same time? Like in the image I attach.

Actually i am working on a simulation to find the optimal reciprocal solution of three buildings (using Galapagos) so each time, in each Sunlight Hours Analysis component one building is the geometry and the other two are the context.

Thank you

Francesco

Francesco,

Parallel component controls number of cores…so False is one core and True is all cores in your PC

Michal is right about the parallel option.

For the optimization though, if you are using Galapagos (which is a single-objective solver) I’m curious to know why are you calculating the result separately for each skin? I assume you add up the result into a single number. If that is the case you can connect all the geometries to geometry and leave the context input.

You may also want to try Octopus (http://www.grasshopper3d.com/group/octopus) and solve it as a multi-objective problem.

Apparently you are intensively using the bug these days! That’s pretty cool. As I said if you want to fully enjoy the use of parallel option let me know to send you a newer version for test.

Best,

Mostapha

Francesco,

It seems that we got similar interest in Environmental studies (Ladybug, Galapagos …or Octopus). Please share if possible your final results and let us know if you managed to achieve your goal,

Michal

Michal,

thank you for the info.

Francesco

Hello Michal,

ok I will!

Best

Francesco

Hello Michal,

as we said few time ago I post a video about the studies i am doing (it is a very short part of all the simulation). The goal is that to find the optimal layout of three buildings inside a plot. The scope is that to have the maximum direct sunlight hours hitting the facades of the three buildings. So I used the Ladubug Sunlight hour component (in the way it is possible to see at the beginning of this post) to obtain the sunlight hours for each building and in each of this one building is the geonmetry and the other two are the context (after that I got to know that it is possible to do everything also with only one component and not three). So I used the Galapagos evolutonary solver used in Maximize mode. I am still working on this, in the videao you can see the three towers ca just shift inside the plot, in a new simulation I am working on they can also rotate.

Francesco

Hi Francesco! This looks pretty nice! Let me know when you have the final version so I’'ll post it on Ladybug’s Facebook page to get more people to watch it! -Mostapha

Hi Francesco,

Thanks for your interesting movie. Looks very interesting. I got some questions:

Q1. Do you use any function for galapagos input?

Q2. at which setting are you running your galapagos?

Q3 How did you set up a limit for building to be moved within the plot?

Hello Mostapha,

I am working on a research project. I have three buildings with different height that I have to place on a plot. The goal is that the building create as less as possible overshadowing on each other. So I am calculating the result separately because each time one building is the Geometry (input) and the other two are the Context (input). If I would calculate together I have to use all the buildings at the same time as Geometry and as Context, so I thought that if a building is Geometry and Context at the same time the calculation can get wrong. Isn’t it?

Thank you for the indication about Octopus, I will see about it.

Well yes I am using quite a lot your tool recently, thank you for your work. I am preparing the materials for a workshop about these topics I will tutor in my university and I think I will use LadyBug and Diva. By the way there are limitations in the use of your plug-in?

Best

Francesco

You don’t need to connect them one by one separately. Ladybug does automatically solve the self-intersection. As I said it will be probably easier to help if you upload the definitions or email them to me.