Open your HYSYS, DWSIM and COCO cases
Import a case and it arrives drawn, connected and specified, with a report of anything that did not come across exactly. Then one command compares every stream with the answer the other simulator stored.
Aspen HYSYS
HYSYS XML cases, and older binary .hsc files. Newer .hsc files are encrypted: open the case in HYSYS, File > Save As, choose HYSYS XML Cases, and import that.
Separators, heaters and coolers, valves, pumps, compressors and expanders, exchangers, mixers, tees, recycles, columns, pipe segments and Set operations come across with their specifications. Template sub-flowsheets arrive as blocks. Assay cuts arrive as pseudo-components, a partial or three-phase condenser as the app’s Partial condenser or water draw, a Twu package as PR-Twu or SRK-Twu, a Chao Seader or Grayson Streed package onto the same method, and an amine package onto Kent-Eisenberg.
DWSIM
Compressed .dwxmz and XML .dwxml cases: columns, reactors with their reactions, the liquid–liquid extractor, and the common unit operations, with the case’s own interaction parameters, UNIQUAC’s and Wilson’s included, and a Partial condenser with its vapour on a port of its own. A Chao-Seader or Grayson-Streed case arrives on that method, with each compound’s own data.
A DWSIM Flowsheet unit operation arrives as a sub-flowsheet block, with the simulation it runs inside it, even when that file is embedded in the case.
COCO / COFE
COFE flowsheet files (.fsd). The validation report checks a published ammonia synthesis loop and an oil-and-gas separation plant, imported from COCO, against COCO’s converged results; COCO’s own files are not shipped with the app. ChemSep’s two-product condenser arrives as a Partial condenser.
Then check it, stream by stream
File > Validate import against reference values compares every stream of the solved case with the value the source simulator stored: temperature, pressure, flow, composition and vapour fraction. Each stream is marked within tolerance, a minor deviation or a significant one, and the worst offenders are listed first.
| Compared | Minor deviation above | Significant deviation above |
|---|---|---|
| Temperature | 0.5 K | 5 K |
| Pressure and flow | 0.5% | 5% |
| Composition (largest single mole-fraction difference) | 0.1 mol% | 1 mol% |
| Vapour fraction | 0.005 | 0.05 |
Agreement with another simulator shows compatibility, not correctness: a mistake both programs share still agrees. That is why the validation report keeps these comparisons apart from checks against published data.
Nothing is absorbed silently
Every import writes a report onto the drawing: what came across, what was approximated, and what was left out. If something is not in the report, it imported cleanly.
- A unit the app does not have yet is carried as a named pass-through, so the flowsheet stays connected
- A property package the app does not have is replaced by the nearest one, and named
- A column specification with no equivalent is replaced by the source’s converged value, and said so
What each importer brings in
Every unit operation, by importer. Where a unit comes in only partly, the note says which of its specifications do not come across; the import report names each one.
Imported with its settings Partly some specifications not read Placeholder keeps the streams connected, does not calculate Not imported left out and named in the report
| Equipment | DWSIM .dwxmz / .dwxml | COCO .fsd | HYSYS case .hsc (unencrypted) | HYSYS XML case .xml |
|---|---|---|---|---|
| Heater, cooler | Imported | Imported | Imported | Imported |
| Heat exchanger | PartlyShell-and-tube geometry is read. A calculation mode the app has no match for comes in on its duty. | Imported | ImportedLNG exchangers come in as heat exchangers. | PartlySome HYSYS exchanger specification types are not read yet. |
| Pump | Imported | Imported | Imported | Imported |
| Compressor | Imported | Imported | Imported | Imported |
| Expander | Imported | Not imported | Imported | Imported |
| Valve | Imported | Imported | Imported | Imported |
| Pipe | PartlySeveral pipe sections are combined into one segment, using the first section’s diameter. | Not imported | Placeholder | PartlyAspen Hydraulics pipe segments come in as pipes. The network’s own pressure-flow solve is not modelled. |
| Mixer | Imported | Imported | Imported | Imported |
| Tee, splitter | ImportedA split given as stream flows becomes fractions at DWSIM’s stored feed flow. | Imported | Imported | Imported |
| Component splitternew in the next release | ImportedDWSIM’s Component Separator. | Not imported | PlaceholderComes in as a column with default settings. | Not imported |
| Separator, tank | Imported | Imported | Imported | Imported |
| Three-phase separator | Imported | Imported | Imported | Imported |
| Distillation column, absorber, reboiled and refluxed absorber | ImportedPartial condensers and side draws read. | PartlyChemSep columns. Side streams are not read, except a two-product condenser’s liquid. | PartlyColumn type and condenser read. HYSYS’s own column specifications are replaced by its converged reflux ratio and bottoms flow. | PartlyReflux, temperature, duty, boilup and bottoms-flow specifications read; a component recovery or fraction becomes a design specification. Other specifications are replaced by HYSYS’s converged values. Side duties are left out. |
| Shortcut column | PartlyDWSIM’s key purities are turned into the app’s key recoveries from the converged split. Where that cannot be done, the defaults stay for you to set. | Not imported | Placeholder | Not imported |
| Liquid-liquid extractor | ImportedDWSIM’s absorption column in extractor mode. | Not imported | Placeholder | Not imported |
| Conversion reactor | Imported | PartlyA non-zero fixed duty comes in as COCO’s converged outlet temperature. A reaction with a spec other than conversion is skipped. | PlaceholderCarried on a heater; no reactions. | Not imported |
| Equilibrium reactor | Imported | Not imported | PlaceholderCarried on a heater; no reactions. | Not imported |
| Gibbs reactor | Imported | Not imported | PlaceholderCarried on a heater; no reactions. | Not imported |
| CSTR | PartlyA kinetic reaction whose basis, kinetics mode or energy unit the app does not read is skipped. | PartlyA rate expression that is not plain Arrhenius is skipped. | PlaceholderCarried on a heater; no reactions. | Not imported |
| Plug flow reactor (PFR) | PartlyA kinetic reaction whose basis, kinetics mode or energy unit the app does not read is skipped. | PartlyComes in as a conversion reactor at COCO’s converged conversion; the kinetics are not carried. | PlaceholderCarried on a heater; no reactions. | Not imported |
| Recycle | Imported | ImportedA recycle is added where COCO closes a loop without one. | ImportedA recycle is added where HYSYS closes a loop without one. | ImportedA recycle is added where HYSYS closes a loop without one. |
| Adjust | PartlyA variable the importer cannot read is left for you to choose. A simultaneous adjust comes in as a sequential one. | Not imported | Not imported | Not imported |
| Spec / Set | PartlyDuty and discharge-pressure links come in; any other target is left for you to choose. A Spec that only passes a flow along a line is left out. | Not imported | Not imported | PartlyA Set on a temperature or pressure the app’s Spec cannot reach is left out. |
| Script unit | PartlyDWSIM’s Python script is translated for the app’s Python Script unit; one the translator cannot fully convert comes in commented out. Every imported script waits for Enable Script. | Not imported | Not imported | Not imported |
| Sub-flowsheet | PartlyDWSIM’s Flowsheet unit operation comes in as a block. Of its parameters, only stream temperature, pressure and flows are read. | Not imported | Not imported | ImportedTemplate sub-flowsheets come in as blocks. |
Also left out: DWSIM’s CAPE-OPEN unit operations (which include ChemSep columns run inside DWSIM), energy recycles and Python controllers; HYSYS spreadsheets, balances and utilities. Energy streams are folded into the duties of the units they serve, and a HYSYS Petroleum Feeder becomes a feed stream carrying HYSYS’s solved conditions.
What an import does not do
Chemistry this app does not model yet
CPA association has no equivalent here yet. A HYSYS CPA package holding water and TEG, DEG or MEG comes in on the Glycol Package, whose numbers are the app’s own fit; any other CPA section imports and solves on the nearest package, which is not a reproduction of the original.
An import is not a certificate
Importing a case does not reproduce the original simulation environment or guarantee the same numbers. Every imported case must be reviewed by a qualified engineer before it is used for a decision.
Independent interoperability. The importers were developed independently. They read the information in a file you supply and convert it into AI Process Simulator’s own model. They contain no code from, and do not call or require, Aspen HYSYS, DWSIM or COCO, and they do not bypass any encryption: an encrypted case is not read. You are responsible for having the right to use every file you import. Aspen HYSYS® is a registered trademark of Aspen Technology, Inc. AI Process Simulator is not affiliated with or endorsed by Aspen Technology, the DWSIM project or the COCO project.
Bring a case you know well
The best test of a simulator is a case whose answer you already trust. Import it and see how close it lands.