Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaults standardization #10

Merged
merged 3 commits into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/inputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ Base.@kwdef mutable struct InputsStruct
##### These are the exact /GhpGhx POST names from the API #####
# Parameters
heat_pump_configuration::String = "WSHP" # "WSHP" or "WWHP"
borehole_depth_ft::Float64 = 400.0
ghx_header_depth_ft::Float64 = 4.0
borehole_depth_ft::Float64 = 443.0 # ResStock = 152m, ComStock and URBANopt = 135m = 443 ft
ghx_header_depth_ft::Float64 = 6.6 # ResStock, ComStock, and URBANopt value is 2m = 6.56168 ft
borehole_spacing_ft::Float64 = 20.0
borehole_diameter_inch::Float64 = 5.0
borehole_diameter_inch::Float64 = 6.0 # ResStock, ComStock, and URBANopt value is 6 inch
borehole_spacing_type::String = "rectangular" # "rectangular" or "hexagonal"
ghx_pipe_outer_diameter_inch::Float64 = 1.66
ghx_pipe_wall_thickness_inch::Float64 = 0.16
ghx_pipe_thermal_conductivity_btu_per_hr_ft_f::Float64 = 0.25
ghx_shank_space_inch::Float64 = 2.5
ghx_pipe_thermal_conductivity_btu_per_hr_ft_f::Float64 = 0.23 # ReStock, ComStock and URBANopt value is 0.4 W/m-K which is 0.23127039296 BTU/ft-F
ghx_shank_space_inch::Float64 = 1.27 # ResStock = 0.0246m = 0.97 inch, ComStock & URBANopt = 0.0323m = 1.27 inch. Goes with ComStock & URBANopt value
ground_thermal_conductivity_btu_per_hr_ft_f::Float64 = NaN # Default depends on climate zone
ground_mass_density_lb_per_ft3::Float64 = 162.3
ground_specific_heat_btu_per_lb_f::Float64 = 0.211
grout_thermal_conductivity_btu_per_hr_ft_f::Float64 = 1.0
grout_thermal_conductivity_btu_per_hr_ft_f::Float64 = 0.75 # ResStock, ComStock, URBANopt value = 1.3 W/m-K = 0.75 BTU/ft-F
ghx_fluid_specific_heat_btu_per_lb_f::Float64 = 1.0
ghx_fluid_mass_density_lb_per_ft3::Float64 = 62.4
ghx_fluid_thermal_conductivity_btu_per_hr_ft_f::Float64 = 0.34
Expand Down