Changeset 7991 for branches


Ignore:
Timestamp:
2023-04-21T16:37:49+02:00 (21 months ago)
Author:
josefine.ghattas
Message:

Correction on lake_reservoir in routing simple, done by Y Meurdesoif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/routing_simple.f90

    r7576 r7991  
    26692669       ! 
    26702670       lake_reservoir(ig) = lake_reservoir(ig) + lakeinflow(ig) 
    2671        !uptake in Kg/dt 
    2672        refill = MAX(zero, maxevap_lake * (un - humrel(ig)) * dt_routing * total_area) 
    2673        return_lakes(ig) = MIN(refill, lake_reservoir(ig)) 
    2674        lake_reservoir(ig) = lake_reservoir(ig) - return_lakes(ig) 
    2675        !Return in Kg/m^2/dt 
     2671 
    26762672       IF ( doswamps ) THEN 
     2673          ! uptake in Kg/dt 
     2674          refill = MAX(zero, maxevap_lake * (un - humrel(ig)) * dt_routing * total_area) 
     2675          return_lakes(ig) = MIN(refill, lake_reservoir(ig)) 
     2676          lake_reservoir(ig) = lake_reservoir(ig) - return_lakes(ig) 
     2677          ! Return in Kg/m^2/dt 
    26772678          return_lakes(ig) = return_lakes(ig)/total_area 
    26782679       ELSE 
Note: See TracChangeset for help on using the changeset viewer.