Read Value

Allows reading the value of a variable and comparing it with the expected value

Would Fail if the two values are not equal, and it will return the Current Value

Arguments Description

variable_name (str): variable name in the fmu.

expected_value (float): the expected value of the variable.

Returns

float: the current value of the variable

Example

Read Value ${variable_name} ${2}