Skip to main content

Configuring - Previous Value Data Reference

To configure the Previous Value Data Reference:

  1. In the Elements section of the navigation panel, select the respective Element and go to the Attributes tab.

  2. Select the Attribute Name for which the Previous Value Data Reference needs to be configured.

  3. Click on the Data Reference menu arrow and select Previous Value.

  4. Below the Data Reference name, click on the Settings button.

    The Previous Value Configuration Dialog window opens, as shown in the following image.Figure 490: Previous Value Configuration Dialog window

    The following table provides a description of the input boxes.

    Previous Value Data Reference Dialog

    Input Box / ButtonDescription
    ElementSelect the Element from which you want to bring in the value. Check the ‘Same Element’ box to choose the same element.
    AttributeSelect the Attribute from which you want to bring in the value. Check the ‘Same Attribute’ box to choose the same attribute.
  5. Select the Element and Attribute values using one of the following configurations.

    ClosedSame Element, Same AttributeFigure 491: Previous Value Configuration - Same Element, Same Attribute

    This configuration picks up the value from a previous Case of the same Element and same attribute.

    To use this configuration:

  6. Check the Same Element checkbox.

  7. Check the Same Attribute checkbox.

  8. Click OK to save your options and close the window.

    ClosedSame Element, Different AttributeFigure 492: Previous Value Configuration - Same Element, Different Attribute

    This configuration picks up the value from previous Case of same element, but any other Attribute of this Element which has the same UOM.

    To use this configuration:

  9. Check the Same Element checkbox.

  10. Uncheck the Same Attribute checkbox (if it is checked).

  11. Click the Attribute down-arrow and select the Attribute you want.

  12. Click OK to save your options and close the window.

    ClosedDifferent Element, Same AttributeFigure 493: Previous Value Configuration - Different Element, Same Attribute

    This configuration picks up the value from previous Case of a different element, but same attribute.

    Note: For this configuration, the Element selected must have an Attribute with the same name and UOM.

    To use this configuration:

  13. Uncheck the Same Element checkbox.

  14. Check the Element ellipsis button and select the Element you want from the Element Search window.

  15. Check the Same Attribute checkbox.

  16. Click OK to save your options and close the window.

    ClosedDifferent Element, Different AttributeFigure 494: Previous Value Configuration - Different Element, Different Attribute

    This configuration picks up the value from previous Case of a different element, and different attribute.

    To use this configuration:

  17. Uncheck the Same Element checkbox.

  18. Check the Element ellipsis button and select the Element you want from the Element Search window.

  19. Uncheck the Same Attribute checkbox (if checked).

  20. Click the Attribute down-arrow and select the Attribute you want.

    Based on the Element you have selected, only the Attributes with matching UOM are available in the menu.

  21. Click OK to save your options and close the window.

    Make sure you select the proper names prior to clicking OK. If at any time a proper Element or Attribute is not selected and you click OK, one or both of the following messages appear.Figure 495: No Element or Attribute selected - error messages

    After the Data Reference is configured, the Attribute shows the error below. This is expected, since the configuration is being done outside Case context.Figure 496: Attribute showing an expected error

    The configuration string for the Data Reference, for Same Element & Same Attribute is shown below.Figure 497: Same Element, Same Attribute configuration string

    After this is done, you need to make sure that there is an initial value assigned to the 1st case.

  22. In the System Explorer navigation pane, go to the Model Analyses section and select this Element under a case.

    The Attribute still shows the same error in all the Cases in some situations (like Same Element & Same Attribute) since there is no initial value present in the first case.Figure 498: Expected error message for all cases

  23. In the Value column, double-click on the error message to make the cell editable, as shown in the following image.Figure 499: Editable error message box

  24. Assign the initial value by typing it in the editable box, as shown in the following image.Figure 500: Error message box with initial value entered

  25. Press Enter.

    A Comment window appears.Figure 501: Comment window

  26. Select the Create Adjustment option.

  27. (Optional) In the Comment box, type your comment.

  28. Click OK to save your settings and close the window.

    The following image depicts how the Attribute appears, after the initial value is assigned.Figure 502: Results of initial value assigned

    Previous Value Data Reference can be used for a density attribute. Density is configured to get the value from the previous case. When a new density value is known, it can be created as an adjustment in the case, so that from the next Case onward, the new density is carried forward.

    For the Previous Case Data Reference to grab a value from the previous case, the Attribute of the previous Case has to have an ‘Input’ symbol. This happens when the Attribute is in the SF_CaseInputData category and the Collect Inputs has been completed.

    ClosedEXAMPLES: Previous Value Data Reference ConfigurationsFigure 503: Previous Case Data Reference