#727 closed defect (fixed)

mass balance error when both USE_RESERVE_N and IMPOSE_CN are y

Reported by: jjeong Owned by: jjeong
Priority: critical Milestone: ORCHIDEE 4.1
Component: Biogeochemical processes Version: trunc
Keywords: Cc:


Found the problem in r6915 with FG1, model crashes at the first time step with mass balance error.
Model works when IMPOSE_CN =n but crashes with IMPOSE_CN=y and USE_RESERVE_N = y.

Change History (2)

comment:1 Changed 19 months ago by luyssaert

  • Priority changed from blocker to critical

comment:2 Changed 19 months ago by luyssaert

  • Resolution set to fixed
  • Status changed from new to closed

Committed a fix in r6931. Nitrogen was added to a temporary stand level labile and/or carbres pool. The changes to the labile pool were accounted for in circ_class_biomass (one of the variables used to check for mass balance closure). The changes to the carbres pool were NOT accounted for. This has been fixed.

Code changes were tested in prod mode for all four combinations of impose_cn and use_n_reserve for 9 pixels (1 cpu) over 10 years.

Note: See TracTickets for help on using tickets.