Workflow to Retrieve Behavior Experience Data

You can create a report template to retrieve behavior experience data. Behavior experience data, such as variable values, plots, watchlists, and signal operator probes, is created in Behavior Experience.

Important: Plots are static vector images. You cannot interact with the plots.
Note: In the following scenario, the variable default names are kept. It is recommended to customize these names to clarify the report template.


Before you begin:
  1. In Behavior Experience:
    1. Create one or more scenarios from a model from Dymola Behavior Modeling or a functional or logical behavior from Functional & Logical Design.
    2. Add comments on the scenarios.
    3. To include plots in the example below, define plots and watchlists.
    4. To include signal operator probe results, define signal operator probes.
    5. Simulate and generate results.
    6. Run the plots you want to report, including the plots of watchlists.
    7. Save.
  2. In Report Template Design:
    1. Create a report template with the name MyReportTemplate and the title Example. For more information, see Creating a Template.
    2. To open the report template, click, in the Configure column for the new template, the command Show Template.
See Also
About Workflow Overview
  1. To define this example of a report template for behavior experience data:
    1. From the Properties tab, in the Parameters area, click New.
    2. From the Type list, select System Behavior Simulation.

      Important: This example is created from a model from Dymola Behavior Modeling. If you instead create it from a functional or logical behavior from Functional & Logical Design, select Functional Simulation or Logical Simulation instead, respectively.

  2. To display and access the model name:
    1. From the Structures tab, drag Paragraph into the graphical area.
    2. From the Data tab, expand the following variable and category, and then drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    p: System Behavior Simulation Simulation Data Model Paragraph
  3. To access the simulation data in general:
    1. From the Data tab, expand the following variable and category.
    2. Drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    p: System Behavior Simulation Simulation Data Scenarios Empty space (below the paragraph)
  4. To present and access the scenario names:
    1. From the Structures tab:

      1. Drag Section into the Loop of Scenarios of p: sce.
      2. Drag Text into the section title.

    2. Click the text element, and enter Scenario: in the Text box of the Properties tab.
    3. From the Data tab, expand the following variable and category, and then drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    sce: Scenario Simulation Data Name Section title, after Scenario:
  5. To present and access the scenario comments:
    1. From the Structures tab, drag Paragraph into the section.
    2. From the Data tab, expand the following variable and category, and then drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    sce: Scenario Simulation Data Comment Section, in the paragraph
  6. To present and access the scenario parameter names and values:

    These parameters are the start time and the stop time of the scenario.

    1. From the Structures tab:

      1. Drag Table into the section.
      2. Drag Row into the table, under the header row.
      3. Into the first cell in the header row, drag Text, click it, and enter Name.
      4. Into the second cell in the header row, drag Text, click it, and enter Value.

    2. From the Data tab, expand the following variable and category, and then drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    sce: Scenario Simulation Data Parameters Table, between the header row and the row.
    Important: After dragging, to include the row of the table in this loop, drag the row of the table into the loop.
    sce2: Parameter Simulation Data Name The first cell of the table row in Loop on Parameters of sce: sce2
    sce2: Parameter Simulation Data Value The second cell of the table row in Loop on Parameters of sce: sce2
  7. To display a header for the simulation results:
    1. From the Structures tab:

      1. Drag Paragraph into Loop on Scenarios of p: sce, at the end of this loop.
      2. Drag Text into the paragraph, click it, and enter Results.
      Tip: You can select to have a bold underlined text.

    2. From the Data tab, expand the following variable and category, and then drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    sce: Scenario Simulation Data Results Loop on Scenarios of p: sce; after existing items
  8. To display the name of the results, and to access plots and probes:
    1. From the Structures tab, drag Paragraph into Loop on Results on sce: res.
    2. From the Data tab, expand the following variables and categories, and then drag the methods to the graphical area:
    Variable and Type Category Method Graphical Area
    res: Result Simulation Data Name The paragraph in Loop on Results of sce: res
    res: Result Simulation Data Plots Loop on Results of sce: res, after the paragraph
    res: Result Simulation Data Probe Results Loop on Results of sce: res, after the Loop on Plots of res: plo
  9. To manage the display of the plots data:

    Plots data include both live plots and plots from watchlists.

    1. From the Structures tab:

      1. Drag List into Loop on Plots of res: plo.
      2. Drag Paragraph below the inserted list item.

    2. From the Data tab, expand the following variables and categories, and then drag the methods to the graphical area:
    Variable and Types Category Method Graphical Area
    plo: Plot Simulation Data Plot Name First paragraph in the list item inserted in Loop on Plots of res: plo
    plo: Plot Simulation Data Plot Image Second paragraph in the list item inserted in Loop on Plots of res: plo
  10. To present and access the probe results:
    1. From the Structure tab:

      1. Drag Paragraph into the Loop on Probe Results on res: pro.
      2. Drag Table into the Loop on Probe Results on res: pro, after the paragraph.
      3. Drag Row into the table.
      4. Into the first cell in the header row of the table, drag Text, click it, and enter Signal Operator.
      5. Into the second cell in the header row of the table, drag Text, click it, and enter Value.

    2. From the Data tab, expand the following variable and category, and drag the method to the graphical area:
    Variable and Types Category Method Graphical Area
    pro: Probe Results Simulation Data Probe Result Name Paragraph in Loop on Probe Results of res: pro
    pro: Probe Results Simulation Data Signal Operator Result Table, between the header row and the row.
    Important: After dragging, to include the second row of the table in this method, drag the row of the table into the loop.
    sce3: Parameter Simulation Data Name The first cell of the table row in Loop on Signal Operator result of pro: sce3
    sce3: Parameter Simulation Data Value The second cell of the table row in Loop on Signal Operator result of pro: sce3

Notes:
  • Due to the size of the report template, the image of it is divided in three images.
  • The method Loop on Scenarios of p: sce is selected to better see the levels in the images.







When you preview the report template, a part of it may look like: