AddInput
The AddInput function is part of the model object.
It's used to add new inputs to your model.
Syntax
model.AddInput(Name,Default,Source)
Parameters
Name: A string containing the human-readable name of this point. This name will appear everywhere the data point is published.
Default: A default value that the input should have.
Source: Optional - Defaults to None The path to an internal or external source of data for this input. This parameter is discussed in the example of connecting a model to live data.
Tolerance: Optional - Defaults to 0.0001 The amount of change in the signal that will be allowed without causing recalculations on any parts of the model that use the value. This is used to filter out noisy signals and prevent pointless recalculation.