Installation¶
Overview¶
The Plate Heat Exchanger (PHE) is distributed as an external unit operation plugin for DWSIM. Installation consists of placing the DLL file in the correct folder and verifying that DWSIM loads it on startup. This page covers requirements, step-by-step installation, stream connections, and a quick-start example.
Requirements¶
| Requirement | Minimum Version |
|---|---|
| DWSIM | 8.x or later |
| Runtime | .NET 8 |
| License | Valid AI4Tech license key |
License Activation
The PHE unit operation requires a valid license managed through the AI4Tech licensing system. Ensure your license is activated before attempting to use the unit operation.
Installation Steps¶
The default DWSIM external unit operations folder is:
Which typically resolves to:
Steps:
- Download the
DWSIM.UnitOperations.PlateHeatExchanger.dllfile from the distribution package. - Copy the DLL into the
unitopsfolder: - Restart DWSIM if it is currently running.
- The PHE unit operation will appear in the flowsheet object palette under External Unit Operations.
If you have configured DWSIM to load external unit operations from a custom folder:
- Open DWSIM and navigate to Settings > General > External Unit Operations Folder.
- Note the configured path.
- Copy
DWSIM.UnitOperations.PlateHeatExchanger.dllinto that folder. - Restart DWSIM.
- Verify the PHE appears in the flowsheet object palette under External Unit Operations.
Verification¶
After installation, confirm that DWSIM has loaded the plugin correctly:
- Open DWSIM and create a new flowsheet (or open an existing one).
- In the object palette, look for External Unit Operations.
- The Plate Heat Exchanger should be listed as an available unit operation.
- Drag it onto the flowsheet canvas to confirm it instantiates without errors.
Installation Complete
If the Plate Heat Exchanger appears in the palette and can be placed on the flowsheet, the installation is successful.
Troubleshooting
If the PHE does not appear, verify that:
- The DLL is in the correct
unitopsfolder. - You are running DWSIM 8.x or later with .NET 8.
- Your AI4Tech license is active and valid.
- DWSIM was fully restarted after placing the DLL.
Connecting Streams¶
The PHE unit operation has two ports for material stream connections:
| Port | Side | Connection |
|---|---|---|
| Port 1 | Hot side | Connect the hot-side inlet material stream |
| Port 2 | Cold side | Connect the cold-side inlet material stream |
Each port accepts one inlet material stream. The unit operation calculates the outlet conditions for both sides internally.
Minimum Plate Count
The PHE requires a minimum of 3 plates to perform a valid calculation. Setting NumberOfPlates below 3 will result in a calculation error. Ensure the plate count is set to 3 or higher before running the simulation.
To connect streams:
- Create two material streams on the flowsheet — one for the hot fluid and one for the cold fluid.
- Define the inlet conditions (temperature, pressure, flow rate, composition) for each stream.
- Connect the hot-side stream to Port 1 of the PHE.
- Connect the cold-side stream to Port 2 of the PHE.
- Create two outlet material streams and connect them to the PHE outlet ports.
Quick Start Example¶
Follow these steps to run your first PHE calculation:
-
Create a new flowsheet in DWSIM and add a thermodynamic package (e.g., Steam Tables for water-water cases).
-
Add two inlet material streams:
Property Hot Stream Cold Stream Temperature 80 °C 25 °C Pressure 300 kPa 300 kPa Mass Flow 1 kg/s 1 kg/s Compound Water Water -
Place the PHE on the flowsheet from External Unit Operations.
-
Connect the streams: Hot stream to Port 1, Cold stream to Port 2. Add two outlet streams.
-
Configure the PHE with default parameters (or adjust as needed):
Parameter Default Value Number of Plates 50 Plate Width 500 mm Plate Height 1000 mm Chevron Angle 60° Flow Direction Counterflow -
Run the simulation. The PHE will calculate outlet temperatures, heat duty, pressure drops, and all thermal-hydraulic results.
-
Review results in the PHE editor panel, including the T-Q diagram.
Next Steps
For detailed information on all configuration parameters, see Parameters Reference. For a complete explanation of the design calculation algorithm, see Design Mode.