Uncertainty and UncertaintyTable (Macro Commands)
Uncertainty h, Q, T_s=A1.5, Vel=R0.01 T_inf=Au_Tinf
Initiate the Uncertainty Propagation calculations to determine the uncertainty in variables h and Q as a result of uncertainties in variables T_s, Vel and T_infinity. Note that measured values are identified with an =A or =R following their name. In this example, the uncertainty in variable T_s is 1.5 on an absolute (A) basis. The uncertainty in variable Vel is 0.01 of its current value (relative basis). The absolute uncertainty in variable T_inf is equal to the value of variable u_Tinf, which must be set to a constant in the Equations window. Note that the designation Ru_Tinf would set the uncertainty of variable T_inf in a relative manner so that its uncertainty would be the product of its current value and the value of u_Tinf.
UncertaintyTable /S /U /R 'Table 1' Rows=1..10 h, Q, T_s=A1, Vel=R0.01 T_inf=Au_Tinf
Initiate the UncertaintyTable calculations to determine the uncertainty in variables h and Q as a result of uncertainties in variables T_s, Vel, and T_inf. Measured variables (here T_s, Vel and T_inf) are identified with =A or =R following their names. A indicates absolute uncertainty and R indicates relative uncertainty. The absolute or relative uncertainty is indicated with a numerical value or with a variable name following the A or R. Note that if a variable is name is indicated, the variable must be set to a value in the Equations window or in the Parametric table. Variables without an = following their name are assumed to be calculated values. All of the variables should be in the specified Parametric Table. If /U is provided, the guess values will be updated after each row of the table successfully completes calculations. If /R is provided the calculations will be start on the last row and proceed to the first row of the specified range. If /S is provided the calculations will stop if an error is encountered and remaining rows of the table will not be processed.
Note: If there is more than one tab in the Equations window, the Uncertainty and UncertaintyTable macro commands will operate on the selected tab, i.e., the tab that is formost in the Equations window. The selected tab can be set with the EqnWindowTab macro command.