CADETProcess.modelBuilder.LWE.add_duration

CADETProcess.modelBuilder.LWE.add_duration#

LWE.add_duration(name: str, time: float = 0.0) Duration#

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.

Returns:
Event:

The new Event.

Raises:
CADETProcessError

If Duration already exists.

See also

durations
remove_duration
Duration
add_event
add_event_dependency