Relationship
CLEM.Relationship
Provides a mathematical relationship using x and y values

This component defines a relationship using a sequence of x and y values. The component provides methods for the simulation to estimate a value of x or y from the relationship.
The graph of the relationship is displayed in the Summary tab.

The following parameters are used to define the relationship.

A comma separated list of x values representing the relationship
Number of entries must match Y values

A comma separated list of y values representing the relationship
Number of entries must match X values

If the x value being used to solve the relationship is greater than the maximum, or less than the minimum value of x provided (above), the relative value of y associated with the maximum or minimum will be returned.
If the relationship is being solved for y from a value of x that is between two values in the relationship the following calculation options are available:

The value of y for the x value less than or equal to the value provided will be used. This forms a step style relationship with values of y only change at each value of x provided.

This option will perform a linear interpolation to calculate y based on the difference the specified value is between the two adjacent values of x.
The style of solving the relationship is evident in the graph of the relationship displayed in the Summary Tab with Use specified values providing a step style graph, while Interpolation provides the linear line between each pair ox x and y values supplied.

This optional entry describes the type of x values for the relationship. This value will be displayed in the graph of the relationship in the summary tab.

This optional entry describes the type of y values for the relationship. This value will be displayed in the graph of the relationship in the summary tab.
See also