How to use grasshopper to simulate the flow of buildings?

Source: Internet
Author: User
In Beijing Design week to see, want to ask how to achieve

Reply content:

First of all, the problem with the main question doesn't look like an abortion simulation.
Comparison of Visual (visuality) analysis in spatial syntax (space syntax)
=====
There's just one lesson to teach something like this.
Whether it's in processing or GH, python/c# can be achieved.
The basic concept is to utilize agent-based System
In a big street event,
Can be divided into areas

people/Food vendors/drinks vendors/toilets/performance stages

Where one can divide the area into
A. have a clear objective(I just want to go to the show, I just have to go to the bathroom)
B. Just hanging out with random(On the toilet, go to the show, then run to eat food)

In the Java language,
Each point represents a person, and at the time of creating this point
A group of people will be instilled with a random demand (food vendors/drinks vendors/toilets/performance stages)
Group B is evolving over time and will change demand

Also set in the class that belongs to the person, after a period of time if the demand is not satisfied, then will die (or leave the field)

Attach a mock-up look

You see that the smallest point is the crowd simulation, a little bigger is the toilet and food and beverage vendors, the biggest is the performance stage
The top left corner is
D-map-The place where people die is marked by a transparent light gray, and the more people die, the more white it is, indicating the worst liquidity in that place.
Density-it shows which area is the most crowded
Counter--It was shown that the vendors had been patronized several times
Path-the route where all the people walk is connected by a dot line
Panic-is a simulation of the evacuation of the population astigmatism, you can see how people are dispersed, about how much time spent



It takes a lot of space to explain the whole ...
If more people are concerned, then come and have a good time to play an article @ Meng Meng Master
There are big God hint with GH in the Quelea plug-in, so I carried out the test and recorded a test process, this is a pit, has not finished, first occupied re-fill.

This article is just a brick, you big God, ask for advice
—————————— Split Line ————————————————
First of all Baidu Quelea is this
Quelea Red Mouth cuella is what creature Quelea Red Mouth Cuella is what creature

According to the urine of the GH plug-in, they and its function must have a commonality, so, from Wikipedia found this

Software Introduction

agent-based Design for Grasshopper
+ A New paradigm for 3D modeling utilizing agents.
+ Assign forces and behaviors to systems of agents to create interactions.
+ Utilize any data to drive the system.
+ Easily debug your system by displaying individual force vectors.
+ High performance, parallel algorithms, spatial data-structures.
+ Write your own custom forces, no coding required.
+ Open Source framework for others to build custom behaviors.
+ Boid Forces:cohese, Separate, Align, & View.
+ contain Agents within Brep, Box, Surface, and polysurface environments.
+ Forces:path Follow, attract, contain, Surface Flow, Seek, Arrive, Avoid obstacle, Avoid Unaligned collision, Sense Imag E, Sense Point, & + to come.
+ behaviors:bounce contain, Kill contain, Initial velocity, Eat, Set Velocity, & more to come.


Future work:

+ Behaviors to drive simulations of people and vehicles.

+ Temporal inputs can change the actions of the system over time.

From the GH official online pick down, anyway not how to understand, but the last two sentences is quite interesting, the first is not referring to the landlord of this problem.
Download--Omit
Red Mouth Cuella Interface

Sub-directories
Agent rules \ Emitters \ environment \ particle rules \ Quelea \ utility \ Veh ...
Then I went down to the case file in the software description
We simplified the case file, and after removing the extra settings it became We simplified the case file, and after removing the extra settings it became
From this file it is easy to see that this file is actually divided into several parts.
guessing the middle part should be the core of the calculation, and constantly reduce the computational component until it can be calculated as well. Guessing the middle part should be the core of the calculation, and constantly reduce the computational component until it can be calculated as well.
It can be guessed that this is called the system of the operator should be the core, all the set conditions input into the system, and then combined with the previous software interface several categories of headings, basic can understand some information. It can be guessed that this is called the system of the operator should be the core, all the set conditions input into the system, and then combined with the previous software interface several categories of headings, basic can understand some information.

The system needs to satisfy the five elements of the Quelea Settings\emitters\environment\timmer\quelea, and then we find out the group analysis of the five elements from the menu bar.
Quelea,
In this group, we found the 4 operators used in the case file, such as

Setting
and particle Quelea Settings The same group of two CONSTURCT agent and construct vehicle, so I they pulled out for a walk, immediately found the same name of the part, basically can be understood as about the red Beak bird's property settings.


This time I set the blind to play, please ignore, but you can understand the meaning of the various properties in this way, the self-understanding here.

System and Engine

The two should be a constant connection bar, there is no other known as the system interface, why not directly integrated into a

Deconstruct with the previous three echoes

Cut the crap and pull out for a walk.

The first three should be corresponding to the above, the production of particles (birds-so called strange, suddenly remembered to think of the particles as if the professional) of the various properties, should be able to be combined with the display of GH with a visual map, specific no research, combined with the case of landlord problems, It should be with these component.

The last three should look similar, the difference from the previous may be mainly in the previous extraction of attributes, followed by the extraction of elements directly. This is what I felt after pulling out for a walk.


Emitter

It is called the emitter, that is to say, the shape of the original emitter (if I come to Han I think it should be called the red beak bird nest. )

Casually experimenting with one of the box's nests, the birds should be fired from the bird's nest surface and should appear to be evenly fired (not confirmed).

Environment

In the same way as on the transmitter, it feels good to understand that the birds are flying boundaries.
It is worth noting that the following two, this gives the landlord this case simulation provides the possibility.


After that, there are three sets of arithmetic units left

The agent rules literally should be a set of particles.

The case file does not use these operators, pull out to walk, find a half-day to find the interface.

After that, all the birds took off like icons, and it was amazing.

And then pull out another one to try

All particles are net target point flight.

And then there's a different one. Eat Behavior Eat behavior
Well, this is very strange, and I didn't read it.
The only one left, seems to mean that all the others have been eaten, at present there is no rule to try out, waiting for the great God detoxification. The only one left, seems to mean that all the others have been eaten, at present there is no rule to try out, waiting for the great God detoxification.

Utility and Veh ...


Looks like these two are going to look together. Deconstruct Quelea Network

The first one is to turn the flock into a bird.

Quelea network, did not understand, it seems that each bird into a group, the solution read.

Apart from

Post three op amps
It is only as if the image has affected the particle properties and has not understood what happened.

Not to be continued
The next step will be combined with the problem of the landlord experiment.

———————————— Split Line ————————————
Unresolved issues
1, utility and Veh group operators
2, the connection method (the landlord's figure should be like the highest ticket set and then according to the density of the particles out of the figure
3. The routines of this arithmetic device

—————————— Split Line ——————————————
Do not shame to take out their own public number, dedicated to record their own learning trajectory.

These days seem to be suddenly concerned about the more people, landlord recently busy, pits time roughly in the early July, at the same time the material is accumulating, strive to be able to cycle
Everybody, throw the Jade . You have to throw Jade has a grasshopper plug-in called Quelea, thank you
Processing or something. GH, there's a plugin called Kangaroo.
Can do this analysis, but do not know how the specific effect

After the reply, try to answer the private thought this is the abortion simulation.
That's so complicated, isn't it indexing? Ask for a detailed answer ... Also curious about how this is done ... Remember as if there is a anylogic professional can do abortion simulation ... Before trying to use it to do station flow. Space syntax bar can be implemented with processing
Simulating sworm flow with processing

If you want to import GH, the next Gwal plug-in (like this. )
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.