CADETProcess.modelBuilder.SerialColumns.add_duration#
- SerialColumns.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
durationsremove_durationDurationadd_eventadd_event_dependency