Create Reports

Create lightweight, self-contained HTML reports for Activate models.

  • Dynamic HTML pages let you navigate throughout the hierarchy of a model as well as inspect blocks, parameters and simulation results.
  • Model navigation in a report is exactly the same as it is in the software user interface.
  • During the reporting process, the Model Report Generator launches a simulation for capturing the most current model data and simulation results.

Creating Model Reports

Create a report to capture model information and simulation results in an .html file.

The following steps show you how to create a report for the model, Watertank.scm, which is included in your installation files.
  1. From the Demo Browser, select tutorial_models > Watertank.scm.
    The Watertank model loads.
  2. From the menu bar, select Tools > Model Report.
    The Model Report dialog appears.
  3. In the field for Report directory, enter the path where you want to publish your report.
  4. From the list of options, select the information you want to include in your report. For Footer text, enter a description for your report.
  5. Click OK.
    A simulation runs and a report generates as specified. The top page of the report for the Watertank model looks something like this:
    The completed report includes a publishing date, the name of the model, an expandable tree view of the model hierarchy, expandable sections of information for Model Initialization, Simulation Parameters and Simulation Results.
    Note: Reports for smaller models generate very quickly while larger models require more time.

Inspecting Blocks

Double-click a block in a diagram and the block dialog is displayed.

In the root diagram, Watertank, double-click the block, Constant.
The block dialog is displayed:

Navigating Inside Diagrams

You can navigate through model diagrams in an .html report is the same way that you would in the software interface.

  1. On the main page of the report or in the Model tree view, click the root diagram, Watertank.
    The root diagram is displayed:
  2. On the masked super block, Controller, press Alt+ double-click.
    The diagram of the super block is displayed:
  3. In the background of the diagram, double-click.
    The view moves up one level.
    From the diagram of the super block, Controller, the view returns to the root diagram, Watertank:

Printing Reports

Print hard copy from the HTML pages of a model report.

From the upper-right corner of the model report, click .