Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new function of P-adsorption capability to salinity and temperature #35

Open
aed-modeller opened this issue Feb 2, 2022 · 0 comments

Comments

@aed-modeller
Copy link

IF(.NOT. data%simPO4Adsorption) RETURN

Condiser a new function for the sensitivity of P-adsorption capability to the water temperature and salinity;
Ref: Zhang and Huang 2011, in Floriday bay, suggesting increasing P-adsorption capability with increasing temperature and decreasing salinity

data%Kpo4p = data%Kpo4p * Kpo4p_Function(Topt, theta_Kpo4, K_sal, sal, temp)

FUNCTION Kpo4p_Function(Topt, theta_Kpo4, K_sal, sal, temp)
!-------------------------------------------------------------------------------
! Michaelis-Menten formulation for P-adsorption sensitivity to Sal & T
! Ref: Zhang and Huang 2011, in Floriday bay, suggesting increasing P-adsorption
! capability with increasing temperature and decreasing salinity
!-------------------------------------------------------------------------------
!ARGUMENTS
AED_REAL,INTENT(in) :: Topt ! optimum temperature for P-adsorp, default = 45 as the ref showed increasing P-adsorp with temperature
AED_REAL,INTENT(in) :: theta_Kpo4 ! theta for P-adsorp on limitation, default = 1.02
AED_REAL,INTENT(in) :: K_sal ! half-saturation of salinity, default = 60
AED_REAL,INTENT(in) :: temp
AED_REAL,INTENT(in) :: sal
AED_REAL :: f_ads ! Returns the salinity function
AED_REAL :: fT, fSal
!
!-------------------------------------------------------------------------------
!BEGIN

fT = (theta_Kpo4**(temp-Topt))

IF(K_sal==zero_)THEN
fSal = one_
ELSE
fSal = K_sal/(K_sal+sal)
ENDIF

f_ads = fT * fSal

END FUNCTION Kpo4p_Function

P_adsorp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant