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) |
47 |
_RL felimit(npmax) |
_RL felimit(npmax) |
48 |
_RL alpha_fe |
_RL alpha_fe |
49 |
_RL up_inorg(iimax,npmax) |
_RL up_inorg(iimax,npmax) |
|
_RL N_uptake(npmax) |
|
50 |
_RL photo_Tempfunction |
_RL photo_Tempfunction |
51 |
c |
c |
52 |
_RL dchldt(npmax) |
_RL dchldt(npmax) |
54 |
_RL E0 |
_RL E0 |
55 |
_RL C_biomass |
_RL C_biomass |
56 |
_RL chl |
_RL chl |
|
_RL VCref |
|
57 |
c |
c |
58 |
_RL Chl2C |
_RL Chl2C |
59 |
_RL PCmax |
_RL PCmax |
60 |
_RL PCPhot(npmax) |
_RL PCPhot(npmax) |
61 |
_RL rhochl |
_RL rhochl |
62 |
_RL chlsynth(npmax) |
_RL chlsynth(npmax) |
|
_RL VCmax |
|
63 |
_RL VCN |
_RL VCN |
64 |
|
_RL PP |
65 |
|
#ifdef QUOTA_DIAG_LIMIT |
66 |
|
_RL Ilim(npmax) |
67 |
|
#endif |
68 |
c |
c |
69 |
c Geider, MacIntyre and Kana (1998) photosynthesis model |
c Geider, MacIntyre and Kana (1998) photosynthesis model |
70 |
c adapted for multiple nutrients following Moore et al (2002) |
c adapted for multiple nutrients following Moore et al (2002) |
71 |
c |
c |
72 |
E0 = PARlocal ! muEin m^-2 s^-1 |
E0 = PARlocal ! muEin m^-2 s^-1 |
73 |
|
PP = 0.0 _d 0 |
74 |
do jp=1,npmax |
do jp=1,npmax |
75 |
#ifdef FQUOTA |
#ifdef FQUOTA |
76 |
alpha_fe = alphachl(jp) * felimit(jp) |
alpha_fe = alphachl(jp) * felimit(jp) |
102 |
c |
c |
103 |
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 |
104 |
PCPhot(jp) = PCmax ! s^-1 |
PCPhot(jp) = PCmax ! s^-1 |
105 |
& *(1-exp(-alpha_fe*Chl2C*E0/PCmax)) |
& *(1. _d 0 - exp(-alpha_fe*Chl2C*E0/PCmax)) |
106 |
c |
c |
107 |
rhochl = Chl2Nmax * PCPhot(jp) ! mg chl (mmol N)^-1 |
rhochl = Chl2Nmax * PCPhot(jp) ! mg chl (mmol N)^-1 |
108 |
& /(alphachl(jp)*Chl2C*E0) |
& /(alphachl(jp)*Chl2C*E0) |
118 |
endif |
endif |
119 |
c----------------------------------------------------------------- |
c----------------------------------------------------------------- |
120 |
! for passing back to quota_plankton |
! for passing back to quota_plankton |
121 |
|
PP = PP + PCPhot(jp) * C_biomass |
122 |
up_inorg(iDIC,jp) = PCPhot(jp) - biosynth*VCN ! s^-1 |
up_inorg(iDIC,jp) = PCPhot(jp) - biosynth*VCN ! s^-1 |
123 |
dchldt(jp) = chlsynth(jp) ! mg chl m^-3 s^-1 |
dchldt(jp) = chlsynth(jp) ! mg chl m^-3 s^-1 |
124 |
else ! else if jp is a heterotroph |
else ! else if jp is a heterotroph |
126 |
dchldt(jp) = 0. _d 0 ! mg chl m^-3 s^-1 |
dchldt(jp) = 0. _d 0 ! mg chl m^-3 s^-1 |
127 |
c----------------------------------------------------------------- |
c----------------------------------------------------------------- |
128 |
endif |
endif |
129 |
|
#ifdef QUOTA_DIAG_LIMIT |
130 |
|
Ilim(jp) = 1. _d 0 - exp(-alphachl(jp)*1.59*E0/vmaxi(iDIC,jp)) |
131 |
|
#endif |
132 |
|
! print*,"vmax",PP,PCPhot(jp),biomass(iCarb,jp), |
133 |
|
! & E0,vmaxi(iDIC,jp),chl,C_biomass |
134 |
enddo |
enddo |
135 |
|
|
136 |
RETURN |
RETURN |