MaximaLabsOpen app

Building a Flowsheet

Drag unit ops from the palette, draw streams between ports, set feed composition vectors and unit-op params in the right-hand ParamEditor, and pick a thermo package before running.

canvasunit-ops
Concept

The canvas is a React Flow graph editor. Every node carries a type and aparams dict; every edge is a directed connection between two ports. This is literally the FlowsheetSchema the AI generates and the solver consumes — there's no separate "canvas representation" to keep in sync.

Execution

Workflow

  1. Drag a unit op from the left palette onto the canvas (the palette filters by industry — see Settings).
  2. Draw a stream by dragging from one node's outlet handle to another's inlet handle.
  3. Click a node to open the ParamEditor (right-hand slide-in panel) and set its params.
  4. For a Feed node, set the composition vector (mole fractions per component), temperature, pressure, and phase.
  5. Set execution constraints — thermo package, and for a column, reflux ratio / distillate rate / pressure.
DISCONNECTED_FLOWSHEETA non-feed node has zero inbound edges (0 inlets) — the flowsheet graph itself is invalid, caught before the solver ever runs.