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

Fan 2019 ctsm #767

Draft
wants to merge 209 commits into
base: master
Choose a base branch
from
Draft

Fan 2019 ctsm #767

wants to merge 209 commits into from

Conversation

juliusvira
Copy link

@juliusvira juliusvira commented Jul 24, 2019

Description of changes

Includes the FANv2 (Flow of Agricultural Nitrogen) process model for simulating ammonia volatilization from fertilizers and manure.

Specific notes

Are answers expected to change (and if so in what way)?

Connecting FAN to the CLM biogeochemistry (nitrogen pools) can be toggled from namelist. If not connected, answers should not change. If connected, C and N cycling will change.

Any User Interface Changes (namelist or namelist defaults changes)?

Added FAN namelist with some options and path to the FAN stream file.

Testing performed, if any:

The model has been tested with a 3-year (2009-2011) transient run for the following:

  • C and N related variables do not change if FAN is off or not coupled to the biogeochemistry
  • FAN produces NH3 emissions as expected
  • Running with biogeochemistry coupling enabled works technically and conserves N.
    Scientific evaluation of the biogeochemistry coupling is to be done.

Other remarks:

  • FAN has the capability to move N from crop to soil column within a grid cell, depending on the fract_spread_grass namelist variable.
  • The N balance check currently essentially checks separately for N conservation in FAN and in the rest of CLM. The advantage is that this works the same way regardless of whether FAN is coupled to the biogeochemistry or not. The drawback is that mass conservation between FAN and CLM is not checked. There could be a few ways to fix this.

Edit: link to slides comparing various FAN coupling options:
https://drive.google.com/file/d/1CROPPXphlwhWCMbLKl_RKUaaSehUomHg/view?usp=sharing

Connect ozone from atmosphere

Allow atmospheric input of ozone partial pressure (monthly, mol/mol) to
CTSM and use this ozone in the OzoneMod module.

Specific notes: Add ozone to atm2lndType and also add as an output
history variable (ATM_O3). Read in O3 in lnd_import_export. Connect to
the OzoneMod module: in CalcOzoneUptakeOnePoint we now use this input
ozone, rather than a static parameter.

 Conflicts:
	Externals.cfg
	bld/unit_testers/build-namelist_test.pl
	cime_config/testdefs/ExpectedTestFails.xml
	cime_config/testdefs/testlist_clm.xml
	src/biogeochem/CNBalanceCheckMod.F90
	src/biogeochem/CNNDynamicsMod.F90
	src/biogeochem/CNVegNitrogenFluxType.F90
	src/main/clm_driver.F90
	src/main/lnd2atmMod.F90
	src/main/lnd2atmType.F90
	src/soilbiogeochem/SoilBiogeochemNitrogenStateType.F90
…pies, as well as properly adjusting g index by begg
@wwieder
Copy link
Contributor

wwieder commented Nov 15, 2022

@ekluzek now that you've created a branch tag for this PR, does it remain open?

@ekluzek
Copy link
Collaborator

ekluzek commented Nov 15, 2022

I think we leave it open as a reminder that we eventually want to bring it into main CTSM. But as we have plenty of open PRs we could close it for now. Let's talk about this Thursday.

@ekluzek ekluzek removed this from the ctsm5.2.0 milestone Apr 20, 2024
@samsrabin samsrabin added enhancement new capability or improved behavior of existing capability science Enhancement to or bug impacting science and removed enh - new science labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new capability or improved behavior of existing capability science Enhancement to or bug impacting science
Projects
Status: Prep line - not close to the oven
Development

Successfully merging this pull request may close these issues.

5 participants