Ticket #1234 (closed assessed: fixed)

Opened 6 years ago

Last modified 6 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 6 years ago by jeroens

Joe B: Previous to EwE version 6.3.1 respiration was 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
Last edited 6 years ago by joeb (previous) (diff)

comment:2 Changed 6 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.