Changeset 4750 for palm/trunk/SOURCE/time_integration_spinup.f90
- Timestamp:
- Oct 16, 2020 2:27:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration_spinup.f90
r4687 r4750 25 25 ! ----------------- 26 26 ! $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 27 31 ! Indoor model is now available during spinup 28 32 ! … … 110 114 constant_flux_layer, & 111 115 coupling_start_time, & 112 current_timestep_number, &113 116 data_output_during_spinup, & 114 117 debug_output_timestep, & … … 167 170 168 171 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 170 176 171 177 USE land_surface_model_mod, & … … 490 496 !-- Note, at first timestep indoor model is called, in order to provide 491 497 !-- a waste heat flux. 492 IF ( indoor_model ) THEN498 IF ( indoor_model .AND. indoor_during_spinup ) THEN 493 499 494 500 time_indoor = time_indoor + dt_3d 495 501 496 IF ( time_indoor >= dt_indoor .OR. current_timestep_number == 0 ) THEN502 IF ( time_indoor >= dt_indoor .OR. current_timestep_number_spinup == 0 ) THEN 497 503 498 504 time_indoor = time_indoor - dt_indoor
Note: See TracChangeset
for help on using the changeset viewer.