AddCalc
The AddCalc function is part of the model object.
It's used to add new calculations to your model. These are very similar to outputs, however the results aren't published.
Syntax
model.AddCalc(Name,Lambda Expression,Dependencies)
Parameters
Name: A string containing the human-readable name of this point. As this point is not published, it's only use is when performing internal binding (ie. when you're referencing this calculation from a different model).
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.