Configuring Control Rules


Control rules are the rules defined by Fleet Control to control commands. A control rule corresponds to a control command of a device. Control rules determine the display information of control commands on the control panel, including the display name of each type of device or EMS device, the setting of control parameters, and the monitoring points related to the control command.


Control rules can be divided into the scope of assets that need to be controlled based on type and model:

  • For control commands that are common to a certain type, control rules for device types or component types can be created. For example, devices of the fan and inverter types support power-on and power-off control.
  • For specific commands exclusive to a certain model of device, model category control rules can be created. For example, the A model of fan device supports setting climbing rate.

Operation Process


The complete process of configuring and using control rules is:

  1. Create control rules for the corresponding model or asset type in Configuration Center.
  2. (Optional) Assign control rules to control components in Digital Twin Visualization.
  3. After assigning relevant permission points for Unified Monitoring, enable control configuration in Fleet control.

Prerequisites


  • Ensure that the required assets have been connected to the current OU and that the public model associated with the assets has the required measurement points and services. For more information, see Device Modeling.
    • Measurement points: control points and verification points that can be selected as configuration control command parameters.
    • Services: standard control services that can be selected as configuration control rules.
  • Ensure that the required assets have tags indicating asset type and manufacturer model (if creating rules based on models). For tag styles and meanings, see Business Tags. You can check or update asset tags in one of the following ways:
    • Go to EnOS Management Console > Device Assets to view and edit tags for the required assets. For more information, see Adding Tags to Assets.
    • Use the Onboarding Tool > Business Tag Tool to add and update tags in batches. For more information, see Managing Asset Business Tags.
  • To enable the control panel and assign control rules in Fleet control, ensure that:
    • The current OU has obtained and deployed Digital Twin Visualization and Unified Monitoring.
    • The required permission points have been obtained.

Procedure

Step 1: Creating a Control Rule


  1. Select Global Business Rules > Control Rules from the left navigation bar.

  2. Select Create Control Rule, and enter the following information in the pop-up window:

    • Rule Identifier: Unique identifier for the control rule, which cannot be modified after submission.

    • Rule Name: Control name displayed in the control panel.

    • Control Type: Control type displayed in the control panel, including Start/Stop, On/Off, Set, and Other. To create or edit a control type, go to the Global Business Object > Dimension menu, select Fleet Control Control Type, and create or edit dimension records.

    • Command Classification: Single Control indicates that the control rule applies to issuing control commands to a single device or site, while Group Control indicates that the control rule applies to issuing control commands in batches to devices or sites. Multiple selections are supported.

    • Control Description: Description information displayed in the control panel.

    • Asset Type: Select Select an Asset Type and choose Site, Device, or Component in the pop-up window.

      • Site: After selecting the specific Site Type, select Submit and return to the upper-level pop-up window.
      • Device/Component: After selecting the specific Device Type and Component Type, you can continue to select Manufacturer and Model to create control rules specific to devices/components under that model. If you do not select a manufacturer or model, the rule will apply to all devices/components under that type.
    • Standard Service: Select the standard control service that needs to be bound.


      For more information about control panels, see Exploring Control Panels.


  3. Select Submit.

Step 2: Configuring Control Parameters


Based on the model standard service, customize the control parameters of the control rules, and the monitoring points associated with the control commands, as well as the control failure handling strategy according to business needs.

  1. Select Global Business Rules > Control Rules in the left navigation bar.
  2. Select Configure | edit | corresponding to the control rule to enter the configuration page.
  3. (Optional) Enter Prompt in the Basic Information section as a prompt message for the control command.
  4. In the Parameter Setting list, select the Configuration | edit | corresponding to the parameter. After the following parameter settings are completed in the pop-up window, select Submit.
    • Control Point ID
      • Input Type: Measured Point.
      • Required: Required.
      • Control Mode: System Input.
      • Set Point: Select a measured point as the control point (corresponding to teleadjusting and telecontrol) in the public model.
    • Effective Time
      • Input Unit: It is recommended to select the default unit from other parameters with control points.
      • Required: Required.
      • Control Mode: It is recommended to select System Input. After selecting System Input, configure the default value of the parameter.
      • Select Parameter: Select the set point selected in Control Point ID or Calibration Point ID as the basis for effective time.
    • Calibration Point ID
      • Input Type: Measured Point indicates that the model measured point is used as the data source. Character indicates that the default value input by the system or the value input by the user is used as the data source.
      • Required: It is recommended to be Optional.
      • Control Mode: After selecting System Input, configure the default value of the parameter.
      • Set Point: If Input Type is set to Measured Point, a measured point needs to be selected as the calibration point (corresponding to telemetering and telesignal points) in the public model.
    • Control Value
      • Required: It is recommended to be Required.
      • Control Mode: After selecting System Input, configure the default value of the parameter. After selecting User Input, configure the value range of the parameter.
      • Default Value/Value Range: If the parameter type is Integer, Float, or Double, you need to configure the default value or value range.
      • Enumeration: If the data type is Enum, you need to configure the enumeration values.
  5. In the Monitoring Point section, select + Add Monitoring Point, and check the monitoring points related to the control command in the pop-up window. It is recommended to configure 1-2 monitoring points to observe the execution effect of the control command after it is sent to the device. For example, when starting or stopping a fan, checking the active power can determine the effect of the operation on the actual output of the fan.
  6. In the Control failure Retry Strategy section, select whether to turn on the following features:
    • Enable Auto-Retry: automatically repeat the issuance of control requests that have failed to be executed. You need to configure the Retry interval and Retry count.
    • Enable Alarm: automatically generate alarms for control failures. You need to select Alarm Point to store the control result.
  7. Select Submit to complete the above parameter configuration.

Step 3: (Optional) Assigning Control Rules


If the control components are used on the Site Control or Device Control pages of the Fleet control, you can add corresponding control rules to the control components through Digital Twin Visualization. After adding, you can control the devices based on the rules in the corresponding components on the control panel of the Fleet control.

  1. In Digital Twin Visualization > Metrics Tools > Metrics Pages, find the Site Control or Device Control page template.

  2. Enter the page template editing page, hover your mouse over the control component, and select Edit to open the component editing window.

    ../_images/dtv_edit_control.png
  3. In the Chart Style tab, in the Control Rules section, enter the corresponding control rule ID in the Rule ID input box.

  4. After entering, select Save > Save and Publish in the upper left corner. After publishing, select copy to copy the URL.

  5. Enter the EnOS Management Console > Application Registration and select the Fleet control application to enter the application details page.

  6. Select the Menu Management tab, and select Edit Menu edit on the right of the menu corresponding to the Site Control panel.

  7. In the pop-up window, paste the copied URL into URL, and select OK to complete the configuration.


After completion, re-enter the corresponding menu page of Fleet Control, and the parameters of the control rules will be displayed in the control components.

Step 5: Enabling Control Configuration


After the control rule configuration is successful, you can enable the control configuration in the Fleet Control page.


Note

Since the configuration page of this feature comes from Unified Monitoring, make sure that the current account has the Organizational Configurable Page Editing permission for Unified Monitoring before starting.


  1. Select Fleet Control in the left navigation bar to enter the Device Control or Site Control menu.

  2. Select the Feature Configuration config_3 in the upper right corner of the page to enter the feature configuration page.

  3. Select the Control Configuration step, and enable the Control Configuration button.


    ../_images/control_enable.png
  4. After enabling, select Publish and republish the page.


After publishing, return to the corresponding menu of Fleet Control, and select the Control button in the upper right corner to open the control panel.


../_images/control_button.png

Results


The configuration parameters of the control rules will be displayed in the control panel, and control commands can be issued to devices based on the control rules. For more information, see Exploring Control Panel.