Changeset 4242 for palm/trunk
- Timestamp:
- Sep 27, 2019 12:59:10 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chem_emissions_mod.f90
r4230 r4242 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Adjust index_hh access to new definition accompanied with new 30 ! palm_date_time_mod. Note, this is just a preleminary fix. (E Chan) 31 ! 32 ! 4230 2019-09-11 13:58:14Z suehring 29 33 ! Bugfix, consider that time_since_reference_point can be also negative when 30 34 ! time indices are determined. … … 1142 1146 !-- Read-in the correspondant time factor 1143 1147 1144 time_factor(:) = emt_att%hourly_emis_time_factor(:,index_hh )1148 time_factor(:) = emt_att%hourly_emis_time_factor(:,index_hh+1) 1145 1149 1146 1150 ! … … 1191 1195 time_factor(:) = emt_att%mdh_emis_time_factor(:,index_mm) * & 1192 1196 emt_att%mdh_emis_time_factor(:,index_dd) * & 1193 emt_att%mdh_emis_time_factor(:,index_hh )1197 emt_att%mdh_emis_time_factor(:,index_hh+1) 1194 1198 1195 1199 ! … … 1240 1244 1241 1245 index_hh = hour_of_day 1242 time_factor(1) = par_emis_time_factor(index_hh )1246 time_factor(1) = par_emis_time_factor(index_hh+1) 1243 1247 1244 1248 ENDIF ! emiss_lod … … 1470 1474 emis_distribution(1,nys:nyn,nxl:nxr,ispec) = & 1471 1475 emt(match_spec_input(ispec))% & 1472 preproc_emission_data(index_hh ,1,nys+1:nyn+1,nxl+1:nxr+1) *&1476 preproc_emission_data(index_hh+1,1,nys+1:nyn+1,nxl+1:nxr+1) * & 1473 1477 conversion_factor 1474 1478 -
palm/trunk/SOURCE/indoor_model_mod.f90
r4238 r4242 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bugfix in array index 29 ! 30 ! 4238 2019-09-25 16:06:01Z suehring 28 31 ! - Bugfix in determination of minimum facade height and in location message 29 32 ! - Bugfix, avoid division by zero … … 949 952 building_type == 3 .OR. building_type == 10 .OR. & 950 953 building_type == 11 .OR. building_type == 12 ) THEN 951 buildings( nb)%ventilation_int_loads = 1954 buildings(:)%ventilation_int_loads = 1 952 955 ! 953 956 !-- Office, building with large windows … … 955 958 building_type == 6 .OR. building_type == 7 .OR. & 956 959 building_type == 8 .OR. building_type == 9) THEN 957 buildings( nb)%ventilation_int_loads = 2960 buildings(:)%ventilation_int_loads = 2 958 961 ! 959 962 !-- Industry, hospitals … … 961 964 building_type == 15 .OR. building_type == 16 .OR. & 962 965 building_type == 17 .OR. building_type == 18 ) THEN 963 buildings( nb)%ventilation_int_loads = 3966 buildings(:)%ventilation_int_loads = 3 964 967 ENDIF 965 968 !
Note: See TracChangeset
for help on using the changeset viewer.