You're reading the documentation for a development version. For the latest released version, please have a look at v4.3.0.
Performing a forward simulation comprises several steps:
CADET-Python almost exactly maps to the documented CADET interface except that all dataset names are lowercase. This simplifies using the interface.
This package includes the Cadet class and H5 class. H5 can be used as a simple generic HDF5 interface.
As an example look at setting column porosity for column 1. From the CADET manual the path for this is /input/model/unit_001/COL_POROSITY
In the python interface this becomes `` sim = Cadet() sim.root.input.model.unit_001.col_porosity = 0.33 `` Once the simulation has been created it must be saved before it can be run `` sim.filename = “/path/to/where/you/want/the/file.hdf5” sim.save() ``
Define unit operation parameters¶
See also: Unit operation models
Define adsorption and reaction paramters¶
Setup connections and switches¶
Call solver and read results¶
`` sim.load() ``