20 |
#ifdef FQUOTA |
#ifdef FQUOTA |
21 |
I felimit, |
I felimit, |
22 |
#endif |
#endif |
23 |
|
#ifdef QUOTA_DIAG_LIMIT |
24 |
|
O Ilim, |
25 |
|
#endif |
26 |
I up_inorg, |
I up_inorg, |
27 |
|
O PP, |
28 |
I photo_Tempfunction, |
I photo_Tempfunction, |
29 |
O dchldt, ! chlorophyll synthesis rate |
O dchldt, ! chlorophyll synthesis rate |
30 |
I myThid) |
I myThid) |
64 |
_RL chlsynth(npmax) |
_RL chlsynth(npmax) |
65 |
_RL VCmax |
_RL VCmax |
66 |
_RL VCN |
_RL VCN |
67 |
|
_RL PP |
68 |
|
#ifdef QUOTA_DIAG_LIMIT |
69 |
|
_RL Ilim(npmax) |
70 |
|
#endif |
71 |
c |
c |
72 |
c Geider, MacIntyre and Kana (1998) photosynthesis model |
c Geider, MacIntyre and Kana (1998) photosynthesis model |
73 |
c adapted for multiple nutrients following Moore et al (2002) |
c adapted for multiple nutrients following Moore et al (2002) |
74 |
c |
c |
75 |
E0 = PARlocal ! muEin m^-2 s^-1 |
E0 = PARlocal ! muEin m^-2 s^-1 |
76 |
|
PP = 0.0 _d 0 |
77 |
do jp=1,npmax |
do jp=1,npmax |
78 |
#ifdef FQUOTA |
#ifdef FQUOTA |
79 |
alpha_fe = alphachl(jp) * felimit(jp) |
alpha_fe = alphachl(jp) * felimit(jp) |
105 |
c |
c |
106 |
if (PCmax.gt.0. _d 0.and.alpha_fe.gt.0. _d 0) then |
if (PCmax.gt.0. _d 0.and.alpha_fe.gt.0. _d 0) then |
107 |
PCPhot(jp) = PCmax ! s^-1 |
PCPhot(jp) = PCmax ! s^-1 |
108 |
& *(1-exp(-alpha_fe*Chl2C*E0/PCmax)) |
& *(1. _d 0-exp(-alpha_fe*Chl2C*E0/PCmax)) |
109 |
|
c |
110 |
|
#ifdef QUOTA_DIAG_LIMIT |
111 |
|
Ilim(jp)=1. _d 0 |
112 |
|
& -exp(-alphachl(jp)*Chl2C*E0/vmaxi(iDIC,jp)) |
113 |
|
#endif |
114 |
c |
c |
115 |
rhochl = Chl2Nmax * PCPhot(jp) ! mg chl (mmol N)^-1 |
rhochl = Chl2Nmax * PCPhot(jp) ! mg chl (mmol N)^-1 |
116 |
& /(alphachl(jp)*Chl2C*E0) |
& /(alphachl(jp)*Chl2C*E0) |
126 |
endif |
endif |
127 |
c----------------------------------------------------------------- |
c----------------------------------------------------------------- |
128 |
! for passing back to quota_plankton |
! for passing back to quota_plankton |
129 |
|
PP = PP + PCPhot(jp) * C_biomass |
130 |
up_inorg(iDIC,jp) = PCPhot(jp) - biosynth*VCN ! s^-1 |
up_inorg(iDIC,jp) = PCPhot(jp) - biosynth*VCN ! s^-1 |
131 |
dchldt(jp) = chlsynth(jp) ! mg chl m^-3 s^-1 |
dchldt(jp) = chlsynth(jp) ! mg chl m^-3 s^-1 |
132 |
else ! else if jp is a heterotroph |
else ! else if jp is a heterotroph |