From b8997510106deab84f5798bfbeafe3c24b5d02f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schm=C3=B6lder?= Date: Wed, 14 Feb 2024 18:02:10 +0100 Subject: [PATCH] Fix docstring --- CADETProcess/dynamicEvents/event.py | 2 +- CADETProcess/optimization/optimizer.py | 3 ++- CADETProcess/processModel/unitOperation.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CADETProcess/dynamicEvents/event.py b/CADETProcess/dynamicEvents/event.py index a24e7094..c6c60117 100644 --- a/CADETProcess/dynamicEvents/event.py +++ b/CADETProcess/dynamicEvents/event.py @@ -72,7 +72,6 @@ class EventHandler(CachedPropertiesMixin, Structure): parameter_events : dict A dictionary mapping each parameter to the list of events that affect it. - Notes ----- The class relies heavily on the concept of "events", which are instances @@ -157,6 +156,7 @@ def add_event( -------- events remove_event + add_event_dependency Event Event.add_dependency add_duration diff --git a/CADETProcess/optimization/optimizer.py b/CADETProcess/optimization/optimizer.py index 739b700f..41f6c78e 100644 --- a/CADETProcess/optimization/optimizer.py +++ b/CADETProcess/optimization/optimizer.py @@ -69,7 +69,8 @@ class OptimizerBase(Structure): functions for each individual in a given population. The default parallelization backend is 'Joblib', which provides parallel execution using multiple cores. - n_cores + n_cores : int, optional + Proxy to the number of cores used by the parallelization backend. """ is_population_based = False diff --git a/CADETProcess/processModel/unitOperation.py b/CADETProcess/processModel/unitOperation.py index 2312159d..0354156d 100644 --- a/CADETProcess/processModel/unitOperation.py +++ b/CADETProcess/processModel/unitOperation.py @@ -1037,8 +1037,8 @@ class Cstr(UnitBaseClass, SourceMixin, SinkMixin): Initial concentration of the bound phase. V : unsigned float Initial volume of the reactor. - total_porosity : UnsignedFloat between 0 and 1. - Total porosity of the column. + porosity : UnsignedFloat between 0 and 1. + Total porosity of the Cstr. flow_rate_filter: float Flow rate of pure liquid without components to reduce volume. solution_recorder : CSTRRecorder