Skip to content

Main content

Stream Component Mole Share Tool

Calculate stream component mole share from explicit caller-supplied inputs.

Loading tool…

Description

Return a component's mole fraction.

A process stream can be described on mass, mole, phase or solvent bases, which are not interchangeable. Lever rules, partition factors and operating-line terms assume compatible composition definitions and an appropriate physical model; a local balance does not determine equilibrium properties or a complete separation design.

Return a component's mole fraction.

When to use this tool

Use Stream Component Mole Share when checking the stated stream composition, phase or separation-model term.

How to use the tool and how it works

  1. Enter componentMoles, totalMoles. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read moleFraction. Use the output convention below.

Return a component's mole fraction. Require totalMoles > 0 and componentMoles in [0,total]; moleFraction = component/total.1

Input fieldMeaning and unitsAccepted input
componentMolesComponent MolesRequired. Finite number; minimum 0.
totalMolesTotal MolesRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
moleFractionMole FractionRequired. Finite number.
json
{
  "input": {
    "componentMoles": 2,
    "totalMoles": 8
  },
  "output": {
    "moleFraction": 0.25
  }
}

Limitations and assumptions

  • Both amounts use matching mole units; this does not determine composition, phase state or a mixture property.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use verified equilibrium and material-property data on consistent bases and solve the complete process model for actual separation or equipment decisions.

References

  1. Calculation and input contract: chemical-engineering/stream-component-mole-share — tool.io

Similar or alternative tools