Yoopers, you mentioned that you didn't get a clear understanding of how masterbatching works (in the
soap calculator testing thread), so I've added this as a programming guide.
Calculation details (the specifications for post 2):
Codes:
Note: All percentages expressed in decimal form for calculations (eg: 75% would be 0.75)
Masterbatch_Concentration = Masterbatch Concentration (lye concentration of the masterbatch solution, expressed in decimal form).
Note1: The default value of a masterbatch solution should be 0.50, as the masterbatch solution is usually made at a lye concentration of 50%
Note2: The upper limit of the masterbatch concentration should be 0.50 (close to the saturation point of the hydroxides in water)
Note3: The lower limit of the masterbatch concentration should be 0.25 (weaker solutions are less likely to successfully make soap)
Masterbatch_Weight = The total weight of the masterbatch mixture required (to add the correct amount of hydroxide for the recipe)
Masterbatch_Water = The weight of the water component of the master batch (excluding the hydroxide weight)
Hydroxide_Weight = The calculated weight of the Hydroxide to make the soap with the parameters specified (oils, superfat etc.)
Lye_Concentration = Lye concentration as entered in recipe, expressed in decimal form (eg. 33% would be 0.33)
Note1: Lye ratios etc. are to be converted to lye concentration for these calculations
Note2: The lye concentration cannot be greater than the masterbatch concentration
Total_Water = Total Water required for the recipe (to make the lye to the specified lye concentration)
Additional_Water = The amount of additional water required when a masterbatch solution is used, to get to the entered lye concentration
Note: Water is used to describe the liquid component, however other liquids can be substituted for the water amount
Calculations:
Total_Water = Hydroxide_Weight / Lye_Concentration
Masterbatch_Weight = Hydroxide_Weight/Masterbatch_Concentration
Masterbatch_Water = Masterbatch_Weight - Hydroxide_Weight
Additional_Water = Total_Water - Masterbatch_Water
Examples
2 examples of how the calculations work.
Example 1:
Lye concentration is entered in the recipe as 33%, the masterbatch is the default strength of 50% lye concentration.
Let's assume, for this first example, that the hydroxide ("lye") weight calculated for the recipe is 192.30g
Entered values:
Lye_Concentration = 0.33
Hydroxide_Weight = 192.30g
Masterbatch_Concentration = 0.50
Calculated values:
Total_Water = Hydroxide_Weight / Lye_Concentration
=> Total_Water = 192.30 / 0.33
=> Total_Water = 582.73g
Masterbatch_Weight = Hydroxide_Weight/Masterbatch_Concentration
=> Masterbatch_Weight = 192.30g/0.50
=> Masterbatch_Weight = 384.60g
Masterbatch_Water = Masterbatch_Weight - Hydroxide_Weight
=> Masterbatch_Water = 384.60g - 192.30g
=> Masterbatch_Water = 192.30g
Additional_Water = Total_Water - Masterbatch_Water
=> Additional_Water = 582.73g - 192.30g
=> Additional_Water = 390.43g
Example 1 results:
The weight of masterbatched liquid to add is 384.60 grams
The weight of additional liquid to add is 390.43 grams
(Combined weight = 775.03g)
Checking the answers for example 1:
The amount of "lye" the recipe needs is 192.30 grams
The amount of "water" the recipe needs is 582.73 grams
(The sum of these two is also 775.03 grams)
Example 2:
"Lye ratio" of 2.4:1 is entered (2.4 parts "water" to 1 part "lye")
Masterbatch percentage is made at the default of 1:1 (1 part hydroxide to 1 part water)
Let's assume, for this second example, that the recipe requires you add 12.34oz of "lye" (hydroxide) to make your lye solution.
Entered values:
Lye_Concentration = 1- 2.4/3.4
Hydroxide_Weight = 12.34oz
Masterbatch_Concentration = 0.50
Calculated values:
Total_Water = Hydroxide_Weight / Lye_Concentration
=> Total_Water = 12.34oz / (1 - 2.4/3.4)
=> Total_Water = 12.34oz / 0.2941176 ... (do not round until the calculation is completed)
=> Total_Water = 41.96oz
Masterbatch_Weight = Hydroxide_Weight/Masterbatch_Concentration
=> Masterbatch_Weight = 12.34oz/0.50
=> Masterbatch_Weight = 24.68oz
Masterbatch_Water = Masterbatch_Weight - Hydroxide_Weight
=> Masterbatch_Water = 24.68oz - 12.34oz
=> Masterbatch_Water = 12.34oz
Additional_Water = Total_Water - Masterbatch_Water
=> Additional_Water = 41.96oz - 12.34oz
=> Additional_Water = 29.62oz
Example 2 results:
The weight of masterbatched liquid to add is 24.68 ounces (by weight)
The weight of additional liquid to add is 29.62 ounces (by weight)
(Together these equal 54.30oz)
Checking the answer for example 2:
The amount of "lye" the recipe needs is 12.34oz
The amount of "water" the recipe needs is 41.96oz
(Together these also equal 54.30oz)