Skip to content

ActivityObject.add_output

ActivityObject.add_output(type: ActivityOutput, name: str, t: List[float] = None, f: List[float] = None, unit: str = None, feature: bool = False) -> None

Adds a new output to the ActivityObject object.

Parameters

type
Determines the type of the output.
name
Name of the output. Model inputs with corresponding names to an output will be automatically linked.
t
Sequence of time points during which corresponding values f apply.
f
Sequence of values to be applied at corresponding time points t.
unit
Unit of the activity output.
feature
If true, will add the activity output as a feature in any connected SimulationObject object.

Return type

None

Return value

None