Entities, states and scales
Part 2 of the ODD. Field names below refer to serializable state, not future classes proposed in an architecture.
Agents and brood
- Adult: id/colonyId, kind, x/y/z position, angle/pitch, support normal, speed, energy, health, age, food load and social crop. Body and trajectory use model spatial units; energy/health are indices; age uses model days. There is no universal conversion to millimeters, joules or real days.
- Worker: caste, role, traits, thresholds, task, memories of visited entrances and edges, local route, contact/reversal, and soil/brood/waste loads. Caste and genes affect parameters; no central intelligence distributes routes.
- Genome/parentage and, when enabled, learning policy/trace, chemical signature, odor disguise and encounter state are individual.
- Brood: id, age, kind, position/node, carrier, genome/fertilization and optional development/cocoon records. Stage follows development state; carried brood use the carrier’s position in the relevant couplings.
- Alates, queen, male and workers follow different update branches. The queen is not a larger worker using the same foraging routine.
Colonies and habitat
- Colony: agents, brood, food, colony state, reproductive resources, waste, founding, genetics, profile-dependent health/fertility/seasonality, counters, colonyId and parentColonyId. Up to four colonies share one habitat.
- Each colony has its own RNG and resources. Daughter colonies share terrain, vegetation, outside food, predators, climate, gases, fields and tick by reference. The same habitat is not updated once per daughter.
- Nest: nodes with x/y/z/r/type/colonyId, links, widths and revision. The implicit field and obstacles define support/passability; the rendered mesh is derived.
- Soil: removal, loads, deposits, aggregates, plugs, collapses and balances. One parcel represents aggregated material, not each real physical grain.
- Landscape/plants/patches/predators and ecology include water, biomass, health, available resources, pursuit memory, and demonstration aphids and mimicry.
Spatial fields and units
- Pheromones: 40×26 surface X/Z values, spacing 0.5. Index i=z×40+x; this field has no Y axis. Quantity/concentration is abstract chemistry. With equal cells, conservation can be checked by summing values.
- NestOdors: quantities per node and reference odor channel, volumes and emission/evaporation balances. This is not the surface pheromone grid.
- Microclimate: 20×8×13 cells, depth 4.2. Water is a porous quantity in field units; water/capacity is 0–1 saturation, distinct from relative humidity. Temperature uses model-reference °C, without calibrated thermal properties.
- Gases: volume, oxygen and carbon per compartment, pressure/flow and balances. oxygen/volume and carbon/volume are fractions; the interface shows percentages. Quantities have not been measured in liters/moles, and pressure is not in pascals.
Time, space and extent
The surface geometric box occupies approximately 20×13 units, with Y vertical and soil below the procedural surface. Agent/intervention centers are constrained by BOUNDS: X±9.3 and Z±5.8. Radii, terrain and support clearances use the same abstract scale. A larger visual mesh does not increase model resolution.
Tick is an integer; 100 ticks = 1 model day. Adult age increases by 0.01 per tick; brood development can be modulated by food, temperature and profile. There are local chemical/physical substeps and systems integrating only every 10 ticks. Interface acceleration executes more ticks; it does not replace 100 steps with one chemical step lasting 100 units.
Session and observations
A session stores scenario A/B, initial, interventions/replay, running, clock and a partial advance target. Snapshots are JSON data, without DOM or Three.js objects. WeakMap caches, neighborhoods and meshes are rebuilt and are not authoritative save state.
Chart history retains 500 censuses, normally 25 ticks apart. The optional daily series retains 12,000 samples per scenario, with collection start and discarded counts. These are instantaneous closing observations, not daily averages or reconstructed data. Model version, seed, profile and intervention order are part of provenance.