Editing Calculations

Use

Depending on how you created the calculation setup, there are two types of calculations in the environment management component:

  • Calculations that consist of a single expressions, created and used locally.

  • Calculations based on existing equations that are predefined in the compliance requirement paragraphs assigned to the compliance scenario.

Both calculation types consist of details that are either common or specific for each type. This document outlines the contents of the calculations and the procedure for editing and change.

Calculation Setup Details

The details of a calculation setup carry information about the calculation name and description, the calculation mode, and if applicable, information about the used equations. In the details section of the calculation setup, you can specify the mode in which the environmental data is calculated. The following options are available:

  • Automatic for Complete Data Only

    If the input data is complete (it is available in the system and is approved by the corresponding environmental manager), the system automatically carries out the calculation of environmentally-related data at the end of the calculation period at the earliest. Note that if the input data is incomplete after the end of the calculation period, the calculation will not produce any result until the input data is complete.

  • Automatic

    The system automatically carries out calculation of environmentally-related data when the input data is available in the system. The system can carry out calculations with incomplete data records. In this case, the result is saved as preliminary.

  • Manually

    The system does not carry out any calculation automatically. The corresponding person responsible carries out the calculation on demand.

Locally Created Expressions

A calculation expression is the mathematical formula that you use for the calculation of environmentally-relevant data. It has input variables of environmental data, such as collected or sampled values that are recorded in the system, the results of other calculations, regulatory lists, or locally defined fixed values. The result of a calculation is an environmentally-relevant value, such as the amount of substances or compounds emitted at the company. When you create a calculation setup with locally used expression, you only specify the result that you wish to obtain with the calculation. At this stage, when you edit the calculation setup, you can provide or edit the expression.

Predefined Results and Expressions (Equations)

An alternative to the locally created expression is the usage of equations in the calculation setup. The environment management component enables you to create calculations with the help of predefined equations that are pulled from the compliance requirement paragraph, assigned to the scenario. When you create a calculation setup based on an existing equation, the expressions and optionally the results are defined already. Therefore, when you edit the calculation setup, you cannot edit any part of the equation, such as, the output variable, the expression, the input variables, the intermediate or predefined final results. At this stage, you can only assign the input variables preset in the equation to existing data sources.

Note that if the equations are defined originally with specific expected data, this data is visible in the corresponding section. When you edit the calculation and map real values to the input variables, it is critical that you specify the correct environmental data. Although the search help is not restricted to the predefined values, your selection of environmental data could be originally restricted during the creation of the equation.

For more information about the equations, see Creating Equations.

Input Variables

The input variables of a calculation setup are common for the two types of calculations. The input variables of the expression are the placeholders for the real environmental data that should be used in the calculation. When you provide the expression either locally in the calculation setup, or in a given equation, you have to extract and specify the input variables in a separate section. In this section, you have to establish connection between these variables and the real environmental data.

Note that you can extract input variables from the expression and specify them in the calculation setup only for calculations with locally created expressions. For calculations based on existing equations, the input variables are already defined in the corresponding equations and therefore you cannot change them as part of the calculation setup. However, in both calculation types you can map the input variables to real data when you edit the calculation setup.

Environmental Limits

Similarly to the other environmental data, that is recorded in or produced by the environment management system, you can assign environmental limits to the calculation results, too. This way you can guarantee that the calculation values are within the defined applicable ranges and the company is environmentally compliant. To assign environmental limits, the application enables you to browse through the limits that are available in the compliance requirement paragraphs assigned to the scenario.

For more information, see Creating Environmental Limits.

Procedure

When you edit the calculation setup, you can change or update the details of an existing calculation setup, such as, the calculation name and description, the calculation mode. Additionally, for calculations with local expressions you can also edit the expression, the list of input variables. For calculations based on equations, you can only edit the mapped environmental data. You can also assign environmental limits to the results of any calculation. However, to prevent changes to calculations that are in productive usage within the compliance scenarios, the system restricts for editing the active calculations. To edit the calculation setup, the status of the compliance scenario revision must be Inactive.

In the Compliance Scenario Activities section, select the calculation setup that you wish to edit. Depending on the calculation setup, the following use cases are available.

Editing Calculations with Local Expressions

After you create the calculation setup, you have to provide the expression, the corresponding input variables, and also connect these variables to real environmental data.

  1. In the Calculation Setup section, choose Calculation Setup Details.

  2. Edit the name or add further information about the calculation in the corresponding fields.

  3. Specify how you wish to carry out the calculation.

  4. In the Expression section, enter the mathematical formula to carry out the calculation.

    For more information about the valid operations and functions that you can use in the expression, see Calculation Operators and Functions.

  5. In the Input Variables section, specify the variables in the provided expression.

    1. You can add the input variables from the expression manually using the Add button. Otherwise, you can use the functionality that scans the expression and adds all potential variables.

    2. As a next step, you must specify data source type of the input variables.

      1. Enter Data Source.

      2. Enter the value.

  6. Save your entries.

Editing Calculations with Predefined Equations

When you edit calculations based on equations, the equation serves as a predefined template and you can only link to it the environmental data that is needed for the calculation. If you wish to edit the equation, you can only edit its details as part of the compliance requirement.

  1. In the Calculation Setup section, choose Calculation Setup Details.

  2. Edit the name or add further information about the calculation in the corresponding fields.

  3. Specify how you wish to carry out the calculation.

  4. If relevant, in the Results section, you can set the result title of the calculation.

    A final result title represents and consists of the environmentally-relevant details of the result that is produced by the calculation. The title comprises information about the data period, the subject of the calculation (a chemical or a physical parameter), and the unit. If you did not specify the details of the final results when you created the equation, you must specify these details in the title at this point. Note that you can set a calculation result title only if any of the details has not been specified before. Once the result title is set, the system does not allow you to change it.

  5. In the Input Variables section, specify the details of the input variables.

  6. Save your entries.

Assigning Environmental Limits

  1. Choose Assign Environmental Limits.

    The dialog that opens extracts and displays all environmental limits that are: created in the compliance requirement paragraph that is assigned to the compliance scenario; and are valid for the same subject as the data collection definition, the calculation result, or location-based aggregation.

  2. Select the environmental limit that you wish to assign.

  3. Choose OK.

  4. Optionally, you can review the environmental limit details by choosing the link (the name of the environmental limit).

For more information about creating and using environmental limits, see Creating Environmental Limits.