Opened 5 years ago
Closed 5 years ago
#545 closed defect (fixed)
Mass balance closure stomate_lpj
Reported by: | luyssaert | Owned by: | luyssaert |
---|---|---|---|
Priority: | major | Milestone: | IPSLCM6.v2 |
Component: | Biogeochemical processes | Version: | |
Keywords: | Cc: |
Description
After 59 years, test case /ccc/work/cont003/gen6328/p529luy/ORCHIDEE.MERGE/config/ORCHIDEE_OL/tFG2.16pixels.n has a huge mass balance problem in stomate_lpj. It looks like the problem occurrs in the same year an on the same pixel that went through stomate_prescribe. Also diameter_003=NaN. This problem may have been introduced following r5800.
Change History (7)
comment:1 Changed 5 years ago by luyssaert
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 5 years ago by luyssaert
- Resolution fixed deleted
- Status changed from closed to reopened
The above was wishful thinking! Seems that some other bugs had to be fixed (r6166) to get this huge mass balance problem back.
comment:3 Changed 5 years ago by luyssaert
- Owner changed from somebody to luyssaert
- Status changed from reopened to assigned
comment:4 Changed 5 years ago by luyssaert
When running with age classes and LCC it happens that a species is killed in e.g. age class 3 and that age classes 2 and 1 of that species already contain biomass. If this happens the model kills age class 3 and has to replant the species in age class 1. There is already biomass in 1 so the existing biomass needs to be merged with the newly planted biomass. The newly planted biomass uses C from the atmosphere. This carbon (new_atm_to_bm) was not properly accounted for in the atm_to_bm.
the subroutine merge_biomass_pfts in sapiens_lcchange is also used in mortality_clean. A get_printlev made the model to hang when running in parallel. This was not a problem in sequantial mode. The get_printlev was removed.
Both changes were committed in r6168.
comment:5 Changed 5 years ago by luyssaert
- Resolution set to fixed
- Status changed from assigned to closed
comment:6 Changed 5 years ago by luyssaert
- Resolution fixed deleted
- Status changed from closed to reopened
comment:7 Changed 5 years ago by luyssaert
- Resolution set to fixed
- Status changed from reopened to closed
These problems no longer exists in r6241. They were unintentionally fixed by other bug fixes.