How can we use grasshopper to simulate the flow of people in a building?

Source: Internet
Author: User
I saw this during the design week in Beijing. I would like to ask how to implement the Design Week in Beijing. I would like to ask how to implement the reply content: first, the subject's problem does not look like a simulated flow of people.
It looks like visual analysis in space syntax.
=====
This time, I have just taken a course to teach something similar.
Python/C # in processing or GH can be implemented
The basic concept is to make it available Agent-based system
For a large street Activity
Can be divided

Persons/food vendors/beverage vendors/Toilets/stage performances

Which can be divided
A. Clear goals(I am going to see the performance, and I am going to the bathroom)
B. Idle(When the restroom crashes, you can watch the performances and eat food)

In Java
Every point represents a person, and when creating this point
People in group a will be instilled in a random demand (food vendors/beverage vendors/Toilets/performance stages)
Group B changes the demand over time.

At the same time, it should be set in the class belonging to the person. After a period of time, if the demand is not met, it will die (or leave)

Attached with a rough Simulation

The smallest point you see is crowd simulation. The bigger one is the restroom and food and beverage vendors, and the biggest one is the performance stage.
In the upper left corner
D-Map-the place where a group dies will be marked with transparent light gray. The more people die, the more white it will be, indicating that the place has the worst mobility.
Density-indicates the most crowded area
Counter-it shows that vendors have been visited several times
Path-connects all groups through a dot line
Panic-simulates the astigmatism of the evacuation crowd. You can see how people dispersed and how much time they spent.



It takes a lot of time to complete the explanation...
If more people are interested, come back and try again later
A great god prompted me to use the quelea plug-in GH, so I did the test and recorded the test process. This is a pitfall, which has not been completed yet.

This article is just a brick. Please consult
---------- Split line ----------------
First, Baidu quelea is like this.
What is quelea's creature? What is quelea's creature?

According to the urgency of GH plug-ins, they and their functions must have commonalities, so we found this from Wikipedia

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 inpidual force vectors.
+ High performance, parallel algorithms, spatial data-structures.
+ Write your own custom forces, no coding required.
+ Open source framework for others to build M 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 Image, Sense Point, & more 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.

I picked it from the GH official website. I didn't understand it, but the last two sentences are quite interesting. Does the first one refer to the issue of the landlord.
Download -- omitted
Interface of red-mouth quillia

Subdirectory
Agent rules \ emitters \ environment \ particle rules \ quelea \ utility \ veh...
Then I went to the case file in the software instruction.
We simplified the case file and deleted the redundant settings and then changed We simplified the case file and deleted the redundant settings and then changed
From this file, it is easy to see that this file is actually divided into several parts.
The middle part of speculation should be the core of computing, and computing components will be constantly reduced until such calculation can be performed. The middle part of speculation should be the core of computing, and computing components will be constantly reduced until such calculation can be performed.
Based on this, we can guess that this system generator should be the core, and all the set conditions should be input into this system, combined with the categories on the previous software interface, you can get some information. Based on this, we can guess that this system generator should be the core, and all the set conditions should be input into this system, combined with the categories on the previous software interface, you can get some information.

System is an operational requirement and must satisfy the quelea settings \ emitters \ environment \ timmer \ quelea five elements. Then, we can find out the group analysis of these five elements from the menu bar.
Quelea,
In this group, we found the four schedulers Used in the case file, such

Setting:
In the same group as particle quelea settings, there are two consturct agents and construct vehicle. So I pulled them out and immediately found the same name, it can be basically understood as the attribute settings of the Red-mouth bird.


When this is the case, ignore it. However, you can use this method to understand the meaning of each attribute.

System and engine

The two are always connected. At present, there are no other interfaces called system. Why not integrate them into one directly?

Deconstruct echo with the first three

A little nonsense.

The first three should correspond to the above. The various attributes of the particles produced (birds -- such as strange, suddenly think of as specialized particles, it should be able to combine the display that comes with GH to produce a visual graph. The specific figure is not studied, and the component should be used in combination with the case in the landlord's question.

The last three items should look similar. The difference with the previous one may be that the attributes are extracted first and then elements are extracted directly. This is what I think when I pull it out.


Emitter

The translation is called a transmitter, that is, it should be the shape of the original transmitter (if I come to Chinese, I think it should be called the braised Bird's Nest .)

If you experiment with the nest of a cuboid, the birds should be emitted from the surface of the nest, and it looks like they should be uniformly transmitted (without proof ).

Environment

Similar to the upper-layer transmitter, it is easy to understand that it is the boundary for birds to fly.
It is worth noting that the latter two provide the possibility for the simulation of this case.


After that, three groups of schedulers are left.

The agent rules should be a particle setting literally.

The case file does not use these compilers. Pull them out and find the interface for half a day.

After the connection, all the birds fly with the icon, which is amazing.

Then pull another one to try it.

All particles fly at the target point on the net.

Then there is a different Eat behavior Eat behavior
Well, this is very strange, and it is hard to understand it.
This is the only one left. It seems that all others have been eaten. At present, no rule has been found, waiting for the gods to detoxify. This is the only one left. It seems that all others have been eaten. At present, no rule has been found, waiting for the gods to detoxify.

Utility and veh...


It seems that both of them need to see the deconstruct quelea network together.

The first is to turn birds into birds one by one.

Quelea network. I don't understand it. It seems that every bird has become a group and read it.

Besides

The last three schedulers
We can only see that the image affects the attributes of particles, but we don't understand what happened.

To be continued
The next step is to conduct an experiment based on the questions of the landlord.

------------ Split line ------------
Unsolved Problems
1. utility and veh group aggregators
2. Connection Mode (the main figure of the building owner should be a graph set based on the particle density as the top ticket.
3. routines of this timer

---------- Split line --------------
I am ashamed to show my own public account, which is used to record my learning path.

Over the past few days, it seems that there have been more people who are suddenly paying attention to it, and the landlord has been busy recently. The time for filling in the traps will be roughly in the early July S. At the same time, the materials are also accumulating, striving to be cyclical.
You need to hurry and lose Xiaoyu. Dear Valued valued customer, there is a grasshopper plug-in called quelea. Thank you!
Processing or something. GH has a plug-in named Kangaroo.
This can be analyzed, but I don't know how it works.

After the answer is answered, try again and think this is a simulation of the crowd.
So complicated, isn't it indexing? Please answer in detail ...... Also curious about how to do this ...... I remember that anylogic professional was able to simulate the flow of people... I tried to use it for the station flow... the space syntax can be implemented using processing.
Use processing to simulate sworm Flow

If gh needs to be imported, 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.