v0.12.0#
CADET-Process v0.12.0 is the culmination of 11 months of dedicated development and collaboration. This release introduces significant new features, critical bug fixes, enhanced test coverage, and improved documentation. We strongly encourage all users to upgrade to this version for better performance and new functionalities.
This release requires Python 3.10+.
Highlights and new features of this release#
General improvements#
#330: Improve plotting module: The entire plotting module was overhauled and now offers consistent styling, sizing etc. across all figures.
CADETProcess.processModel improvements#
CADETProcess.modelBuilder improvements#
CADETProcess.comparison improvements#
#288: Update pearson / shape computation
CADETProcess.fractionation improvements#
CADETProcess.optimization improvements#
Other improvements#
#294: Upload coverage to codecov
Deprecations / Breaking changes#
In the
SimulatorBaseclass, therunmethod, which defined an interface for subclasses, is no longer available. Users should instead utilize thesimulate()method, which includes additional pre- and post-processing steps. The_run()method has been made private.In the
OptimizerBaseclass, therunmethod, which defined an interface for subclasses, is no longer available. Users should instead utilize theoptimize()method, which includes additional pre- and post-processing steps. The_run()method has been made private.Height was removed from
Shape. (#221) Users should instead explicitly add aHeightmetric to theComparator.The
valve_dead_volumeattribute has been removed from theZoneBaseClassclass. Instead of usingvalve_dead_volume, users can now passvalve_parameters. This parameter should include aunit_type(which can be eitherCstrorTubularReactor) along with the corresponding parameters specific to the unit type. For detailed guidance on setting up the valve parameters, refer to the method_setup_valve().f_min/m_minhave been renamed tof_minimized/m_minimizedin optimization results to avoid ambiguity.The
showoption has been removed from all plotting methods. Responsibility for managing figures now lies with the user.evaluation_objectshas been removed from theset_variablessignature.
Fixed bugs#
#305: Fix indices for aggregator optimization variables
#353: Fix optimization variables for fractionation with multiple outlets
#354: Fix updating flow rate
TimeLineofSolutionIO#367: Manually run callbacks at the end of each optimization for COBYLA
#370: Fix buffer capacity improvements
#371: Minor fixes
#377: Fix stationarity evaluator
Full Changelog: Compare v0.11.1 to v0.12.0