AddOutput

The AddOutput function is part of the model object.

It's used to add new outputs to your model.

Syntax

model.AddOutput(Name,Lambda Expression,Dependencies)

Parameters

Name: A string containing the human-readable name of this point. This name will appear everywhere the data point is published.

Lambda Expression: A Python Lambda-expression returning the calculated value of this output. This should include one or more references to other data points, such as inputs, constants and calculations.

Dependencies: This is a python list of each of the data points used in your Lambda Expression. Effectively, this is a list of points who's changes should cause the new output to re-calculate.

See Also