Reviewed-on: #14 Co-authored-by: Nicholas Ward <nicholaspward@outlook.com>
1.9 KiB
1.9 KiB
Scaling, Batching & Yield Calculations
Formulation is a weight-first formulation engine designed to scale recipes across commercial batch sizes without calculation rounding drift.
1. Batch Multipliers vs. Yield-Target Scaling
Recipes can be scaled in two primary modes:
A. Batch Multiplier (x Factor)
To scale by a batch multiplier:
- Open the recipe in view mode or edit mode.
- In the Batch field, enter a multiplier value (such as
0.5,2,5, or10). - Every ingredient quantity scales proportionally by the exact factor.
B. Target Yield Scaling
To scale to a specific finished yield target:
- Open the recipe.
- In the Yield field, enter the target finished quantity.
- Select the desired yield unit from the unit list.
- Formulation computes the required scale factor based on total recipe weight and updates all ingredient quantities immediately.
2. Weight-Based Auto-Yield Calculation
To enable automatic total yield calculation:
- Open the recipe in edit mode.
- Turn on the Auto calculate total yield toggle.
- Formulation calculates the weight in grams for every ingredient using standard conversion factors or ingredient-specific density measurements.
- The total recipe yield quantity updates automatically to equal the exact sum of all ingredient weights.
- If an ingredient lacks a volume-to-weight equivalency, a notice appears: "Auto yield excludes N ingredient amounts without a weight equivalency."
3. Unit Conversion Safety
- Ingredients measured in mass (such as
g,kg,oz,lb) convert directly across all mass units. - Ingredients measured in volume (such as
cup,tbsp,tsp,liter,ml) require an ingredient density measurement (such as1 cup = 120 g) to convert to mass. - Cross-dimensional conversions without density data are rejected to maintain strict culinary accuracy.