INFLOWS:
T1 ¼ PHI_D1
OUTFLOWS:
T2 ¼ PHI_D2
X(t) ¼ X(t À dt) + (ΔX À CLEAR_X) * dt
INIT X ¼ 0 {The X horizontal distance to the troop from the origin of the
designated space.}
INFLOWS:
ΔX ¼ IF TIME > 14 THEN VISIBILITY * COS(THETA) * TARGET ELSE IF
TIME ¼ 13 THEN INITIAL_X ELSE IF TIME <¼ 11 THEN (R * COS
(TIME) + TREE_X)/DT ELSE 0 {Changing the X location of the troop of
monkeys, looking for trees with ripe fruit.}
OUTFLOWS:
CLEAR_X ¼ IF TIME <¼ 12 THEN X/DT ELSE 0
Y(t) ¼ Y(t À dt) + (ΔY À CLEAR_Y) * dt
INIT Y ¼ 0 {The Y horizontal distance to the troop from the origin of the
designated space.}
INFLOWS:
ΔY ¼ IF TIME > 14 THEN VISIBILITY * SIN(THETA) * TARGET ELSE IF
TIME ¼ 13 THEN INITIAL_Y ELSE IF TIME <¼ 11 THEN (R * SIN(TIME)
+ TREE_Y)/DT ELSE 0 {Changing the y location of the troop of monkeys,
looking for trees with ripe fruit.}
OUTFLOWS:
CLEAR_Y ¼ IF TIME <¼ 12 THEN Y/DT ELSE 0
TRAVEL_DISTANCE(t) ¼ TRAVEL_DISTANCE(t À dt) + (STEP_DISTANCE) * dt
INIT TRAVEL_DISTANCE ¼ 0 {The distance travelled from the starting point of
the troop to the circle of influence of the tree.}
INFLOWS:
STEP_DISTANCE ¼ IF TIME >¼ 15 THEN VISIBILITY * DT ELSE 0
CIRCUITY ¼ (TRAVEL_DISTANCE+9)/(SQRT((TREE_X1ÀINITIAL_X)^2+
(TREE_Y1-INITIAL_Y)^2)À7.5)
CONCENTRATION ¼ CONC_1+CONC_2 {The combined odor concentration at
the canopy top at the current troop location.}
CONC_1 ¼ IF X1 > 0 THEN EXP(À.5 * (Y1/SIG_Y1)^2) * EXP(À.5 * (2 * TREE_
HEIGHT/SIG_Z1)^2)/(2 * PI * SIG_Y1 * SIG_Z1) * RIPENESS_1/WIND_SPEED
ELSE 0 {plume and ground reflection conc at top of tree; ug/m3}
CONC_2 ¼ IF X2 > 0 THEN EXP(À.5 * (Y2/SIG_Y2)^2) * EXP(À.5 * (2 * TREE_
HEIGHT/SIG_Z2)^2)/(2 * PI * SIG_Y2 * SIG_Z2) * RIPENESS_2/WIND_SPEED
ELSE 0 {See note in CONC 1}
CONC_D1 ¼ DELAY(CONCENTRATION,1)
DEVIATION_ANGLE ¼ PI/16
INITIAL_X ¼ 0 {Specified X coordinate of starting point for the troop in the
designated space.}
INITIAL_Y ¼ 0
28.2 Monkey Travels Model Equations
237
Précédent

- 233/419

Suivant