Skip to main content

Calculations

Environment access level

This section describes all operations that a *Subscription access level * user can perform with Caluclations (Rules).

Create a Real-Time Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the + symbol located in the top right corner.
  4. Enter the desired rule name into the Name field.
  5. Provide a description for the rule in the Description field.
  6. Select the appropriate device from the Device dropdown menu.
  7. Choose the triggering type from the Triggering Type dropdown menu. The options include real-time or time-triggered. If you select time-triggered, you'll need to specify the cron expression of the trigger time in the Cron Expression field. For instance, if you want to execute it every hour.
  8. Select the inbound capabilities from the Inbound Capabilities dropdown menu. This refers to the incoming data that will be used for calculation. You can select as many capabilities as you need.
  9. Choose the outbound capabilities from the Outbound Capabilities dropdown menu. You're free to select as many outbound capabilities as necessary.
  10. If necessary, select Outbound events, which function as triggers to initiate specific actions. For example, every time a machine stops, select an inbound capability that signifies the machine has stopped. Ensure you check the checkbox beside This rule produces an event.
  11. Click Download sample beside the Excel file containing rules.
  12. In the downloaded Excel sheet, calculate the outbound capabilities based on the inbound capabilities.
  13. Click Upload Excel beside the Excel file with rules.
  14. Select the Excel file and confirm the upload.
  15. Click Test Rule. This will display all input data.
  16. Click Test. The output data will be displayed.
  17. Click Create rule. The newly created rule will appear as a draft in the Rules overview.
  18. Right-click the ellipsis (...) beside the new rule.
  19. Select Publish.
  20. Confirm your action.

Create an Analytic Calculation Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Analytic Calculations tab.
  4. Click the + symbol located in the top right corner.
  5. Enter the desired rule name into the Name field.
  6. Provide a description for the rule in the Description field.
  7. If you want to use a custom Azure Data Explorer (ADX) query, check the User Custom Query checkbox and enter the query definition into the Inbound Custom AdxQuery field. If you want to simulate data, check the Simulate Data checkbox.
  8. Click the + symbol located in the Inbounds row.
  9. Select the device from the Device dropdown.
  10. Select the capability from the Capability dropdown.
  11. Select the aggregation from the Aggregation dropdown.
  12. Click the + symbol located in the Outbounds row.
  13. Select the device from the Device dropdown.
  14. Select the capability from the Capability dropdown.
  15. Select the aggregation from the Aggregation dropdown.
  16. Enter a name for the SQL table that will represent the rule.
  17. Click Download sample beside the Excel file containing rules.
  18. In the downloaded Excel sheet, calculate the outbound capabilities based on the inbound capabilities.
  19. Click Upload Excel beside the Excel file with rules.
  20. Select the Excel file and confirm the upload.
  21. Click Test Rule. This will display all input data.
  22. Click Test. The output data will be displayed.
  23. Click Create rule. The newly created rule will appear as a draft in the Rules overview.
  24. Right-click the ellipsis (...) beside the new rule.
  25. Select Publish.
  26. Confirm your action.

Create a Metric Distribution Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Metrics tab.
  4. Click the + symbol located in the top right corner.
  5. Enter the rule name into the Name field.
  6. Enter the rule description into the Description field.
  7. Select the organisation from the Organization field.
  8. Enter the unit definition into the Unit field.
  9. Click the pencil icon to assign the calculation method to the rule.
  10. Select the calculation method.
  11. Click SAVE.
  12. Click the save icon.

Edit a Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Real-time tab or the Analytic calculations tab, depending on the type of rule you need to edit.
  4. Click the ellipsis (...) in the row of the rule you want to amend.
  5. Click Edit rule.
  6. Amend the rule as required.
  7. Click UPDATE RULE.

Delete a Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Real-time tab or the Analytic calculations tab, depending on the type of rule you need to edit.
  4. Click the ellipsis (...) in the row of the rule you want to delete.
  5. Click Delete rule.
  6. Confirm deletion.

Preview an Analytic Calculation Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Analytic Calculations tab.
  4. Click the ellipsis (...) in the row of the rule you want to preview.
  5. Click Preview.

Recalculate an Analytic Calculation Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Analytic Calculations tab.
  4. Click the ellipsis (...) in the row of the rule you want to recalculate.
  5. Click Recalculate.
  6. Enter the data range for recalculation.
  7. Click RECALCULATE.

Edit a Metric Distribution Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Metrics tab.
  4. Click the ellipsis (...) in the row of the rule you want to amend.
  5. Click Edit distribution.
  6. Amend the rule as required.
  7. Click SAVE.
  8. Click the save icon.

Delete a Metric Distribution Rule

  1. Log in to Inimco Facts. This will direct you to the Home screen.
  2. Navigate to the Calculations section.
  3. Click the Metrics tab.
  4. Click the ellipsis (...) in the row of the rule you want to amend.
  5. Click Delete distribution.
  6. Confirm.