Imports

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.

File > Import HYSYS Case

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.

File > Import DWSIM Case

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.

File > Import COCO / COFE 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.

Validate import

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.

COCO import validation for the ammonia synthesis case: 26 streams compared, 20 within tolerance, 6 minor deviations and none significant, with the largest a 1.22 K temperature difference
Ammonia synthesis from COCO: 26 streams, 20 within tolerance, 6 minor, none significant. The largest difference is 1.2 K.
DWSIM import validation for a benzene-toluene column: 3 streams compared, all within tolerance, with the import report above and a validation note on the drawing
A DWSIM benzene–toluene column: every stream within tolerance. The result is also written onto the drawing.
ComparedMinor deviation aboveSignificant deviation above
Temperature0.5 K5 K
Pressure and flow0.5%5%
Composition (largest single mole-fraction difference)0.1 mol%1 mol%
Vapour fraction0.0050.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.

The import report

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
The imported ammonia synthesis loop solved in AI Process Simulator, with a validation note on the drawing
The imported ammonia loop, solved, with its validation note.
Equipment coverage

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

EquipmentDWSIM
.dwxmz / .dwxml
COCO
.fsd
HYSYS case
.hsc (unencrypted)
HYSYS XML case
.xml
Heater, coolerImportedImportedImportedImported
Heat exchangerPartlyShell-and-tube geometry is read. A calculation mode the app has no match for comes in on its duty.ImportedImportedLNG exchangers come in as heat exchangers.PartlySome HYSYS exchanger specification types are not read yet.
PumpImportedImportedImportedImported
CompressorImportedImportedImportedImported
ExpanderImportedNot importedImportedImported
ValveImportedImportedImportedImported
PipePartlySeveral pipe sections are combined into one segment, using the first section’s diameter.Not importedPlaceholderPartlyAspen Hydraulics pipe segments come in as pipes. The network’s own pressure-flow solve is not modelled.
MixerImportedImportedImportedImported
Tee, splitterImportedA split given as stream flows becomes fractions at DWSIM’s stored feed flow.ImportedImportedImported
Component splitternew in the next releaseImportedDWSIM’s Component Separator.Not importedPlaceholderComes in as a column with default settings.Not imported
Separator, tankImportedImportedImportedImported
Three-phase separatorImportedImportedImportedImported
Distillation column, absorber, reboiled and refluxed absorberImportedPartial 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 columnPartlyDWSIM’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 importedPlaceholderNot imported
Liquid-liquid extractorImportedDWSIM’s absorption column in extractor mode.Not importedPlaceholderNot imported
Conversion reactorImportedPartlyA 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 reactorImportedNot importedPlaceholderCarried on a heater; no reactions.Not imported
Gibbs reactorImportedNot importedPlaceholderCarried on a heater; no reactions.Not imported
CSTRPartlyA 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
RecycleImportedImportedA 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.
AdjustPartlyA variable the importer cannot read is left for you to choose. A simultaneous adjust comes in as a sequential one.Not importedNot importedNot imported
Spec / SetPartlyDuty 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 importedNot importedPartlyA Set on a temperature or pressure the app’s Spec cannot reach is left out.
Script unitPartlyDWSIM’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 importedNot importedNot imported
Sub-flowsheetPartlyDWSIM’s Flowsheet unit operation comes in as a block. Of its parameters, only stream temperature, pressure and flows are read.Not importedNot importedImportedTemplate 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.

Honest limits

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.

Send feedback

Send us your feedback