Farm and Weather#
This page gives the models of the farm: the crops, the soil water, the weather and the farm traffic.
Sources: Game/Source/Acres/AcresFarmModel.h (crops and soil water), AcresFarmRuntime.h (the runtime of the game), AcresEnvironmentModel.h (weather, sky and clock), AcresNpc.h (farm traffic). Parameters: Game/Content/Simulation/farm.json and environment.json.
Crops#
Each field has one crop: corn, soybean or potato. The crop map of the season is ACRE/crops_2026.json (-CropSeason=). Map/game_crops.py writes it from the 2026 crop map and the daily temperatures of the Purdue Mesonet station ACRE. A field with no confident crop call keeps its default crop. The crop grows with growing degree days:
Source: DegreeDays and Growth in AcresFarmModel.cpp.
| Crop | \(T_{base}\) | \(T_{cap}\) | \(\mathit{GDD}_{maturity}\) | Yield |
|---|---|---|---|---|
| Corn | 10 °C | 30 °C | 1400 °C·day | 1.1 kg/m² |
| Soybean | 10 °C | 30 °C | 1100 °C·day | 0.35 kg/m² |
| Potato | 7 °C | 29 °C | 1300 °C·day | 4.0 kg/m² |
Source of the values: the block crops of farm.json.
The start growth is mature by default. -CropStage=date gives each field the degree days from its planting date to the session date. -FarmInitialGrowth=X gives a fixed growth. A wheel or the body of a vehicle crushes the crop that it passes over. The harvester header cuts it.
The marks of the farm (tillage, seeding, spraying, ruts and crop damage) stay from one episode to the next. The game saves them with the session (farm-*.json).
Soil Water#
The water model is WaterGrid: a 2D grid of two-layer soil columns of 4 m. The grid of the tile has 382 x 382 cells (ACRE/field-grid.json). The soil units come from SSURGO (ACRE/soil_units.u8, ACRE/soils.json).
| Process | Model |
|---|---|
| Layers | A surface layer of 0.3 m over the subsoil to 1.5 m. |
| Infiltration | Green-Ampt. Bare and row-crop cells infiltrate at most at a sealed rate (rain crust). Grass and woodland use the SSURGO rate. |
| Drainage | Deep percolation with a cap from the drainage class. Tile drains at 9.525 mm/day on poorly and somewhat poorly drained cropped cells. |
| Evaporation | 0.35 of the Priestley-Taylor potential evaporation (evaporation_factor). |
| Run-off | Diffusive-wave overland flow, at most 1.5 m/s. |
| Wheels | A fine sub-grid of 0.25 m in the cells that wheels crossed. |
Source of the values: the block hydrology of farm.json. The game runs the water grid on the thread AcresWater. The start water is halfway between the wilting point and the field capacity (-FarmInitialTheta= changes it).
The wheels read the water of the grid. Thus rain makes the soil under a wheel wetter and softer.
In ACRES Core, the soil water of the tile comes from the condition set of the environment (Batch.set_conditions). The regional ground has soil-water columns only after Batch.set_weather.
Weather and Clock#
AcresEnv::Model turns a settings block into a state at each step. The state has the sun position, the irradiance, the air temperature, the dew point and the humidity. It also has the wind, the rain, the visibility, the evaporation and the water film on the surface.
| Quantity | Model |
|---|---|
| Sun position | NOAA solar position |
| Clear-sky irradiance | Haurwitz (1945) |
| Cloud transmission | Kasten and Czeplak (1980) |
| Diurnal temperature | Parton and Logan (1981) |
| Humidity | Magnus (Alduchov and Eskridge 1996) |
| Evaporation | Priestley-Taylor with FAO-56 constants |
| Visibility | Koschmieder |
| Variability | Ornstein-Uhlenbeck updates from a seeded SplitMix64 generator |
The same seed and the same step sequence give the same weather. The site is at latitude 40.47° and longitude -86.9925° (environment.json). The default clock starts on the day of the computer's clock ("date": "today") at 10:00 local time. The UTC offset follows US Eastern time: -4 h in summer time, -5 h in winter. Set the weather with the -Env options (Game Command Line).
- With
temperature.normalsset totrue, the low and the high of each day are the 1991-2020 normals of Lafayette (LAF).-EnvLowC=and-EnvHighC=set fixed values. - With
utc_offset_hset to"us_eastern", the offset is -4 h from the second Sunday of March to the first Sunday of November, else -5 h. - A weather replay file is an environment file for one real day at ACRE.
Data/Weather/ground_conditions.pywrites them intoResults/Weather/Replay/env_<date>.jsonfrom the record of the Mesonet station. A replay file does not set the soil water. - The deciduous trees follow the day of the year. Leaf-out is from 15 April to 10 May, fall color from 25 September to 25 October, leaf fall from 20 October to 15 November. These dates are assumed typical dates for central Indiana. The conifers keep their needles.
Snow and Ice#
-EnvSnow=MM and -EnvIce=MM put snow and glaze ice on the ground at the start (mm of water). -EnvFrozenSoil (or snow.frozen_soil in environment.json) makes the soil frozen for the session. The model has one snowpack for the site. The wheels of the game and of ACRES Core use one rule (AcresSim::ApplyWinter and PrepareWheel in Game/Source/Acres/AcresVehicleModel.cpp). Core gets the winter of an episode from set_winter (snow depth and density, ice share, frozen soil).
| Process | Model |
|---|---|
| Rain or snow | Snow share \(s = 1 / (1 + \exp((T - 1.0)/0.5))\). The threshold 1.0 °C is from Jennings et al. (2018). The spread 0.5 °C is an assumption. |
| Snowpack | New snow has the density of Hedstrom and Pomeroy (1998). The pack settles toward 300 kg/m³ (450 kg/m³ when it melts). It melts at 3 mm of water for each °C and day above 0 °C, plus the heat of rain. |
| Glaze ice | Below 0 °C the surface film freezes. The ice share is \(\min(1, w_{ice}/0.5\ \text{mm})\). |
| Snow on each surface | Asphalt, concrete and gravel roads and yards are plowed: a film of 2 mm stays (an assumption). Grass lanes and dirt tracks carry traffic: their snow is packed to the critical density 550 kg/m³ (CRREL Report 95-1: four passes in one track). Fields, grass and the regional ground keep the undisturbed pack. |
| Grip on snow | CRREL Report 95-1 (Richmond, Shoop and Blaisdell 1995), gross traction over the load at the contact pressure \(p\) (kPa, 10 to 250): undisturbed snow \(0.851\,p^{-0.177}\) (eq 2), packed snow \(0.321\,p^{-0.03}\) (eq 12), undisturbed snow over ice \(0.127\,p^{0.06}\) (eq 11). The snow is the interface from 1 cm of depth. Below 1 cm the grip goes linearly from the ground's to the snow's (an assumption). |
| Grip on ice | 0.1 on the share that the ice covers (CRREL 95-1 eq 13, and Wong 2008, Theory of Ground Vehicles, 4th ed., Table 1.2: ice, peak 0.1, sliding 0.07). |
| Resistance of snow | Undisturbed snow, each wheel: \(R = 68.083\,(\rho_0\,b\,a)^{0.9135}\) N (CRREL 95-1 eq 3). \(\rho_0\) is in kg/m³, \(b\) is the tyre width and \(a\) the arc of the tyre in the snow, in m. Sinkage \(z = h\,(1 - \rho_0/\rho_f)\) (eq 4), \(\rho_f\) 500 kg/m³ up to 210 kPa, 550, 600 and 650 above 210, 350 and 700 kPa. \(a = r \arccos((r - z)/r)\) (eq 5). Packed snow and ice: no resistance (the report). |
| Frozen soil | No sinkage and no ruts (CRREL 95-1: frozen soil has a rating cone index above 100). The grip of a dry earth road, 0.68 (Wong 2008, Table 1.2). The report says that few traction data exist for frozen ground and that it generally helps traction: the value is an assumption. The model has no frost depth and no thaw. |
On 10 cm of settled snow (250 kg/m³) the Polaris has a rolling resistance of 0.24 of its weight (0.03 on dry gravel), and the Maxxum 0.18 (Results/Fast/winter_fit.json).
The fast simulator has no tires. vehicle.on_grip(params, surface, kind) gives each kind the limits of ACRES Core's tyres on "snow" (10 cm, 250 kg/m³), "packed" (the same at 550 kg/m³) and "ice". The limits are the net acceleration and deceleration, the snow's drag (it acts while the vehicle moves) and the lateral grip (a turn that asks more is driven wider). Fast/Tools/winter_fit.py measures them on Core and writes Results/Fast/winter_fit.json. vehicle.WINTER keeps the values.
Tests/Fast/agreement/test_winter.py compares 40 s drives. The fast simulator has no snowpack by place: a scene has one surface.
Farm Traffic#
-NpcVehicles adds pickups and tractors on the farm roads. -NpcWorkers adds workers who walk and scout the crops. -NpcTraffic=N sets the number of cars on US 52 (16 with -NpcVehicles).
- The vehicles are kinematic. They move along planned paths with a simple bicycle model. They do not use the tractor physics. They affect the player only through their collision boxes.
- A worker plays walk, idle and inspect animations. When the vehicle hits a worker faster than walking pace, the worker becomes a ragdoll, the HUD shows a banner and
npc-events.csvgets the incident. - With a scenario file (
-PathObjects=), the farm traffic is off.
A scenario puts actors (person, truck, tractor, car) on the route of a mission with a pattern: static, temporary, crossing, along, walk, stand, emerge, headland, back_out, lead or pull_out. Config/path_objects.json gives the distances, the speeds and the kinds of each pattern. acres_fleet.scenarios.generate(route, patterns, seed=...) makes a scenario, and the same seed gives the same actors. scenarios.save writes the file that the game reads with -PathObjects=. ACRES Core takes it with Skills.set_scenario.
Limits#
- ACRES Core sets the crop growth when it loads the world. The crop does not grow during a Core episode. The game adds the degree days of each step during a session, with a water-stress factor.
- The evaporation factor comes from a fit to one station under mown grass (Validation Results).
- The default weather values are climate estimates for the middle of July, not station data.
- The farm traffic does not sink, slip or use fuel.