PREVNEXT

brandLogo: alt="EnergyLogo"


About shortBrandName Demo Data


Demo data is data that is generated by the demo data generator. You can use the demo data with a demo license for evaluation and training purposes. This means that you need the “eas” feature included in your license file, as described in “About the license.properties file,” page 2-3. The “eas” feature is also required for the fully licensed version of shortBrandName - whether you are running in demo mode or not, so you can always use demo data if you have it. If you do not have any demo data you can generate it by using the demo data generator as described in “Generate demo database,” page 5-21.

The following topics describe tasks related to installation and setup of demo data:

Install the demo data generator service

The easdemo.jar file must be installed (copied to the NiagaraAX modules directory) before you can install it in your services directory. Installation of this module is described along with the eas module installation procedure. Refer to “Install the eas module,” page 2-7, for details about installing the easdemo.jar file.

Note: After installing the easdemo.jar file, the station (or workbench instance) must be restarted in order to see it in the station.

  1. Using the workbench interface, open the easdemo palette.
    The EasDemoGenerator appears as the only component in the palette (see Figure 5-25).
Figure 5-25 Opening the easdemo palette.
  1. Drag and drop the EasDemoGenerator module onto the EasServices node in the workbench nav tree.
    The EasDemoGenerator is installed and appears as a child node under the Services node, as shown in Figure 5-26.
Figure 5-26 EasDemoGenerator service.

Generate demo database

The EasService must be up and running and connected to the relational database before you can create demo data.

Note: If you want to monitor the progress of the demo data generation, you need to use the 'trace' level debugging for the "easdemo" log. Set this by going to the 'Remote Spy' pages, and navigating to the 'logSetup' page. Switch the "easdemo" setting to 'trace'. This will allow you to monitor the progress in the standard output of the station.

  1. In the workbench nav tree, expand the Services node and double-click on the EasServices node.
    The EasService property sheet displays.
  2. Right-click on the Eas Demo Generator property and select Actions > Generate Demo Data from the popup menu.
    This action triggers the demo data generation process. It prompts you for some optional parameters (see Figure 5-27).
Figure 5-27 Select parameters for generating demo data.
  1. Choose to generate both the histories and set up the SQL configuration tables, or choose to set up just the SQL configuration tables. You can also specify the start and end years to use for generating the histories.

    Note: Once you click the OK button the demo generator will use these parameters to create the demo data. For 2 years worth of data, it could take 40 minutes or so, depending on your computer speed. During this time you will not be able to use shortBrandName and your pc may be sluggish. Once complete, you will have the 8 sites worth of shortBrandName demo data stored in NiagaraAX histories.

  2. Click the OK button to generate the data.

Generate a year template

A year template is a .csv file that contains the model data to use for generating the shortBrandName demo data. The “Generate Year Template” action places any year templates that the user generates under the station's directory in a folder called 'easDemoYearTemplates'.

  1. In the workbench nav tree, expand the Services node and double-click on the EasServices node.
    The EasService property sheet displays.
  2. Right-click on the Eas Demo Generator property and select Actions > Generate Year Template from the popup menu.
    This action triggers the Year Template generation process. It prompts you for some optional parameters (see Figure 5-28).
Figure 5-28 Select parameters for year template.
  1. Choose or set the following parameter
    • New Year
      Type in the year that you want to generate.
    • Model Year
      Select the model year to use for generating the year.
    • Data Type
      Choose to generate either Normal data or Faulty Early Schedule data. The type defaults to Normal data. The "Faulty Early Schedule" option generates data that is offset by a few hours to give the effect of an early schedule. The "Faulty Early Schedule" option can be useful for demonstrating the effects of bad or fixed results.
  2. Click the OK button to generate the template.
    The template is generated and stored in a “easDemoYearTemplates” folder.

    Note: Now that a template is created, the next time you generate demo data, it will use the year template that you generated.

Purge the year templates

This action deletes any Year templates that have been generated. It removes all of the .csv files that are in the easDemoYearTemplates under the station directory.

  1. In the workbench nav tree, expand the Services node and double-click on the EasServices node.
    The EasService property sheet displays.
  2. Right-click on the Eas Demo Generator property and select Actions > Purge Generated Year Templates from the popup menu.
    A confirmation dialog box appears, asking if you are sure you want to purge the Year Template files..
  3. Click the OK button to delete all Generated Year Template files.
    The Generated Year Template files are deleted.

longBrandName
PREVNEXT