brew.recipes

class brew.recipes.Recipe(name, grain_additions=None, hop_additions=None, yeast=None, percent_brew_house_yield=0.7, start_volume=7.0, final_volume=5.0, units='imperial')

A representation of a Recipe that can be brewed to make beer.

change_units()

Change units from one type to the other return new instance

format()
get_boil_gravity()
get_boil_gravity_units()
get_brew_house_yield(plato_actual, vol_actual)

Brew House Yield (BHY) Brew house yield is a measurement that tells the efficiency of the brewing. The actual degrees Plato from the brew and the actual gallons collected out of the kettle are needed to calculate the BHY.

BHY = [(Pactual)(galactual)(BHYtarget)] / [(Ptarget)(galtarget)]

get_bu_to_gu()

Returns ratio of Bitterness Units to Original Gravity Units

get_degrees_plato()
get_extract_weight()

Weight of Extract The weight of extract is the amount of malt extract present in the wort.

Lbs extract = (density of water) * (gal of wort) * (SG) * (P/100)

The weight of one gallon of water in the above formula is 8.32 lbs/gal

To find the weight of a gallon of wort, multiply the specific gravity of the wort by the density of water.

Plato is a percentage of sugars by weight. So 10 Plato means solution is 10% sugars. In this equation we convert the degrees plato to a decimal number between 0.0 and 1.0 by dividing it by 100. This is multiplied by the weight of a gallon of wort.

get_final_gravity()
get_final_gravity_units()
get_grain_add_cereal_weight(grain_add)

When converting DME or LME to grain its important to remember that you can’t get 100% efficiency from grains. Dividing by the brew house yield will increase the size of the grain accordingly.

get_grain_add_dry_weight(grain_add)

When converting Grain to DME its important to remember that you can’t get 100% efficiency from grains. Multiplying by the brew house yield will decrease the size of the DME accordingly.

get_mash_water_volume(liquor_to_grist_ratio)

Mash Water Volume To calculate the mash water volume you will need to know your liquor to grist ratio. The term liquor refers to the mash water and grist refers to the milled malt. We need to calculate the appropriate amount of water to allow for enzyme action and starch conversion take place.

gallons H2O = (Lbs malt)(L:G)(1gallon H2O) / 8.32 pounds water

get_original_gravity()
get_original_gravity_units()
get_percent_ibus(hop_add)

Get the percentage the hops contributes to total ibus

get_percent_malt_bill(grain_add)

Percent malt bill is how much extract each grain addition adds to the recipe. To ensure different additions are measured equally each is converted to dry weight.

classmethod get_strike_temp(mash_temp, malt_temp, liquor_to_grist_ratio)

Strike Water Temp As you know when you are mashing, your strike water has to be warmer than the target mash temperature because the cool malt will cool the temperature of the water. To correctly calculate the temperature of the strike water, use the following formula.

Strike Temp = [((0.4)(T mash-T malt)) / L:G] + T mash

get_total_dry_weight()
get_total_grain_weight()
get_total_ibu()

Convenience method to get total IBU for the recipe

get_total_points()
get_total_wort_color()

Convenience method to get total wort color

get_total_wort_color_map()

Convenience method to get total wort color

get_wort_color(grain_add)
get_wort_color_mcu(grain_add)

Calculation of Wort and Beer Color

Color of Wort = S [(% extract)(L of malt)(P wort / 8P reference)]

Source: http://beersmith.com/blog/2008/04/29/beer-color-understanding-srm-lovibond-and-ebc/ http://brewwiki.com/index.php/Estimating_Color

grain_lookup = {}
hop_lookup = {}
set_units(units)
to_dict()
to_json()
classmethod validate(recipe)