guests = 70 to 115 guests_served_per_full_size_pan = 15 to 40 types_of_heated_food = 2 to 4 number_of_pans = guests / guests_served_per_full_size_pan * types_of_heated_food pan_width = 10 to 13 pan_length = 18 to 22 pan_water_depth = 0.75 to 2 cubic_inches_of_water_per_pan = pan_width * pan_length * pan_water_depth total_cubic_inches_of_water = number_of_pans * cubic_inches_of_water_per_pan gallons_of_water = total_cubic_inches_of_water / 231
Calculator.make({|resident_count, liters_per_day_per_resident, filtered_fraction, home_fraction, tap_gpm, apec_gpm, multipure_gpm, culligan_gpm| annual_hours_spent_dispensing_water(gpm) = { liters_per_gallon = 128/33.8 gallons_per_day_per_resident = liters_per_day_per_resident / liters_per_gallon filtered_at_home_gallons_per_day_per_resident = gallons_per_day_per_resident * home_fraction * filtered_fraction filtered_gallons_dispensed_at_home_per_year = resident_count * filtered_at_home_gallons_per_day_per_resident * 365.25 filtered_gallons_dispensed_at_home_per_year / gpm / 60
my_dist = 0.1 to 1 Plot.dist(my_dist, {xScale: Scale.linear({ min: -2, max: 6, title: "X Axis Title" }), showSummary: true})
Calculator.make({|resident_count, liters_per_day_per_resident, filtered_fraction, home_fraction| liters_per_gallon = 128/33.8 gallons_per_day_per_resident = liters_per_day_per_resident / liters_per_gallon filtered_at_home_gallons_per_day_per_resident = gallons_per_day_per_resident * home_fraction * filtered_fraction filtered_gallons_dispensed_at_home_per_year = resident_count * filtered_at_home_gallons_per_day_per_resident * 365.25 filtered_gallons_dispensed_at_home_per_year }, {