@beerwright/core
    Preparing search index...

    Interface WaterRuleSolverInput

    Input to solveWaterRule.

    interface WaterRuleSolverInput {
        allowedSalts?: readonly SaltId[];
        dilutionFraction?: number;
        dilutionProfile?: WaterProfile;
        minSaltGrams?: number;
        roundToGrams?: number;
        rule: WaterRule;
        source: WaterProfile;
        splitStrategy?: SaltSplitStrategy;
        volumes: WaterVolumes;
    }
    Index
    allowedSalts?: readonly SaltId[]

    Salts the solver may use. Defaults to DEFAULT_SOLVER_SALTS.

    dilutionFraction?: number

    RO/distilled share of the brewing water, 0–1. Defaults to 0.

    dilutionProfile?: WaterProfile

    What the dilution water is. Defaults to ion-free RO.

    minSaltGrams?: number

    Reject any salt whose dose is below this, grams. Defaults to 0.2.

    roundToGrams?: number

    Round doses to this many grams. Defaults to 0.1, the resolution of a brewing scale.

    rule: WaterRule

    The two conditions to satisfy.

    source: WaterProfile

    Water as it comes out of the tap.

    splitStrategy?: SaltSplitStrategy

    Where the salts go. Defaults to proportional.

    volumes: WaterVolumes

    Mash and sparge volumes.