Skip to content

Commit

Permalink
Merge pull request #1340 from NREL/ll/test_panel_cap_break_space_update
Browse files Browse the repository at this point in the history
 break space update
  • Loading branch information
lixiliu authored Jan 29, 2025
2 parents 8186517 + 20e9527 commit 0d36268
Show file tree
Hide file tree
Showing 3 changed files with 2,626 additions and 158 deletions.
4 changes: 4 additions & 0 deletions measures/ResStockArguments/resources/electrical_panel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,14 @@ def sample_rated_capacity_bin(rated_capacity_map, args)
end

def sample_breaker_space_headroom(breaker_space_headroom_prob_map, args)
# emulate Geometry Building Type RECS
geometry_building_type_recs = convert_building_type(args[:geometry_unit_type], args[:geometry_building_num_units])
# calculate number of major electric load
major_elec_load_count = get_major_elec_load_count(args)

lookup_array = [
geometry_building_type_recs,
args[:geometry_unit_cfa_bin],
major_elec_load_count.to_s,
args[:electric_panel_service_rating_bin].to_s,
]
Expand Down
Loading

0 comments on commit 0d36268

Please sign in to comment.