Skip to content

Mash

pybeerxml.mash.Mash dataclass

A mash profile, including temperature steps.

Attributes:

Name Type Description
name str | None

Profile name.

grain_temp float | None

Initial grain temperature in °C.

sparge_temp float | None

Sparge water temperature in °C.

ph float | None

Target mash pH.

notes str | None

Free-text notes.

tun_temp float | None

Mash tun temperature in °C.

tun_weight float | None

Mash tun weight in kg.

tun_specific_heat float | None

Specific heat of the mash tun material in Cal/(g·°C).

steps list[MashStep]

Ordered list of mash temperature steps.

equip_adjust property writable

Whether mash temperatures are adjusted for equipment heat capacity.

MashStep

pybeerxml.mash_step.MashStep

A single temperature step within a mash profile.

Attributes:

Name Type Description
name str | None

Step name (e.g. "Dough In", "Conversion", "Mash Out").

type str | None

Step type — "Infusion", "Temperature", or "Decoction".

infuse_amount float | None

Volume of water infused in litres (infusion steps only).

step_temp float | None

Target step temperature in °C.

end_temp float | None

Final temperature at end of step in °C.

step_time float | None

Step duration in minutes.

decoction_amt str | None

Volume of mash removed for decoction (decoction steps only).

water_ratio property

Water-to-grain ratio for this step. Not yet implemented.