Skip to content

Instantly share code, notes, and snippets.

@anttikantee
Created October 23, 2018 22:08
Show Gist options
  • Save anttikantee/67a2a2b25494099d4ee899562186f7b2 to your computer and use it in GitHub Desktop.
Save anttikantee/67a2a2b25494099d4ee899562186f7b2 to your computer and use it in GitHub Desktop.
pooka@watou:~/src/brewcalc$ ./bin/wbckegp.py -h
usage: ./bin/wbckegp.py [-v keg volume]
temperature|pressure|vols temperature|pressure|vols
pooka@watou:~/src/brewcalc$ ./bin/wbckegp.py 3.4 18degC
Pressure : 2.85 bar 41.3 psi
Temperature : 18.0°C 64.4°F
CO2 (v/v) : 3.4
Dissolved CO2 (w/v) : 6.72 g/l 0.25 oz/qt
Headspace CO2 (w/v) : 7.17 g/l 0.27 oz/qt
pooka@watou:~/src/brewcalc$ python ./bin/wbckegp.py -v 5gal 4degC 3.4
Pressure : 1.44 bar 20.9 psi
Temperature : 4.0°C 39.2°F
CO2 (v/v) : 3.4
Dissolved CO2 (w/v) : 6.72 g/l 0.25 oz/qt
Headspace CO2 (w/v) : 4.78 g/l 0.18 oz/qt
Dissolved CO2 (init.) : 127 g 4.49 oz
Headspace CO2 (final) : 90.5 g 3.19 oz
Total CO2 use : 218 g 7.68 oz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment