# Parameter reference

## Shared parameters

| Key | Display name | Default | Range in UI | Unit / meaning |
|---|---|---:|---:|---|
| `pressure` | Column pressure | 760 | 500–1200 | mmHg absolute |
| `feed` | Feed composition zF | 0.50 | 0.22–0.82 | Mole fraction n-hexane in feed |
| `distillate` | Distillate xD | 0.95 | 0.75–0.99 | Mole fraction n-hexane in distillate |
| `bottoms` | Bottoms xB | 0.05 | 0.01–0.20 | Mole fraction n-hexane in bottoms |
| `reflux` | Reflux ratio R | 2.5 | 0.3–8.0 | External reflux liquid / distillate molar flow |
| `q` | Feed thermal condition | 1.0 | 0.2–1.5 | q-line parameter; q = 1 is saturated liquid |
| `feedRate` | Feed flow F | 100 | 10–500 | kmol/h |

The engine sanitises imported or manually modified scenario values to safe computational ranges. It also constrains feed composition between the bottoms and distillate compositions for normal operation.

## Module-local parameters

### Batch experiment
- Distillate recovery D/F: 0 to 0.85.
- Initial batch charge: fixed at 100 kmol in the experiment view.
- Feed composition and pressure are inherited from the shared scenario.

### Design comparison
- Alternative reflux ratio: 0.3 to 8.0.
- Alternative pressure: 500 to 1200 mmHg.
- Alternative distillate target: 0.75 to 0.99.
- The alternative inherits feed composition, bottoms target, feed condition and feed flow from the shared scenario.

### Challenge mode
- Maximum theoretical stages: 4 to 30.
- Maximum reflux ratio: 1 to 8.
- Maximum vapour traffic: 80 to 500 kmol/h.
- Minimum distillate purity: 0.80 to 0.99.
- Maximum bottoms light-component fraction: 0.02 to 0.20.

### Mathematical model explorer
- Liquid composition xA: 0 to 1.
- Pressure is inherited from the shared scenario.

## Scenario JSON

The application exports an object with `schema`, `name` and `params` keys. The `params` object contains the seven shared fields above. Unknown fields are ignored by the engine; known fields are clamped to their supported ranges.
