LIVEdataset releasetasks 552models 18last submission · built
task library
built templateconvergence-assessmentwith-tool

Mass Balance

Calculates global mass balance closure from two inlet and two outlet streams using an explicit closure tolerance. The template reports total inlet, total outlet, imbalance, closure error percentage, and a numeric closure flag.

inputs

5 fields

context

2 archetypes

engine

with-tool

outputs

5 scored fields

contract fields

Parameter Map

5 inputs to 5 scored outputs

  • inlet_1_kg_h

    float

    First inlet mass flow

    0 to 100000000kg/h
  • inlet_2_kg_h

    float

    Second inlet mass flow

    0 to 100000000kg/h
  • outlet_1_kg_h

    float

    First outlet mass flow

    0 to 100000000kg/h
  • outlet_2_kg_h

    float

    Second outlet mass flow

    0 to 100000000kg/h
  • closure_tolerance_pct

    float

    Allowed absolute closure error percentage

    0 to 20%
total_inlet_kg_htol 0.03

Total inlet mass flow

total_outlet_kg_htol 0.03

Total outlet mass flow

imbalance_kg_htol 0.03

Mass imbalance, positive when inlet exceeds outlet

closure_error_pcttol 0.03

Absolute closure error percentage

closure_satisfiedtol 0.01

Numeric flag where 1 means closure is within tolerance

visibility contract

Difficulty Ladder

all_giveneasy

All parameters given for a process unit

all fields visible
all_givenmedium

All parameters given across process balance settings

all fields visible
all_givenhard

All parameters given for treatment train balances

all fields visible

scenario bands

Archetype Atlas

process_unit

2 contexts

Industrial process unit mass balance

inlet_1_kg_h100 to 100000
inlet_2_kg_h0 to 50000
outlet_1_kg_h100 to 100000
outlet_2_kg_h0 to 50000

process-unit / steady-state-model

treatment_train

2 contexts

Water or wastewater treatment train mass balance

inlet_1_kg_h1000 to 1000000
inlet_2_kg_h0 to 250000
outlet_1_kg_h1000 to 1000000
outlet_2_kg_h0 to 250000

treatment-train / process-simulation

rendered task

Generation Preview

treatment-train-treatment-train-preview

difficulty
hard
visibility
all_given
archetype
treatment_train
site context
treatment-train
instruction excerptmass-balance_calc.py

visible fields

  • inlet_1_kg_h1000 to 1e+06 kg/h
  • inlet_2_kg_h0 to 250000 kg/h
  • outlet_1_kg_h1000 to 1e+06 kg/h
  • outlet_2_kg_h0 to 250000 kg/h
  • closure_tolerance_pct0.1 to 3 %

withheld schema

total_inlet_kg_htotal_outlet_kg_himbalance_kg_hclosure_error_pctclosure_satisfied
Water or wastewater treatment train mass balance. treatment-train. Required outputs: total_inlet_kg_h, total_outlet_kg_h, imbalance_kg_h, closure_error_pct, closure_satisfied