brew.utilities.hops

class brew.utilities.hops.HopsUtilization(hop_addition, units=u'imperial')

http://www.boondocks-brewing.com/hops

Parameters:
  • hop_addition (HopAddition) – A hop addition
  • units (str) – The units
change_units()

Change units of the class from one type to the other

Returns:Hop Addition in new unit type
Return type:HopAddition
classmethod format_utilization_table()

Percent Alpha Acid Utilization - Boil Time vs Wort Original Gravity

Returns:The formatted utilization table
Return type:str

Source:

get_ibus(sg, final_volume)

Get the IBUs

Parameters:
  • sg (float) – Specific Gravity
  • final_volume (float) – The Final Volume of the wort
Returns:

The IBUs of the wort

Return type:

float

classmethod get_percent_utilization(sg, boil_time)

Get the percent utilization

Parameters:
  • sg (float) – Specific Gravity
  • boil_time (float) – The Boil Time in minutes
Raises:

NotImplementedError – This must be overridden

classmethod get_utilization_table(gravity_list, boil_time_list, sig=3)

Get the utilization table for the class

Parameters:
  • gravity_list (list) – A list of specific gravities
  • boil_time_list (list) – A list of boil times in minutes
  • sig (int) – Significant figures to round
Returns:

A table of utilization for specific gravity vs boil time

Return type:

list

set_units(units)

Set the units and unit types

Parameters:units (str) – The units
class brew.utilities.hops.HopsUtilizationJackieRager(hop_addition, units=u'imperial')

Jackie Rager Hops Utilization Method

Best for extract and partial mash brewing.

Parameters:
  • hop_addition (HopAddition) – A hop addition
  • units (str) – The units
change_units()

Change units of the class from one type to the other

Returns:Hop Addition in new unit type
Return type:HopAddition
format_utilization_table()

Percent Alpha Acid Utilization - Boil Time vs Wort Original Gravity

Returns:The formatted utilization table
Return type:str

Source:

classmethod get_c_gravity(sg)

Get Cgravity

Parameters:sg (float) – Specific Gravity
Returns:Cgravity
Return type:float

Cgravity is a constant to adjust the boil size when dealing with specific gravity greater than 1.050 in the calculation of IBUs.

get_ibus(sg, final_volume)

Get the IBUs

Parameters:
  • sg (float) – Specific Gravity
  • final_volume (float) – The Final Volume of the wort
Returns:

The IBUs of the wort

Return type:

float

classmethod get_percent_utilization(sg, boil_time)

Get the percent utilization

Parameters:
  • sg (float) – Specific Gravity
  • boil_time (float) – The Boil Time in minutes
Returns:

The percent utilization

Return type:

float

Source:

get_utilization_table(gravity_list, boil_time_list, sig=3)

Get the utilization table for the class

Parameters:
  • gravity_list (list) – A list of specific gravities
  • boil_time_list (list) – A list of boil times in minutes
  • sig (int) – Significant figures to round
Returns:

A table of utilization for specific gravity vs boil time

Return type:

list

set_units(units)

Set the units and unit types

Parameters:units (str) – The units
class brew.utilities.hops.HopsUtilizationGlennTinseth(hop_addition, units=u'imperial')

Glenn Tinseth Hops Utilization Method

Best for all grain brewing.

Parameters:
  • hop_addition (HopAddition) – A hop addition
  • units (str) – The units
change_units()

Change units of the class from one type to the other

Returns:Hop Addition in new unit type
Return type:HopAddition
format_utilization_table()

Percent Alpha Acid Utilization - Boil Time vs Wort Original Gravity

Returns:The formatted utilization table
Return type:str

Source:

classmethod get_bigness_factor(sg)

Get Bigness Factor

Parameters:sg (float) – Specific Gravity
Returns:Bigness Factor
Return type:float

The Bigness factor accounts for reduced utilization due to higher wort gravities. Use an average gravity value for the entire boil to account for changes in the wort volume.

\(\text{Bigness factor} = 1.65 \times 0.000125^{\text{wort gravity} - 1}\)

classmethod get_boil_time_factor(boil_time)

Get Boil Time Factor

Parameters:boil_time (float) – Boil Time in minutes
Returns:Boil Time Factor
Return type:float

The Boil Time factor accounts for the change in utilization due to boil time:

\(\text{Boil Time factor} = \frac{1 - e^{-0.04 \times \text{time in mins}}}{4.15}\)

get_ibus(sg, final_volume)

Get the IBUs

Parameters:
  • sg (float) – Specific Gravity
  • final_volume (float) – The Final Volume of the wort
Returns:

The IBUs of the wort

Return type:

float

classmethod get_percent_utilization(sg, boil_time)

Get the percent utilization

Parameters:
  • sg (float) – Specific Gravity
  • boil_time (float) – The Boil Time in minutes
Returns:

The percent utilization

Return type:

float

Source:

get_utilization_table(gravity_list, boil_time_list, sig=3)

Get the utilization table for the class

Parameters:
  • gravity_list (list) – A list of specific gravities
  • boil_time_list (list) – A list of boil times in minutes
  • sig (int) – Significant figures to round
Returns:

A table of utilization for specific gravity vs boil time

Return type:

list

set_units(units)

Set the units and unit types

Parameters:units (str) – The units