Optimize Flowsheet

Find the best way to run a flowsheet the user has already chosen.

The topology is fixed: no step is added, removed or reordered. Only parameters that design_space.py classifies as tunable are moved, so the search cannot make the process look cheap by assuming a better resin or membrane than the one being costed.

Returns the optimised parameters per step, ready to write straight back onto the canvas, together with the baseline they beat and a note on any value that landed on a bound.

post/api/optimize-flowsheet

Request

  • Base URL: https://biotechdsp-579272663320.europe-west1.run.app
  • URL: https://biotechdsp-579272663320.europe-west1.run.app/api/optimize-flowsheet
  • Auth: HTTP bearer

Request body

annual_operating_hoursinteger
cooling_water_price_usd_per_m3number
electricity_price_usd_per_kWhnumber
facility_typestring nullable
feed_flow_max_multipliernumber
feed_flow_min_multipliernumber
feedsobject
hold_baseline_economicsboolean
hold_baseline_productionboolean
hold_baseline_qualityboolean
labor_profilestring
max_evaluationsinteger
min_puritynumber
min_yieldnumber
objectivestring
optimize_feed_flowboolean
paretoboolean
pareto_purity_levelsnumber[] nullable
product_identity_requested_targetsstring[]
product_identity_warningsstring[]
product_selling_price_source'default' | 'user_supplied'
product_selling_price_usd_per_kgnumber
rolesstring[]
screen_firstboolean
seedinteger
skip_stepsinteger[]
steam_price_usd_per_GJnumber
stepsobject[] required
streamobject required
stream_closure_warningsstring[]
target_productsstring[] required
target_provenanceobject nullable
wastewater_scope'included' | 'excluded_osbl'

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.