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

Fix bugs in PDER, OCPISOA and TotalOC in complexSOA #2315

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

yuanjianz
Copy link

@yuanjianz yuanjianz commented Jun 8, 2024

Name and Institution (Required)

Name: Yuanjian Zhang
Institution: WashU

Describe the update

SimpleSOA:           OCPISOA = OCPI*OCFOPOA + SOAS 
ComplexSOA_nonSVPOA: OCPISOA = OCPI*OCFOPOA + TSOA + ASOA + ISOAAQ
ComplexSOA_SVPOA:    OCPISOA = OPOA + TSOA + ASOA + ISOAAQ
  • Simplify verbose calculations.
  • Use OCPISOA+OCPO in dry effective radius calculation instead of summing up each species.
  • Use OCPISOA+OCPO for TotalOA, enabling TotalOA diagnostic for SimpleSOA.
  • Match TotalOC calculation consistent with aerosol_mod.F90.

Expected changes

  • Parameterized dry effective radius for SNA and OM will correctly handle SVPOA scenario (OCPI replaced by OPOA).
  • This update should be no-diff-to-benchmark since SVPOA is not activated in benchmark simulation.
  • OCPISOA in benchmark(both simpleSOA and complexSOA are activated) will no longer double count ISOAAQ as was in PM2.5 before.
  • TotalOC will no longer omit TSOA, ASOA, OCPI and OCPO in complexSOA_nonSVPOA (benchmark falls into this).

Reference(s)

Tagging @Haihui-Zhu for confirmation about the PDER update.

Related Github Issue

#2314
#2321

- use AerMass in OCPISOA to avoid unnecessary recalculation
- removed unnecessary OCPI reference when SVPOA is activated
- replace verbose representation of SOA and OCPI with OCPISOA
@Haihui-Zhu
Copy link
Contributor

I reviewed this revision and didn't notice any issues. The parameterized effective radius is calculated correctly using more concise code.

@yantosca yantosca self-requested a review June 10, 2024 19:38
@yantosca yantosca self-assigned this Jun 10, 2024
@yantosca yantosca added Attn: Aerosols WG Attention: Aerosols Working Group category: Bug Fix Fixes a previously-reported bug topic: Aerosols Related to aerosol species in GEOS-Chem labels Jun 10, 2024
@yantosca
Copy link
Contributor

Thanks @yuanjianz and @Haihui-Zhu. I will try to look at this as soon as possible. We can get this into our 14.5.0 development stream.

@yuanjianz yuanjianz marked this pull request as draft June 11, 2024 05:14
…nSVPOA

- also includes some rewrites for better readability
@yuanjianz
Copy link
Author

Note this pull request is no longer no-diff-to-benchmark.

  1. OCPISOA in benchmark(both simpleSOA and complexSOA are activated) will no longer double count ISOAAQ as were in PM2.5 before.
  2. TotalOC will no longer omit TSOA, ASOA, OCPI and OCPO in complexSOA_nonSVPOA (benchmark falls into this).

@yuanjianz yuanjianz changed the title Fix bugs in parameterized effective radius when SVPOA is activated Fix bugs in PDER, OCPISOA and TotalOC in complexSOA Jun 12, 2024
@yuanjianz yuanjianz marked this pull request as ready for review June 12, 2024 05:38
Copy link
Contributor

Thanks @yuanjianz. I'll take a look at this.

Copy link
Contributor

@yantosca yantosca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yuanjianz and @Haihui-Zhu. This looks very good and I think it will simplify the computations (as well as being more efficient).

Would you be able to update the CHANGELOG.md file with a sentence about this update? Once that's done we can proceed to merging & testing. Thanks!

@yantosca yantosca added this to the 14.5.0 milestone Jul 11, 2024
@yuanjianz yuanjianz requested a review from yantosca July 14, 2024 22:57
@yantosca
Copy link
Contributor

All GEOS-Chem integration tests passed:

==============================================================================
GEOS-Chem Classic: Execution Test Results

GCClassic #600ce53 GEOS-Chem submod update: Merge hotfix from PR #2363 atop PR #2359
GEOS-Chem #eabf06c88 Update setCommonRunSettings.sh.template
HEMCO     #2192e0e HEMCO 3.9.1 release

Using 24 OpenMP threads
Number of execution tests: 28

Submitted as SLURM job: 40084006
==============================================================================

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%  All execution tests passed!  %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\

@yantosca
Copy link
Contributor

All GCHP integration tests passed as well:

==============================================================================
GCHP: Execution Test Results

GCHP      #7065c1c GEOS-Chem submod update: Merge hotfix from PR #2363 atop PR #2359
GEOS-Chem #eabf06c88 Update setCommonRunSettings.sh.template
HEMCO     #

Number of execution tests: 11

Submitted as SLURM job: 40086511
==============================================================================

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%  All execution tests passed!  %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

yantosca added a commit that referenced this pull request Jul 16, 2024
This merge brings PR #2315 (ix bugs in PDER, OCPISOA and TotalOC in
complexSOA, by @yuanjianz) into the GEOS-Chem 14.5.0 development stream.

This PR fixes several minor bugs in the complex SOA scheme as described
in issues #2314 and #2321.

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
@yantosca yantosca merged commit 006d012 into geoschem:dev/14.5.0 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Attn: Aerosols WG Attention: Aerosols Working Group category: Bug Fix Fixes a previously-reported bug topic: Aerosols Related to aerosol species in GEOS-Chem
Projects
None yet
3 participants