Utilisateur:Mzero/Sandbox/Agents

Revision as of 05:56, 30 March 2013 by Mzero (talk | contribs) (Created page with "GlassBox Logo A water-agent travelling accross a pipe ''Agents'' are the heart of the simul...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 05:56, 30 March 2013 by Mzero (talk | contribs) (Created page with "GlassBox Logo A water-agent travelling accross a pipe ''Agents'' are the heart of the simul...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Water-agent.png
A water-agent travelling accross a pipe

Agents are the heart of the simulator GlassBox. An agent is a packet of informations travelling accross a road.

Pipe-based agent

Represent all underground agent such as water and power. They have to be generated by a power plant or a pump. Those agents are travelling randomly via pipe but they will prefer empty pipes. Each agent contain a certain amount of ressource and are used by building to refill their stock.

  • Example : A power-agent got 10MW and cross a house that have 2MW in stock and can store 6MW max. After its passage the power-agent remain 6MW.

Every building require power and water. If a building is not reachable by agents that will exhaust its ressources and it will stop working.

The sewage agent is a bit different and is generated by buildings when it use water. Sewage-agent have to be treated or rejected in nature using Sewage Outflow Pipe or Sewage Treatment Plant.

Road-based agent

Represent all road users such as cars, trucks, ambulances, pedestrians or even streetcars. Pedestrians

Those agent will try to take the shortest path to their objective when enterring a queue. Each section of road (you can see them by using the road upgrading tool) is a queue.