Skip to content

Commit

Permalink
[GH Actions] fprettify source code
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPaskin committed Feb 5, 2025
1 parent e760f7d commit cfa4e98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/suews/src/suews_ctrl_driver.f95
Original file line number Diff line number Diff line change
Expand Up @@ -5528,7 +5528,7 @@ SUBROUTINE SUEWS_cal_multitsteps( &
building_archtype%CoolingSetpointTemperature = CoolingSetpointTemperature
siteInfo%building_archtype = building_archtype

ALLOCATE(stebbsBldgs(1))
ALLOCATE (stebbsBldgs(1))
CALL gen_building(stebbsState, stebbsPrm, building_archtype, stebbsBldgs(1))
! mod_State%stebbsBldgs = stebbsBldgs

Expand Down
16 changes: 8 additions & 8 deletions src/suews/src/suews_phys_stebbs.f95
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ SUBROUTINE reinitialiseTemperatures
END SUBROUTINE reinitialiseTemperatures

MODULE stebbs_building
CONTAINS
CONTAINS
SUBROUTINE gen_building(stebbsState, stebbsPrm, building_archtype, self)

USE SUEWS_DEF_DTS, ONLY: BUILDING_ARCHETYPE_PRM, STEBBS_STATE, STEBBS_PRM, LBM
Expand Down Expand Up @@ -1906,26 +1906,26 @@ SUBROUTINE gen_building(stebbsState, stebbsPrm, building_archtype, self)
self%Vindoormass = self%Vair_ind*self%ratioInternalVolume ! # Multiplied by factor that accounts for internal mass as proportion of total air volume
self%Aindoormass = 6*(self%Vindoormass**(2./3.)) ! # Assumed internal mass as a cube
self%h_i = (/self%conv_coeff_intwallroof, self%conv_coeff_indoormass, &
self%conv_coeff_intgroundfloor, self%conv_coeff_intwindow/)
self%conv_coeff_intgroundfloor, self%conv_coeff_intwindow/)

self%h_o = (/self%conv_coeff_extwallroof, self%conv_coeff_extwindow/)
self%k_eff = (/self%conductivity_wallroof, self%conductivity_groundfloor, &
self%conductivity_window, self%conductivity_ground/)

self%rho = (/self%density_wallroof, self%density_groundfloor, &
self%density_window, self%density_indoormass, &
self%density_air_ind/)
self%density_window, self%density_indoormass, &
self%density_air_ind/)
self%Cp = (/self%cp_wallroof, self%cp_groundfloor, self%cp_window, &
self%cp_indoormass, self%cp_air_ind/)
self%emis = (/self%emissivity_extwallroof, self%emissivity_intwallroof, &
self%emissivity_indoormass, self%emissivity_extwindow, &
self%emissivity_intwindow/)
self%emissivity_indoormass, self%emissivity_extwindow, &
self%emissivity_intwindow/)
self%wiTAR = (/self%windowTransmissivity, self%windowAbsorbtivity, self%windowReflectivity/)
self%waTAR = (/self%wallTransmisivity, self%wallAbsorbtivity, self%wallReflectivity/)

self%viewFactors = (/self%BVF_extwall, self%GVF_extwall, self%SVF_extwall/) ! # Building, ground, and sky view factors
self%occupantData = (/self%occupants, self%metabolic_rate, &
self%ratio_metabolic_latent_sensible/)
self%ratio_metabolic_latent_sensible/)

self%Tair_ind = stebbsState%IndoorAirStartTemperature + 273.15 ! # Indoor air temperature (K)
self%Tindoormass = stebbsState%IndoorMassStartTemperature + 273.15 ! # Indoor mass temperature (K)
Expand All @@ -1939,7 +1939,7 @@ SUBROUTINE gen_building(stebbsState, stebbsPrm, building_archtype, self)
self%Ts = (/building_archtype%HeatingSetpointTemperature + 273.15, &
building_archtype%CoolingSetpointTemperature + 273.15/) ! # Heating and Cooling setpoint temperatures (K), respectively
self%initTs = (/building_archtype%HeatingSetpointTemperature + 273.15, &
building_archtype%CoolingSetpointTemperature + 273.15/)
building_archtype%CoolingSetpointTemperature + 273.15/)
self%HTsAverage = (/18 + 273.15, 18 + 273.15, 18 + 273.15/) ! #
self%HWTsAverage = (/10 + 273.15, 10 + 273.15, 10 + 273.15/)

Expand Down

0 comments on commit cfa4e98

Please sign in to comment.