To my fellow smoking friends. Here is a program I made in Python3 to calculate brine and nitrate cure strength. All calculations were obtained from the USDA Processing Inspectors' Calculations Handbook (1995).
Python3 is an open source programing language that can be installed on most computer platforms.
Any feedback is appreciated. :)
Here is the source code if anyone wishes to give it a whirl.
#############################################################################
#Python PPM cure calculator#
#This program will calculate PPM of Sodium nitrate in meat curing brine #
#All weights are in metric units #
# 03 APR 2019 #
#############################################################################
### Variables ###
#_H2Oltr amount of water in liters
#_curegm weight of cure #1 in gm
#_NaNO3 weight of Sodium nitrate (Cure weight * 0.0625)
#_ppm PPM calculated
#_ppmtar PPM target
#_brinepc brine concentration percent
#_brinekg weight of pickle
#_pickup meat pick up %
#_NaCl weight of salt needed for brine solution
### END VARIABLES ###
print ('PPM calculator for brine curing meat using cure #1 powder 6.25% NaNO3.')
print ()
print ()
_ppmtar = input ('What is your target PPM for this cure?')
_ppmtar = float (_ppmtar)
print ()
_H2Oltr = input ('Amount of water in liters?')
_H2Oltr = float (_H2Oltr)
print ()
_brinepc = input ('What is your brine concentration target in % salinity? (Decimal value)')
_brinepc = float (_brinepc)
print()
_NaCl = ((_H2Oltr)* _brinepc)/ abs(_brinepc -1)
_brinekg = _H2Oltr + _NaCl
_pickup = input ('What is the pickup %')
_pickup = float (_pickup)
print ()
_NaNO3 = (_ppmtar * _H2Oltr)
_NaNO3 = float(_NaNO3)
_curegm = (_NaNO3 * 16)/1000
_curegm = float (_curegm)
print ()
print ('You will need {:10.3f}'.format (_NaCl * 1000),'grams of salt for ',_H2Oltr,' liters of water.')
print ()
print ('Brine weight is: {:10.3f}'.format (_brinekg),'kg')
print ()
print ((_NaNO3),'mg NaNO3 needed for ',_ppmtar,' PPM nitrate.')
print ()
print ((_curegm),'grams of cure #1 needed for ',_ppmtar,' PPM nitrate.')
print ()
print ((_curegm * _pickup),'grams of cure #1 needed for ',_ppmtar,' PPM nitrate in a ',_pickup,'% pick up brine.')
print ()
print ('You will need{:10.3f}'.format ((_NaCl *1000) - (_curegm * _pickup)),'grams salt for a {:10.3f}'.format(_brinepc * 100),'% strength brine using ',(_curegm * _pickup),' grams of cure #1.')
Python3 is an open source programing language that can be installed on most computer platforms.
Any feedback is appreciated. :)
Here is the source code if anyone wishes to give it a whirl.
#############################################################################
#Python PPM cure calculator#
#This program will calculate PPM of Sodium nitrate in meat curing brine #
#All weights are in metric units #
# 03 APR 2019 #
#############################################################################
### Variables ###
#_H2Oltr amount of water in liters
#_curegm weight of cure #1 in gm
#_NaNO3 weight of Sodium nitrate (Cure weight * 0.0625)
#_ppm PPM calculated
#_ppmtar PPM target
#_brinepc brine concentration percent
#_brinekg weight of pickle
#_pickup meat pick up %
#_NaCl weight of salt needed for brine solution
### END VARIABLES ###
print ('PPM calculator for brine curing meat using cure #1 powder 6.25% NaNO3.')
print ()
print ()
_ppmtar = input ('What is your target PPM for this cure?')
_ppmtar = float (_ppmtar)
print ()
_H2Oltr = input ('Amount of water in liters?')
_H2Oltr = float (_H2Oltr)
print ()
_brinepc = input ('What is your brine concentration target in % salinity? (Decimal value)')
_brinepc = float (_brinepc)
print()
_NaCl = ((_H2Oltr)* _brinepc)/ abs(_brinepc -1)
_brinekg = _H2Oltr + _NaCl
_pickup = input ('What is the pickup %')
_pickup = float (_pickup)
print ()
_NaNO3 = (_ppmtar * _H2Oltr)
_NaNO3 = float(_NaNO3)
_curegm = (_NaNO3 * 16)/1000
_curegm = float (_curegm)
print ()
print ('You will need {:10.3f}'.format (_NaCl * 1000),'grams of salt for ',_H2Oltr,' liters of water.')
print ()
print ('Brine weight is: {:10.3f}'.format (_brinekg),'kg')
print ()
print ((_NaNO3),'mg NaNO3 needed for ',_ppmtar,' PPM nitrate.')
print ()
print ((_curegm),'grams of cure #1 needed for ',_ppmtar,' PPM nitrate.')
print ()
print ((_curegm * _pickup),'grams of cure #1 needed for ',_ppmtar,' PPM nitrate in a ',_pickup,'% pick up brine.')
print ()
print ('You will need{:10.3f}'.format ((_NaCl *1000) - (_curegm * _pickup)),'grams salt for a {:10.3f}'.format(_brinepc * 100),'% strength brine using ',(_curegm * _pickup),' grams of cure #1.')