Description Usage Arguments Value Examples
Helper function for getCurr. Returns Net rate of Energy Gain (J/s) for a forager in a given cell.
1 | netRate(L, L_max, e, d, v, h, f, l, p_i, c_i, c_f, H, alphaVal, betaVal, S)
|
L |
Load size (μL) |
L_max |
Maximum load size (μL) |
e |
Energetic value of nectar (J/μL) |
d |
Distance from hive (m) |
v |
Unloaded flight speed from hive (m/s) |
h |
Handling time per flower (s) |
f |
Flight time between flowers (s) |
l |
Maximum standing crop per flower (μL) |
p_i |
Licking speed for nectar (μL/s) |
c_i |
Cost of non-flying behaviour (J/s) |
c_f |
Cost of flight (J/s) |
H |
Time spent inside hive (s) |
alphaVal |
Increase in metabolic rate with load (J/(s*μL)) |
betaVal |
Reduction in flight speed with increase in load |
S |
Competition term (0-1) |
Net rate (J/s). Net rate = \frac{Gains - Foraging
Loss - Travel Loss - Hive Loss}{Loading Time + Travel Time + Hive Time}.
Called by curr_i
.
1 2 | netRate(L=50,L_max=59.5,e=14.35,d=100,v=7.8,
h=1.5,f=0.86,l=1,p_i=1,c_i=0.0042,c_f=0.05,H=100,alphaVal=0.013,betaVal=0.102/59.5,S=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.