Ticket #1234 (closed assessed: fixed)

Opened 11 years ago

Last modified 11 years ago

Problem in Respiration calculations with detritus export

Reported by: jeroens Owned by:
Priority: normal Milestone: Ecopath 6: release 6.4 BETA
Component: Ecopath Version: 6.3.1
Severity: minor Keywords:
Cc:

Description

There is a problem with the Respiration calculation in EwE 6 because of the detritus export

Change History

comment:1 Changed 11 years ago by jeroens

Joe B: Ok figured out how and where respiration is calculated in Ecopath. Currently respiration is calculated as:

Prod = EE(i) * B(i) * PB(i) + FlowToDet(i)
' FlowToDet(i) is the total flow to Detritus
If Me.areUnitCurrencyNutrients() Then
     'Nutrient    
     Resp(i) = 0
ElseIf PP(i) < 1 Then
    'Consumers
    Resp(i) = B(i) * QB(i) - (1 - PP(i)) * Prod
Else
    'producers & detritus
    Prod = B(i) * PB(i)
    Consump = B(i) * QB(i)
    UnAssimConsump = GS(i) * Consump
    Resp(i) = Consump - Prod - UnAssimConsump
End If

where

  • PP(i) = 0 for consumers
  • PP(i) = 1 for producers
  • PP(i) = 2 for detritus

This has been changed to 

 Prod = B(i) * PB(i)
 Consump = B(i) * QB(i)
 UnAssimConsump = GS(i) * Consump

'sum consumption across all the groups for Ecopath Stats
 Consum += Consump

 Resp(i) = Consump - Prod - UnAssimConsump
'Respiration = zero if the units are nutrients
 If Me.areUnitCurrencyNutrients() Then
    Resp(i) = 0.0F 'Nutrient    
 End If
Version 2, edited 11 years ago by joeb (previous) (next) (diff)

comment:2 Changed 11 years ago by jeroens

  • Status changed from new to closed
  • Severity changed from NOT SET to minor
  • Type changed from not assessed to assessed
  • Component changed from NOT SET to Ecopath
  • Priority changed from NOT SET to normal
  • Milestone changed from NOT SET to Ecopath 6: next release
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.