Hubbry Logo
DWSIMDWSIMMain
Open search
DWSIM
Community hub
DWSIM
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
DWSIM
DWSIM
from Wikipedia
DWSIM
DeveloperDaniel Medeiros
Initial releaseJuly 9, 2008; 17 years ago (2008-07-09)
Stable release
8.7.0 (Windows/Linux/macOS) / March 22, 2024; 22 months ago (2024-03-22)[1]

5.0.0 (iOS) / March 20, 2024; 22 months ago (2024-03-20)[2]

5.0.0 (Android) / March 20, 2024; 22 months ago (2024-03-20)[3]

Written inVisual Basic .NET, C#
Operating systemWindows, Linux, macOS, Android, iOS
Platform.NET, Mono
Available inEnglish, Brazilian Portuguese
TypeChemical process modeling
LicenseGNU General Public License/GNU Lesser General Public License (Windows/Linux/macOS), Freemium (Android/iOS)
Websitehttps://dwsim.org
Repositorygithub.com/DanWBR/dwsim sourceforge.net/projects/dwsim/

DWSIM is an open-source CAPE-OPEN compliant chemical process simulator for Windows, Linux and macOS. DWSIM is built on top of the Microsoft .NET and Mono Platforms and features a graphical user interface (GUI), advanced thermodynamics calculations, reactions support and petroleum characterization / hypothetical component generation tools.

DWSIM is able to simulate steady-state, vapor–liquid, vapor–liquid-liquid, solid–liquid and aqueous electrolyte equilibrium processes with the following Thermodynamic Models and Unit Operations:

  • Thermodynamic models: CoolProp, Peng–Robinson equation of state, Peng–Robinson-Strÿjek-Vera (PRSV2), Soave–Redlich–Kwong, Lee-Kesler, Lee-Kesler-Plöcker, UNIFAC(-LL), Modified UNIFAC (Dortmund), Modified UNIFAC (NIST), UNIQUAC, NRTL, Chao-Seader, Grayson-Streed, Extended UNIQUAC, Raoult's Law, IAPWS-IF97 Steam Tables, IAPWS-08 Seawater, Black-Oil and Sour Water;
  • Unit operations: CAPE-OPEN Socket, Spreadsheet, Custom (IronPython Script), Mixer, Splitter, Separator, Pump, Compressor, Expander, Heater, Cooler, Valve, Pipe Segment, Shortcut Column, Heat exchanger, Reactors (Conversion, PFR, CSTR, Equilibrium and Gibbs), Distillation column, Simple, Refluxed and Reboiled Absorbers, Component Separator, Solids Separator, Continuous Cake Filter and Orifice plate;
  • Utilities: Binary Data Regression, Phase Envelope, Natural Gas Hydrates, Pure Component Properties, True Critical Point, PSV Sizing, Vessel Sizing, Spreadsheet and Petroleum Cold Flow Properties;
  • Tools: Hypothetical Component Generator, Bulk C7+/Distillation Curves Petroleum Characterization, Petroleum Assay Manager, Reactions Manager and Compound Creator;
  • Process Analysis and Optimization: Sensitivity Analysis Utility, Multivariate Optimizer with bound constraints;
  • Extras: Support for Runtime Python Scripts, Plugins and CAPE-OPEN Flowsheet Monitoring Objects.

Android and iOS versions

[edit]

DWSIM is also available on Android and iOS, where it is free to download. On these platforms, DWSIM includes a basic set of features while more advanced modules can be unlocked through in-app purchases.[4]

Raspberry Pi version

[edit]

A special DWSIM build is available for Raspberry Pi 2/3 devices running an armhf-based Linux distribution like Raspbian and Ubuntu MATE.[5]

See also

[edit]
[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
DWSIM is an open-source chemical process simulator that enables the modeling, simulation, and optimization of steady-state and dynamic chemical processes through a user-friendly graphical interface. It is fully compliant with the CAPE-OPEN standard, allowing seamless integration with other compatible software for thermodynamic calculations and unit operations. Developed initially as Excel VBA macros in 2004 by Daniel Wagner Oliveira de Medeiros to implement the and basic flash algorithms, DWSIM has evolved into a comprehensive tool available under the GNU General Public License version 3.0 (GPLv3) and version 3.0 (LGPLv3). Key features of DWSIM include advanced thermodynamic property packages such as Peng-Robinson (PR), Soave-Redlich-Kwong (SRK), NRTL, UNIQUAC, GERG-2008, and PC-SAFT, which support a wide range of pure components and multicomponent mixtures. The software offers a variety of unit operations like reactors, separators, heat exchangers, and mixers, along with utilities for phase envelope calculations, hydrate dissociation, and sensitivity analysis. It supports automation through Python and IronPython scripting, an Excel Add-In for thermodynamic computations, and parallel modular solving for efficient performance in complex flowsheets. DWSIM is cross-platform, running on Windows, Linux, macOS, Android, and iOS devices, with offline functionality that eliminates the need for external databases or servers. Since its project registration on SourceForge in 2008, DWSIM has been actively maintained by a community of developers and users, with versions up to 9.0 as of October 2025 and the commercial extension DWSIM Pro (available since 2021) providing additional unit operations and property packages. It is programmed primarily in C# and Visual Basic .NET, leveraging the Microsoft .NET framework and Mono for portability. Widely used in academia and industry for educational purposes, research, and preliminary process design—such as bioethanol production simulations where it achieves results within 1-8.6% error compared to commercial tools like Aspen Plus—DWSIM democratizes access to advanced process simulation without licensing costs.

History

Origins and Early Development

DWSIM originated in 2004 when Daniel Wagner Oliveira de Medeiros began developing it as a set of Excel VBA macros to implement the Peng-Robinson () and basic flash algorithms for thermodynamic calculations. This initial effort was motivated by the need for an accessible, open-source tool for , allowing users without access to expensive to perform fundamental property estimations and phase equilibrium computations. Medeiros, drawing from his background in the , focused on creating modular components that could handle essential simulation tasks within the familiar environment. Later in 2004, the project transitioned from Excel-based macros to a standalone application built using Visual Basic 6 (VB6), enabling more robust process flowsheet capabilities. This shift addressed limitations of the format, such as scalability and integration of complex flowsheets, by introducing a dedicated surface for visualizing and connecting unit operations. Early development emphasized CAPE-OPEN compliance to ensure with other simulation tools, allowing DWSIM components to function as plug-ins in heterogeneous environments. However, without relying on commercial thermodynamic libraries, Medeiros faced significant challenges in implementing accurate property calculations and a functional (GUI) from scratch, requiring custom algorithms for vapor-liquid equilibrium and other core functionalities. Subsequently, the codebase was ported to the .NET framework, which facilitated object-oriented design and opened possibilities for cross-platform deployment through the Mono runtime. This migration enhanced and performance, laying the groundwork for DWSIM's expansion into a full-featured simulator while maintaining its commitment to open-source principles and standards-based interoperability. The foundational choices during this period—prioritizing native implementations over proprietary dependencies—ensured long-term accessibility but demanded iterative refinements to achieve reliable results comparable to industry standards.

Major Releases and Milestones

DWSIM's evolution has been characterized by key releases that enhanced its functionality, interoperability, and accessibility, alongside notable recognitions in the process simulation community. The software's inaugural public release occurred on July 9, 2008, establishing it as an open-source chemical process simulator distributed under the GNU Lesser General Public License (LGPL). A pivotal arrived in 2013, when lead developer Daniel Wagner was awarded the CAPE-OPEN 2012 Award by the CO-LaN Management Board for pioneering the first open-source implementation of CAPE-OPEN interfaces in a tool. Version 4.2 marked an important advancement in extensibility, introducing integration via COM/.NET interfaces to support external scripting and application connectivity. DWSIM later expanded to mobile platforms with Android and applications, allowing on-the-go steady-state simulations using the same core engine as the desktop version. Dynamic simulation features were introduced in version 6.0, released on July 19, 2020, enabling time-dependent modeling of processes with tools like PID controllers and event schedulers. The advent of version 7.0 on December 3, 2021, brought DWSIM Pro as a commercial extension, incorporating advanced unit operations, specialized property packages, and private for professional users. Subsequent updates continued to refine core capabilities; for instance, version 8.7.0, released on March 22, 2024, included enhancements to Python scripting for custom unit operations and optimizations to the PC-SAFT for improved accuracy in associating fluids. As of November 2025, the latest stable desktop release is version 9.0.5, which builds on these foundations with further stability improvements and expanded integration options while maintaining .

Core Features

Thermodynamic Models

DWSIM supports a range of for modeling vapor-liquid equilibria in non-polar and moderately polar systems, particularly at elevated pressures. The is suitable for non-polar gases under high-pressure conditions exceeding 10 atm, while the Soave-Redlich-Kwong (SRK) equation provides similar capabilities for non-polar components. Additionally, the modified Peng-Robinson variant, PRSV2, extends applicability to polar gases at high pressures, though it relies on limited parameter availability. For non-ideal liquid mixtures, DWSIM incorporates activity coefficient models to account for molecular interactions in polar systems. The Non-Random Two-Liquid (NRTL) model is employed for polar chemicals, offering robust predictions of liquid-phase non-idealities. The Universal Quasi-Chemical () model similarly handles polar mixtures by separating combinatorial and residual contributions to s. As a predictive alternative, the UNIversal Functional Activity Coefficient () method estimates parameters from group contributions when experimental binary data are unavailable, with the Modified UNIFAC (NIST) variant recommended for enhanced accuracy. Advanced thermodynamic models in DWSIM address specialized applications beyond standard cubic equations. The GERG-2008 equation of state provides high-fidelity calculations for mixtures and related systems containing up to 21 components. For associating fluids such as alcohols and acids, the Perturbed-Chain Statistical Associating Fluid Theory (PC-SAFT) model captures hydrogen bonding and chain-like molecular structures through an external library integration. The Chao-Seader method is utilized for systems, particularly those involving heavy components at moderate pressures below 1500 psia. Aqueous solutions are handled via a modified Pitzer model integrated through the Reaktoro framework, enabling calculations of ionic activities, osmotic coefficients, and in reactive systems. This package automatically resolves acid-base dissociations, salt formations, and of solids, supporting 47 key compounds including ions like , and from built-in electrolyte databases. DWSIM includes extensive built-in databases for pure component properties, encompassing over 1,500 compounds across sources such as DWSIM, ChemSep, and APV118, along with pre-fitted binary interaction parameters for enhanced model fidelity. Users can further refine parameters using the integrated data regression utility for experimental VLE, LLE, and solubility data. Phase equilibrium calculations in DWSIM cover vapor-liquid (VLE), vapor-liquid-liquid (VLLE), and solid-liquid (SLE) behaviors, employing algorithms such as the Rachford-Rice successive substitution method for isothermal flash computations to determine phase fractions and compositions. These models integrate seamlessly with unit operations for process-wide simulations.

Unit Operations and Simulation Capabilities

DWSIM employs a sequential modular approach for steady-state of chemical processes, where unit operations are solved in sequence based on the flowsheet , enabling efficient modeling of complex systems. This method supports parallel processing through its Parallel Modular Solver, which distributes computational tasks across multiple cores to accelerate simulations for large-scale flowsheets. The simulator handles and balances rigorously, integrating thermodynamic models to compute properties at each stage. The core unit operations in DWSIM provide versatile building blocks for flowsheet construction, covering essential process elements such as mixing, separation, energy transfer, and reaction. Basic operations include stream mixers and splitters for combining or dividing flows, as well as three-phase separators like the compound separator for gas-liquid-solid partitioning. Pressure-changing devices encompass centrifugal pumps, adiabatic compressors, expanders, and valves for adjusting flow rates and pressures. Heat exchangers support shell-and-tube configurations with multi-pass options, allowing detailed modeling of between streams. Reactors offer multiple types, including conversion reactors for specified yield reactions, equilibrium reactors for reversible processes, Gibbs minimization reactors for minimizing free energy, plug flow reactors (PFR) for tubular systems, and continuous stirred-tank reactors (CSTR) for well-mixed conditions. Column operations in DWSIM enable rigorous modeling of separation processes using equilibrium-based stages, suitable for multicomponent systems. The distillation column supports detailed tray or packing specifications for vapor-liquid separations, while absorption and stripping columns handle gas-liquid contacting with options for packed or trayed designs. Shortcut methods are also available for preliminary sizing and performance estimation in these units. Beyond steady-state, DWSIM includes dynamic simulation features for time-dependent analysis, solving flowsheets over time to capture transients and responses. This capability integrates PID controllers and integrator blocks to model startup, shutdown, and operational disturbances in processes like level control in vessels or pressure regulation in pipelines. DWSIM's CAPE-OPEN compliance facilitates , allowing it to serve as a or property package within other compliant simulators such as COCO Simulator or Aspen Plus, and vice versa for incorporating external components. Solver functionalities in DWSIM extend to advanced analysis tools, including algorithms for process optimization, where objectives like cost minimization or yield maximization are pursued subject to constraints. tools enable evaluation of parameter variations on key outputs, aiding robustness assessments. Reaction set management supports both stoichiometric definitions for conversion-based reactions and kinetic expressions for rate-dependent modeling, with user-defined sets applicable across multiple units.

Platforms and Versions

Desktop Platforms

DWSIM provides native support for Windows operating systems through the .NET Framework, enabling full (GUI) functionality and automation capabilities. The software is distributed as installer and portable packages, requiring Microsoft .NET Framework 4.6.2 or newer, with binaries available from the official repository and . Installation on Windows 64-bit systems, including versions 10 and later, typically involves running the executable setup file, which handles dependencies and creates desktop shortcuts for immediate access to the simulation environment. For Linux distributions, DWSIM offers compatibility via the cross-platform .NET runtime, supporting 64-bit architectures on popular systems such as 22.04/24.04, 21, and . Users can install via Debian packages (.deb) or portable archives, necessitating .NET 8 and the optimization library for complete solver functionality; these are installed separately through package managers like apt or dnf. While earlier versions relied on Mono for runtime execution, modern releases leverage .NET 8 for improved performance and native integration, allowing users to run complex simulations without additional emulation layers. On macOS, DWSIM supports both and (ARM64) processors through standalone disk image (.dmg) bundles that bundle the necessary .NET runtime, ensuring seamless operation on versions 11 and later. Installation involves mounting the DMG file and dragging the application to the Applications folder, with no external dependencies required beyond the base system. The cross-platform provides access to core tools, though some advanced features like certain unit operations may be optimized for the classic UI available on other desktops. Across all desktop platforms, DWSIM recommends a minimum of 4 GB RAM and a 1 GHz dual-core processor to handle simulations effectively, with optimal performance observed on systems exceeding these specifications. The software supports CAPE-OPEN compliant components for integration with external tools, delivering full steady-state and dynamic modeling capabilities without platform-specific limitations. The latest desktop version is v9.0.5, released on October 2, 2025.

Mobile and Embedded Platforms

DWSIM provides dedicated mobile applications for Android and devices, enabling portable chemical process simulations with a focus on steady-state modeling. The Android version, available on and supporting Android 5.0 and later, offers offline steady-state simulations through a touch-optimized . It includes core unit operations such as mixers, separators, pumps, and reactors, but is optimized for smaller flowsheets due to device resource constraints. The current version is 5.0.0, released March 26, 2024. The app, released in version 5.0.0 in March 2024, mirrors the Android functionality with similar offline steady-state capabilities and a touch-enabled interface. It features iPad-specific optimizations, making it suitable for educational demonstrations on larger screens, though it lacks support for dynamic simulations, and requires iOS 12.0 or later. Both mobile versions incorporate a compound database with over 1,500 substances and tools for vapor-liquid equilibrium calculations using models like Peng-Robinson and NRTL. Historically, lightweight builds of DWSIM were available for models 2 and 3 using ARMhf distributions such as Raspbian, based on Mono for .NET compatibility as of 2018. These enabled steady-state calculations in low-power environments, excluding advanced graphical features. There is no documented official support for newer models like Pi 4 or 5, or ARM64, in recent versions (as of 2025). Across mobile and embedded platforms, DWSIM imposes limitations including a reduced database size compared to desktop versions and the absence of Python scripting support, which is unavailable due to mobile compatibility constraints. Simulation files in the .dwsim format maintain compatibility with desktop editions, allowing seamless transfer and editing between platforms. The mobile apps emphasize educational applications, earning ratings of 4.6 on the and 4.6 on as of November 2025, and are commonly used in classrooms for quick, hands-on steady-state simulations without requiring full desktop setups.

Development and Community

Licensing and Extensions

DWSIM's core software is released under the GNU General Public License version 3 (GPLv3), which permits free use, modification, and distribution of the source code while requiring derivative works to adopt the same license. This open-source model fosters community involvement and ensures accessibility for academic and non-commercial applications across Windows, , and macOS platforms. In parallel, DWSIM Pro operates as a commercial variant offered through subscription on the Simulate 365 platform, starting at approximately €29.99 per month as of 2025, providing access to proprietary enhancements such as advanced unit operations (e.g., neural network-based models), specialized property packages (e.g., systems), and cloud-based integration for collaboration and . DWSIM Pro is developed separately but maintains full compatibility with the open-source version, allowing users to leverage both in hybrid workflows. The software supports extensibility through its CAPE-OPEN compliance, enabling wrappers for integrating third-party thermodynamic and components from other compliant tools. Additionally, Python scripting via the embedded IronPython interpreter allows users to create custom , automate flowsheet manipulations, and perform sensitivity analyses without compiling new code. DWSIM features a plugin architecture that accommodates user-developed add-ins for introducing new thermodynamic models or simulation elements, with examples including the ThermoC bridge for interfacing C-based thermodynamics libraries. These plugins are typically hosted and shared via repositories. Contributions to the core codebase, written primarily in VB.NET and C#, are managed through the official repository at DanWBR/dwsim, where developers can submit pull requests following standard open-source practices.

User Support and Resources

DWSIM provides extensive official documentation through its wiki at dwsim.org, which includes detailed tutorials on flowsheet creation, troubleshooting common simulation errors, and advanced topics such as process optimization using built-in solvers. The user guide covers installation, basic interface navigation, and integration with external tools, while API documentation supports custom scripting for automation. Community engagement occurs primarily through forums and issue trackers, with discussions active since the project's inception in 2008 for general user queries and peer support. In 2025, discussions transitioned to for enhanced collaboration, where users report bugs, request features, and share workflows via the dedicated discussions section. These platforms facilitate troubleshooting for issues like convergence failures in complex models. Educational resources abound, including video tutorials on the official YouTube channel that demonstrate step-by-step simulations, from simple unit operations to full plant designs. Integration with the Spoken Tutorial project offers self-paced screencasts in English, covering topics like material stream setup and thermodynamic property estimation. Additionally, the FOSSEE project from IIT Bombay contributes case studies and solved flowsheets, such as biodiesel production and distillation columns, available for download to aid learning. Patron support is available via , where contributions fund ongoing development and provide benefits like to beta releases and credits for higher tiers. This model sustains the project as a solo effort while offering exclusive add-ins and direct developer interaction. DWSIM has been cited in 47 research papers listed on its official page, with additional publications demonstrating its use for validation against commercial tools like Aspen Plus, often showing discrepancies under 5% in process outputs. Applications include biofuels, such as from achieving 99.99% purity, and CO2 capture processes like to with over 95% conversion efficiency. Global usage centers on academia for educational and purposes, supplemented by small consultancies for preliminary evaluations, supported by over 450,000 downloads worldwide as of 2022. The software is translated into as the default, with full English and German support and partial Spanish translations to broaden .

References

Add your contribution
Related Hubs
User Avatar
No comments yet.