Navigation:  Sample Module >

Parameter Calculator

 

The Parameter Calculator allows you to create and evaluate simple to complex mathematical expressions:

 

Parameter to Calculate

The button below the "Parameter to calculate" label allows you to select the parameter that will be calculated.using the parameter selection window.  Only the following types of parameter are allowed to be calculated:

Sample Parameters: numeric fields in the Sample Table/Sample List

Custom Calculated Parameters: parameters in the Sample Results table with the calculation option enabled in the Parameter Editor module.

 

Scope

The button below the "Apply to all samples in the following sample set:  the Parameter to calculate" label allows you to select the parameter that will be calculated.using the parameter selection window.  Only the following types of parameter are allowed to be calculated:

Sample Parameters: numeric fields in the Sample Table/Sample List

Custom Calculated Parameters: parameters in the Sample Results table with the calculation option enabled in the Parameter Editor module.

 

Expression

The expression entry allows you to enter an expression on the left side. The expression can be built using a combination of parameters (see section below) or mathematical expression components. For example an approximation of alkalinity is the sum of bicarbonate and carbonate (expressed in equivalents per liter) and converted to the equivalent concentration of calcium carbonate:

 

PAR[HCO3 AS meq/L] + PAR[CO3 AS meq/L] * 100

 

Parameter Picker

On the right side of the expression builder, you can select a parameter and a desired unit. Upon selecting the desired parameter (and optional unit), select the "Add parameter to expression" button.  This will add the parameter as "PAR[   ]" with optional units at the location of the cursor. For example, adding HCO3 with units of milliequivalents per liter will be added as "PAR[HCO3 AS meq/L]".

 

Preview

You can preview the result of the expression for a selected sample:

 

Select

The button allows you to pick a sample that will be used to evaluate the expression for the preview.

 

Test

Clicking the button allows you to preview the evaluated expression for the selected sample.

 

Calculate

Clicking the button evaluates the expression to the selected parameter for the defined samples.

 

 


Page url:https://www.waterloohydrogeologic.com/help/hga/index.html?sample_calculate_parameter_value.htm