Ignore:
Timestamp:
Nov 14, 2018 4:06:14 PM (5 years ago)
Author:
kanani
Message:

Changes related to clean-up of biometeorology (by dom_dwd_user)

File:
1 edited

Legend:

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

    r3448 r3525  
    2525! -----------------
    2626! $Id$
     27! Changes related to clean-up of biometeorology (dom_dwd_user)
     28!
     29! 3448 2018-10-29 18:14:31Z kanani
    2730! Adjustment of biometeorology calls,
    2831! implement some agent biometeorology
     
    342345
    343346    USE biometeorology_mod,                                                   &
    344         ONLY:  biom_calc_ipt, biom_determine_input_at
     347        ONLY:  bio_calc_ipt, bio_calculate_mrt_grid, bio_get_thermal_index_input_ij
    345348
    346349
     
    522525!--    those agents to be deleted after the timestep
    523526       deleted_agents = 0
    524 !
     527
    525528       IF ( biometeorology )  THEN
     529!
     530!--       Fill out the MRT 2D grid from appropriate source (RTM, RRTMG,...)
     531          CALL bio_calculate_mrt_grid ( .FALSE. )
    526532!
    527533!--       Call of human thermal comfort mod (and UV exposure)
     
    537543!
    538544!--             Evaluation of social forces
    539 !                CALL biom_dynamic(i,j)
     545!                CALL bio_dynamic( i, j )
    540546!
    541547!--             Determine local meteorological conditions
    542                 CALL biom_determine_input_at ( .FALSE., i, j, ta, vp, v,      &
    543                                                pair, tmrt )
     548                CALL bio_get_thermal_index_input_ij ( .FALSE., i, j, ta, vp,  &
     549                                                      v, pair, tmrt )
    544550
    545551                DO  a = 1, number_of_agents
     
    547553!--                Calculate instationary thermal indices based on local tmrt
    548554
    549                    CALL biom_calc_ipt ( ta, vp, v, pair, tmrt,                &
    550                                         agents(a)%dt_sum,                     &
    551                                         agents(a)%energy_storage,             &
    552                                         agents(a)%clothing_temp,              &
    553                                         agents(a)%clo,                        &
    554                                         agents(a)%actlev,                     &
    555                                         agents(a)%age_years,                  &
    556                                         agents(a)%weight,                     &
    557                                         agents(a)%height,                     &
    558                                         agents(a)%work,                       &
    559                                         agents(a)%sex,                        &
    560                                         agents(a)%ipt )
     555                   CALL bio_calc_ipt ( ta, vp, v, pair, tmrt,                 &
     556                                       agents(a)%dt_sum,                      &
     557                                       agents(a)%energy_storage,              &
     558                                       agents(a)%clothing_temp,               &
     559                                       agents(a)%clo,                         &
     560                                       agents(a)%actlev,                      &
     561                                       agents(a)%age_years,                   &
     562                                       agents(a)%weight,                      &
     563                                       agents(a)%height,                      &
     564                                       agents(a)%work,                        &
     565                                       agents(a)%sex,                         &
     566                                       agents(a)%ipt )
    561567                END DO
    562568
Note: See TracChangeset for help on using the changeset viewer.