Changes between Version 1 and Version 2 of Ticket #1234, comment 1
- Timestamp:
- 2013-04-04 11:08:01 (11 years ago)
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 1 Joe B: Ok figured out how and where respiration is calculated in Ecopath. Currently respiration is calculated as: 3 2 4 3 {{{ … … 19 18 End If 20 19 }}} 20 where 21 21 22 where23 22 * PP(i) = 0 for consumers 24 23 * PP(i) = 1 for producers 25 24 * PP(i) = 2 for detritus 26 25 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. 26 This 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 }}}