Changes between Version 1 and Version 2 of Ticket #1234, comment 1


Ignore:
Timestamp:
2013-04-04 11:08:01 (11 years ago)
Author:
joeb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1234, comment 1

    v1 v2  
    1 Joe B: Ok figured out how and where respiration is calculated in Ecopath. Currently respiration is calculated as: 
    2  
     1Joe B: Ok figured out how and where respiration is calculated in Ecopath. Currently respiration is calculated as: 
    32 
    43{{{ 
     
    1918End If 
    2019}}} 
     20where 
    2121 
    22 where 
    2322 * PP(i) = 0 for consumers 
    2423 * PP(i) = 1 for producers 
    2524 * PP(i) = 2 for detritus 
    2625 
    27 In my version I changed it to so that the calculation of  respiration matches the Rcalc from Sheila's spreadsheet and I get the  same output as Sheila's spreadsheet, so that's a good thing. 
     26This has been changed to  
     27 
     28{{{ 
     29 Prod = B(i) * PB(i) 
     30 Consump = B(i) * QB(i) 
     31 UnAssimConsump = GS(i) * Consump 
     32 
     33'sum consumption across all the groups for Ecopath Stats 
     34 Consum += Consump 
     35 
     36 Resp(i) = Consump - Prod - UnAssimConsump 
     37'Respiration = zero if the units are nutrients 
     38 If Me.areUnitCurrencyNutrients() Then 
     39    Resp(i) = 0.0F 'Nutrient     
     40 End If 
     41}}}