Admin: Formulas

Define how parameters interact by creating formulas that compute target values.

← Back to Configurator

Existing Formulas

These formulas are evaluated when the configurator runs calculations.

5 total
ID Name Target Parameter Expression Engine Active Actions
4 Control stability from PN and temperature controlStability (Control Stability)
pressureRating === 4 && operatingTemperature === 20 ? 0.05 :pressureRating === 6 && operatingTemperature === 20 ? 0.1 :pressureRating === 16 && operatingTemperature === 50 ? 0.2 : null
expr Active
3 Max operating temperature from pressure rating operatingTemperatureMax (Max Allowed Operating Temperature)
pressureRating === 16 ? 50 :pressureRating === 10 ? 70 : 70
expr Active
5 Pressure rating from sealing material pressureRating (Pressure Rating)
sealingMaterial === 'FKM' ? 10 :sealingMaterial === 'EPDM' ? 16 : pressureRating
expr Active
2 Settling time from pressure rating settlingTime (Settling Time)
pressureRating <= 6 ? 150 :pressureRating <= 10 ? 200 :pressureRating <= 16 ? 300 : null
expr Active
1 Turndown ratio from accuracy class turndownRatio (Turndown Ratio)
accuracyClass === '0.5%Rd+0.1%FS' ? 1000 :accuracyClass === '0.8%Rd+0.2%FS' ? 500 :accuracyClass === '1.5%Rd+0.5%FS' ? 50 : null
expr Active

Create New Formula

A formula computes the value of a target parameter based on other parameters in the context.

This parameter will be updated with the computed result of the formula.

Use parameter keys (e.g. PN, temperature) in your expression. It is evaluated with new Function(...).

For now, keep this as expr.

New formulas are created as active by default. You can later toggle them in an edit UI.