New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12349 for NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p5zmeso.F90 – NEMO

Ignore:
Timestamp:
2020-01-28T17:17:13+01:00 (4 years ago)
Author:
aumont
Message:

update of the quota version of PISCES + some corrections of the GGE of zooplankton

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p5zmeso.F90

    r11536 r12349  
    7272      REAL(wp) :: zgraze2, zdenom, zfact, zfood, zfoodlim, zproport 
    7373      REAL(wp) :: zmortzgoc, zfracc, zfracn, zfracp, zfracfe, zratio, zratio2 
    74       REAL(wp) :: zepsherf, zepshert, zepsherv, zrespirc, zrespirn, zrespirp, zbasresb, zbasresi 
     74      REAL(wp) :: zepsherf, zepshert, zepsherq, zepsherv, zrespirc, zrespirn, zrespirp, zbasresb, zbasresi 
    7575      REAL(wp) :: zgraztotc, zgraztotn, zgraztotp, zgraztotf, zbasresn, zbasresp, zbasresf 
    7676      REAL(wp) :: zgradoc, zgradon, zgradop, zgratmp, zgradoct, zgradont, zgrareft, zgradopt 
     
    8585      REAL(wp) :: zgrazffnp, zgrazffng, zgrazffpp, zgrazffpg 
    8686      CHARACTER (len=25) :: charout 
    87       REAL(wp) :: zrfact2, zmetexcess 
     87      REAL(wp) :: zrfact2, zmetexcess, zsigma, zdiffdn 
    8888      REAL(wp), DIMENSION(jpi,jpj,jpk) :: zgrazing, zfezoo2 
    8989      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:) :: zw3d, zz2ligprod 
     
    140140               !   An active switching parameterization is used here. 
    141141               !   We don't use the KTW parameterization proposed by  
    142                !   Vallina et al. because it tends to produce to steady biomass 
     142               !   Vallina et al. because it tends to produce too steady biomass 
    143143               !   composition and the variance of Chl is too low as it grazes 
    144                !   too strongly on winning organisms. Thus, instead of a square 
    145                !   a 1.5 power value is used which decreases the pressure on the 
    146                !   most abundant species 
     144               !   too strongly on winning organisms. We use a generalized 
     145               !   switching parameterization proposed by Morozov and  
     146               !   Petrovskii (2013) 
    147147               !   ------------------------------------------------------------   
    148                ztmp1 = xpref2n * zcompaph**1.5 
    149                ztmp2 = xpref2m * zcompames**1.5 
    150                ztmp3 = xpref2c * zcompapoc**1.5 
    151                ztmp4 = xpref2d * zcompadi**1.5 
    152                ztmp5 = xpref2z * zcompaz**1.5 
     148               zsigma = 1.0 - zdenom**2/(0.05**2+zdenom**2) 
     149               zsigma = 0.5 + 1.0 * zsigma 
     150               zdiffdn = exp( -ABS(log(3.0 * sizen(ji,jj,jk) / (5.0 * sized(ji,jj,jk) + rtrn )) )**2 / zsigma**2 ) 
     151               ztmp1 = xpref2n * zcompaph * ( zcompaph + zdiffdn * zcompadi ) 
     152               ztmp2 = xpref2m * zcompames**2 
     153               ztmp3 = xpref2c * zcompapoc**2 
     154               ztmp4 = xpref2d * zcompadi * ( zdiffdn * zcompadi + zcompaph ) 
     155               ztmp5 = xpref2z * zcompaz**2 
    153156               ztmptot = ztmp1 + ztmp2 + ztmp3 + ztmp4 + ztmp5 + rtrn 
    154157               ztmp1 = ztmp1 / ztmptot 
     
    238241               zbeta     = MAX(0., (epsher2 - epsher2min) ) 
    239242               zepsherf  = epsher2min + zbeta / ( 1.0 + 0.04E6 * 12. * zfood * zbeta ) 
    240                zepsherv  = zepsherf * zepshert 
    241  
     243               zepsherq  = 0.5 + (1.0 - 0.5) * zepshert * ( 1.0 + 1.0 ) / ( zepshert + 1.0 ) 
     244               zepsherv  = zepsherf * zepshert * zepsherq 
    242245               !   Respiration of mesozooplankton 
    243246               !   Excess carbon in the food is used preferentially 
Note: See TracChangeset for help on using the changeset viewer.