Skip to content

DWSIM API Reference

One page per simulation object and per property package. Each object page shows the object on a flowsheet, an example that runs on every build of this site, the calculation modes, the property IDs used from scripts and automation, and links to the user guide and to the tutorials that use it. Each property-package page gives the scope of the model, an example, the property methods and the settings saved with the flowsheet. The class members come last, in C# and VB.NET.

Streams

Material and energy streams, the objects that connect everything else.

Energy Stream, Material Stream

Pressure Changers

Pumps, compressors, expanders, valves and lines.

Compressor, Expander, Orifice Plate, Pipe Segment, Pump, Relief Valve, Valve

Heat Transfer

Heaters, coolers and heat exchangers.

Cooler, Heat Exchanger, Heater

Mixing and Separation

Mixers, splitters, vessels, tanks and separators.

Component Separator, Continuous Cake Filter, Mixer, Separator Vessel, Solids Separator, Splitter, Tank

Columns

Shortcut and rigorous distillation and absorption.

Absorption Column, Distillation Column, Shortcut Column

Reactors

Conversion, equilibrium, Gibbs, kinetic and polymerization reactors.

Continuous Stirred Tank Reactor (CSTR), Conversion Reactor, Equilibrium Reactor, Gibbs Reactor, Gibbs Reactor (Reaktoro), Plug Flow Reactor (PFR), Polymerization Reactor

Bioprocess

Digesters, bioreactors and downstream operations.

Anaerobic Digester, Biogas Upgrader, Biomass Pretreatment Reactor, Bioreactor, Cell Lysis, Centrifuge, CFB Fast Pyrolysis Reactor, Chromatography Column, Crossflow Ultrafiltration, Crystallizer

Clean Energy

Wind, solar, hydroelectric, fuel cell and electrolyzer models.

Hydroelectric Turbine, PEM Fuel Cell, Solar Panel, Water Electrolyzer, Wind Turbine

Logical and Control

Adjust, specification, recycle blocks and controllers.

Adjust, Energy Recycle, Information Carrier, Input Box, MPC Controller, PID Controller, Python Controller, Recycle, Specification, Switch

Custom and Scripted

Python script, spreadsheet, nested flowsheet and CAPE-OPEN unit operations.

CAPE-OPEN Unit Operation, Flowsheet Unit Operation, Python Script Unit Operation, Spreadsheet Unit Operation

DWSIM Plus

Unit operations available with a DWSIM Plus (Patreon) subscription.

Advanced Heat Exchanger, Air Cooler 2, Copper Bed Mercury Adsorber, Energy Mixer, Energy Splitter, Energy Stream Switch, Falling Film Evaporator, Fired Heater, Material Stream Mapper, Material Stream Switch, Pipe Network, Restriction Orifice, Thermo Property Editor, Vapor Compression Chiller, Zeolite Adsorber

Refining (Plus)

Shortcut refinery units, available with a DWSIM Plus subscription.

Alkylation Unit, Amine Treater, Catalytic Reformer, Claus Sulfur Recovery Unit, Delayed Coker, Fluid Catalytic Cracking (FCC) Unit, Hydrocracker (HCR), Hydrodesulphurisation (HDS) Reactor, Isomerization Unit, Product Blender, Shortcut Crude Distillation Unit (CDU)

Electrolyte (Plus)

Electrolyte unit operations, available with a DWSIM Plus subscription.

Ion Exchange, Neutralization Reactor, Precipitation Reactor, Reverse Osmosis

Property Packages

The thermodynamic models that calculate phase equilibrium and the properties of every stream. One page per package, with its scope, an example and the settings it saves with the flowsheet.

DWSIM Plus packages: CO2 Capture (eNRTL), CO2 Storage (eNRTL / Duan-Sun), CO2 Transport (Span-Wagner / PR), Electrolyte NRTL, Extended UNIQUAC, Glycol (NRTL), H2O-HCl (Pitzer), Ionic Liquids (PC-SAFT), Reaktoro (Aqueous Electrolytes), Sour Water

Open packages: Chao-Seader, CoolProp, Grayson-Streed, Lee-Kesler-Plöcker, NRTL, PC-SAFT, Peng-Robinson (PR), Peng-Robinson 1978 (PR78), Soave-Redlich-Kwong (SRK), Steam Tables (IAPWS-IF97), UNIQUAC