Ignore:
Timestamp:
Oct 16, 2020 2:27:48 PM (4 years ago)
Author:
suehring
Message:

Indoor-model new: Namelist parameter added to switch-off/on the indoor model during wall/soil spinup; bugfixes concerning indoor model: bugfix in window-wall treatment during spinup - in the urban-surface model the window fraction is set to zero during spinup, so it is done here also; bugfix in wall treatment - inner wall temperature was too low due to wrong weighting of wall/green/window fractions; Revision of 10-cm temperature at vertical walls - assume grid-cell temperature rather than employ MOST; call hourly-based indoor model only once per hour during spinup, not every timestep; add missing dependency in Makefile; urban-surface model: bugfix in openmp directive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/time_integration_spinup.f90

    r4687 r4750  
    2525! -----------------
    2626! $Id$
     27! - bugfix, call hourly-based indoor model only once per hour, not every timestep.
     28! - optionally switch-off/on the indoor model during spinup
     29!
     30! 4687 2020-09-21 19:40:16Z maronga
    2731! Indoor model is now available during spinup
    2832!
     
    110114               constant_flux_layer,                                                                &
    111115               coupling_start_time,                                                                &
    112                current_timestep_number,                                                            &
    113116               data_output_during_spinup,                                                          &
    114117               debug_output_timestep,                                                              &
     
    167170
    168171    USE indoor_model_mod,                                                                          &
    169         ONLY:  dt_indoor, im_main_heatcool, time_indoor
     172        ONLY:  dt_indoor,                                                                          &
     173               im_main_heatcool,                                                                   &
     174               indoor_during_spinup,                                                               &
     175               time_indoor
    170176
    171177    USE land_surface_model_mod,                                                                    &
     
    490496!--    Note, at first timestep indoor model is called, in order to provide
    491497!--    a waste heat flux.
    492        IF ( indoor_model )  THEN
     498       IF ( indoor_model  .AND.  indoor_during_spinup )  THEN
    493499
    494500          time_indoor = time_indoor + dt_3d
    495501
    496           IF ( time_indoor >= dt_indoor  .OR.  current_timestep_number == 0 )  THEN
     502          IF ( time_indoor >= dt_indoor  .OR.  current_timestep_number_spinup == 0 )  THEN
    497503
    498504             time_indoor = time_indoor - dt_indoor
Note: See TracChangeset for help on using the changeset viewer.