In- and output parameters can be defined for the unit operation. To define parameters, edit the unit operation, and go to the Parameters tab. Here, you can add, edit, remove and rename parameters.
Parameters can be real, integer, Boolean or string parameters. You can get the value of an input parameter by calling getParameter. To set the value of an output parameter, call setParameter.
For each parameter, you must at least define whether it is an input or output parameter, a unique parameter name and the value of a parameter. Default values, minimum and maximum values are optional. Leave the field empty if you do not want to define these.
Real parameters optionally have a dimensionality. All values are passed in strict SI units. To define the dimensionality for a real parameter, enter the non-zero powers for each dimension in the appropriate fields. For example, for a parameter that defines speed, enter 1 for Meter, and -1 for Second (at this point the unit of measure will show as m / s). It is also possible to indicate that a parameter is a difference value. This can affect unit-of-measure conversions. For example, an absolute temperature would have dimension [K]. A simulation environment may convert the unit-of-measure to °C by applying T/°C = T/K + 273.15. For a temperature difference however, the proper conversion is ΔT/°C = ΔT/K. In this case, make sure the difference / delta option is checked.
String parameters can have a list of options. Edit the string parameter to add or remove options. You can also indicate whether the actual value of the parameter is restricted to one of the options in the list.