Brownian_Stage_3
Stage 3: A Molecule moves randomly in a closed Region. Multiple Molecules moving in an Region spread approximately uniformly through the Region. Tunnels connecting multiple Regions allow Molecules to spread uniformly through the combined Regions. A Monitor tracks the distribution of Molecules in the sub-Regions.
Agents: New agent shapes created for the Region agent to enable the Monitor agent to track distribution of Molecules in each sub-Region:
Sub_Region_1
Sub_Region_2
Sub_Region_3
Tunnel
Behavior: Add polling to Monitor: poll sub-regions to maintain counts of Molecules in each sub-region. Add calculations to Monitor to count Molecules in each sub-region and size of each sub-region. Add simulation properties for these counts:
@Molecules: agents of type Molecule
@Reg_1_mols: Molecules in Sub_Region_1
@Reg_2_mols: Molecules in Sub_Region_2
@Reg_3_mols: Molecules in Sub_Region_3
@Tunnel_mols: Molecules in Tunnels
@Region_1: Sub_Region_1 count
@Region_2: Sub_Region_2 count
@Region_3: Sub_Region_3 count
@Tunnels: Tunnel count
@Total_region: count of all region agents
World Construction:
Create worlds with sub-regions, overlaid with the Region agent. This permits Molecules to move randomly on the Region agents and permits the sub-regions to count Molecules that are in each sub-region.
Project: Brownian_Stage_3
Link: https://www.agentcubesonline.com/project/60566
Data | |
---|---|
Created: | February 8, 2016 |
Played: | 137 |
Agent: | 3 |
Rules: | 15 |
Methods: | 11 |
Parent Project: | 60564 |
false
Settings
New Project Name
Rename
Copy
Download
Show Project Report
Flag Project
Delete
Stage 3: A Molecule moves randomly in a closed Region. Multiple Molecules moving in an Region spread approximately uniformly through the Region. Tunnels connecting multiple Regions allow Molecules to spread uniformly through the combined Regions. A Monitor tracks the distribution of Molecules in the sub-Regions.
Agents: New agent shapes created for the Region agent to enable the Monitor agent to track distribution of Molecules in each sub-Region:
Sub_Region_1
Sub_Region_2
Sub_Region_3
Tunnel
Behavior: Add polling to Monitor: poll sub-regions to maintain counts of Molecules in each sub-region. Add calculations to Monitor to count Molecules in each sub-region and size of each sub-region. Add simulation properties for these counts:
@Molecules: agents of type Molecule
@Reg_1_mols: Molecules in Sub_Region_1
@Reg_2_mols: Molecules in Sub_Region_2
@Reg_3_mols: Molecules in Sub_Region_3
@Tunnel_mols: Molecules in Tunnels
@Region_1: Sub_Region_1 count
@Region_2: Sub_Region_2 count
@Region_3: Sub_Region_3 count
@Tunnels: Tunnel count
@Total_region: count of all region agents
World Construction:
Create worlds with sub-regions, overlaid with the Region agent. This permits Molecules to move randomly on the Region agents and permits the sub-regions to count Molecules that are in each sub-region.
Project: Brownian_Stage_3
Link: https://www.agentcubesonline.com/project/60566
Edit Description
Design