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

breaker space prediction update #1335

Open
wants to merge 4 commits into
base: ll/test_panel_cap
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions measures/ResStockArguments/resources/electrical_panel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,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