CADETProcess.dynamicEvents.EventHandler.add_duration

CADETProcess.dynamicEvents.EventHandler.add_duration#

EventHandler.add_duration(name, time=0.0)[source]#

Register a new duration or time point of interest.

Durations are specific moments in the process that do not necessarily modify attributes but are noteworthy or need to be tracked.

Parameters:
name: str

Name of the event.

timefloat

Time point for perfoming the event.

Raises:
CADETProcessError

If Duration already exists.