CityScope / CS_Simulation_GAMA

Agent Based Simulation platform for CityScope
GNU General Public License v3.0
31 stars 21 forks source link

People Behavior #102

Closed agrignard closed 4 years ago

agrignard commented 4 years ago

Right now the behavior is very simple as it was to illustrate a static map. We can complexify it but we need to be sure why as it will also complexify the story telling and the visualization.

2) Visualizing working/life behaviour. We can start with a simple 3 types of people: People that works from home, people working in the office, people working in shops. All the agents has 5 time steps:

-People that works from home: Home - Home - Shopping - Home - Home -People working in the office: Home - Work - Shop - Work - Home -people working in shops: Home - Shop - Shop - Shop - Home

agrignard commented 4 years ago

First version of the 3 profile (people are commuting but they don't stay in the shop/office, etc) this is the next step (again it will change the clarity of the model but I will try to see how it looks)

Screenshot 2020-05-06 at 11 54 57
LAAP commented 4 years ago

Hi @agrignard ,

This is fantastic!!! Regarding movement; I am agnostic about people staying at the work or home. I have to run it and see the "feeling of it". However, now that Quarantine people will be staying at home, Maybe that already tells/changes the story... Not sure... The stay at the "building" can be just few "cycles" (5 cycles, for instance). So the agent stays 5 cycles, "dancing inside" of a "building" as soon as it touch it, and after jumps into the next step...

Regarding the colors, I suggest to keep red for infections. So maybe we can stick with a "pallet" of colors related with the "Land use of each profile":

-HomeWorker: Bluish -OfficeWorker: Yellowish -ShopWorker: Orangish

agrignard commented 4 years ago

Actually I coudl keep the same color as residential , shop and office? If you have a good palette for all the color, that can help. We start to have lots of color meaning different thing. we need design skills now for the color. Everything is a parameter.

If you give me some rgb i can easily put it

LAAP commented 4 years ago

Hi @agrignard ,

As you know, design is all about "testing". Also, as you know, the pallets change a lot when you "deploy it" in the design. So I we can try with:

-HomeWorker: (194,171,20) -Home: (255,216,0)

-OfficeWorker: (3,129,166) -Office: (0,195,251)

-ShopWorker: (192,104,40) -Shops: (250,126,5)

agrignard commented 4 years ago

Why not

Screenshot 2020-05-06 at 22 13 50

If you want to see the results you can change this part of the code

map<string, rgb> buildingColors <- ["residential"::rgb(255,216,0), "shopping"::rgb(250,126,5), "business"::rgb(0,195,251)];

and

map<string,rgb> color_per_type<-["homeWorker"::rgb(194,171,20),"OfficeWorker"::rgb(3,129,166),"ShopWorker"::rgb(192,104,40)];
LAAP commented 4 years ago

@agrignard ,

I can't find the model with the new colors. Your last push in the Github says that was made 14h ago. Please, push it again

agrignard commented 4 years ago

Practicing my design skills ;-)

Screenshot 2020-05-07 at 09 53 07
agrignard commented 4 years ago

Using Grid design (inspired by @yasushisakai book)

Screenshot 2020-05-07 at 14 58 45
agrignard commented 4 years ago

This version of people behavior is now implemented