Changes between Version 22 and Version 23 of Branches/MergeOCN/Goll


Ignore:
Timestamp:
2015-05-27T09:08:53+02:00 (9 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Branches/MergeOCN/Goll

    v22 v23  
    196196 
    197197 
    198 = Bugs not fixed = 
    199 == '''1. Mass conservation issue: stomate_phenology.f90''' == 
    200 detected, but not fixed yet 
    201 This piece of code leads that less biomass is allocated to leaf and root than was subtracted earlier from labile and rescarb using variable bm_use;  
    202 I guess this mass leak is related to the in code comment. New DOFOCO code in MERGE-OCN 2698 does not fix this problem. 
     198 
     199== '''6. Mass conservation issue: stomate_phenology.f90''' == 
     200When calculating the share of new biomass to leaves (Cl_init) and roots (Cr_init) of each circ_class, the biomass has to be divided by the number of tree per class (circ_class_n) 
     201 
    203202{{{                  
    204                       ! +++CHECK+++ 
     203                      ! Distribute the biomass over the leaves and roots (gC tree-1) 
     204                      ! Use Cl_init to estimate the share for each circumference class 
     205                      ! leaf biomass = FK * Cs / height (allometric relationship) 
     206                      ! root biomass = KF / LF * Cs / height 
     207                      ! Convert from gC m-2 to gC tree-1 
     208 
     209                      ! +++CHECK+++  
    205210                      ! Cl_init + Cr_init can  exceed bm_use. bm_use should be used in these equations 
    206                       circ_class_biomass(i,j,l,ileaf,icarbon) = circ_class_biomass(i,j,l,ileaf,icarbon) + & 
    207                            Cl_init * ( KF(i,j) * Cs_tree(l) / height(i,j,l) * circ_class_n(i,j,l) ) / & 
    208                            SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) 
    209  
    210                       circ_class_biomass(i,j,l,iroot,icarbon) = circ_class_biomass(i,j,l,iroot,icarbon) + & 
    211                            Cr_init * ( KF(i,j) * Cs_tree(l) / height(i,j,l) * circ_class_n(i,j,l) ) / & 
    212                            SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) 
    213                       !++++++++++++ 
    214                    
    215  
    216                
     211                      ! DSG: I cannot confirm the statement in the line before 
     212                      ! but the equation were wrong, the biomass has to be divided by numbers of tree (circ_class_n) 
     213 
     214                       circ_class_biomass(i,j,l,ileaf,icarbon) = circ_class_biomass(i,j,l,ileaf,icarbon) + & 
     215                            Cl_init * ( KF(i,j) * Cs_tree(l) / height(i,j,l) * circ_class_n(i,j,l) ) / & 
     216                       !DSGdebug_06     SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) 
     217                            SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) / circ_class_n(i,j,l) 
     218                       !DSGdebug_06      
     219 
     220                       circ_class_biomass(i,j,l,iroot,icarbon) = circ_class_biomass(i,j,l,iroot,icarbon) + & 
     221                            Cr_init * ( KF(i,j) * Cs_tree(l) / height(i,j,l) * circ_class_n(i,j,l) ) / & 
     222                      !DSGdebug_06      SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) 
     223                            SUM( KF(i,j) * Cs_tree(:) / height(i,j,:) * circ_class_n(i,j,:) ) / circ_class_n(i,j,l) 
     224                       !DSGdebug_06      
     225                      !++++++++++++             
    217226}}} 
    218227