1

Axiom 26.8: TrendGraph inside an AssetTemplate shows trends from other template instances (and duplicates)

Version: Axiom 26.8.0.26287

Setup

The model has four asset levels: Field > Pad > Group > Well. Each Well has two tags, Casing Pressure and Tubing Pressure. Every Well belongs to exactly one Group; no Well appears under two Groups.

The application has a single screen:

  • Screen: AssetInstance of type Pad, with the inline asset picker.
    • AssetTemplate: AssetType = Group.
      • AssetTemplatePanel, containing:
        • an AssetLabel
        • a TrendGraph with AssetType = Well, AssetFilter empty and AssetInstanceMaxCount 25. It has two TrendAssets: Casing Pressure and Tubing Pressure.

The intent: pick a Pad, get one panel per Group, and each panel trends the casing and tubing pressure of the Wells in that Group only.

Steps to reproduce

  1. Open the application on a Pad that has two Groups (for example Group A with 4 wells and Group B with 1 well).
  2. Switch to a few other Pads with the picker, then back again.

Expected

Each panel's trend shows only the Wells under that panel's Group.

Actual

  • Panels show Wells from the other Group. For example, the Group B panel shows its own well's casing and tubing pressure, plus the Tubing Pressure of every Group A well.
  • Panels also show duplicate trends of their own wells, and the duplicates pile up as you switch Pads.
  • Only the last TrendAsset in the graph is affected. Casing Pressure (first) is always correct.

Ruled out

ChangeResult

Swap the order of the two TrendAssets Casing Pressure (now last) leaks instead
Remove LinkBand / LinkScale from the second TrendAsset No change
Use one TrendAsset only (Casing Pressure) That trend leaks and duplicates
Use one TrendGraph per tag inside the panel Every graph leaks
Add a hidden TrendAsset, or a TrendCalculation, as the last trend Leak still visible in the browser
Inspect the view data

Clean: no Well is under more than one Group

 

Sample File

{
  "ApplicationProperties": {
    "PlaybackDuration": "08:00:00",
    "PlaybackMode": "Disabled",
    "PlaybackPosition": "0001-01-01T06:00:00.0000000Z",
    "PlaybackSpeed": "00:01:00",
    "PlaybackStart": "9999-12-31T23:59:59.9999999Z",
    "TemplateId": 1,
    "TimeDuration": "01:00:00",
    "TimeEnd": "2026-06-23T14:49:31.1631919Z",
    "TimeMode": "Disabled"
  },
  "ApplicationScreens": [
    {
      "ControlKind": "Screen",
      "ControlName": "Screen1",
      "ControlProperties": {
        "AssetBranchCount": null,
        "AssetInstance": {
          "AssetPath": "Field1.Pad A",
          "AssetServer": "LOCALHOST",
          "AssetType": "Pad",
          "AssetView": "Asset Model",
          "SourcePath": "<LOCALHOST>Asset Model.Field1.Pad A"
        },
        "AssetPickerInlineWidth": 350,
        "AssetPickerMode": "Inline",
        "Height": 876,
        "IsAssetInstanceValid": true,
        "IsNavigationVisible": true,
        "OnBeginAssetChange": null,
        "OnEndAssetChange": null,
        "TemplateId": 2288,
        "Title": "Repro",
        "Width": 1566
      },
      "ControlChildren": [
        {
          "ControlKind": "AssetTemplate",
          "ControlName": "AssetTemplate1",
          "ControlProperties": {
            "AssetType": {
              "AssetServer": "LOCALHOST",
              "AssetView": "Asset Model",
              "AssetType": "Group"
            },
            "Height": 912,
            "IsTemplateFooterVisible": false,
            "IsTemplateHeaderVisible": false,
            "IsVisible": true,
            "TemplateFilter": "",
            "TemplateId": 2334,
            "TemplatePageSize": 25,
            "TemplateRefreshInterval": null,
            "Width": 1300,
            "X": 354,
            "Y": 0
          },
          "ControlChildren": [
            {
              "ControlKind": "AssetTemplatePanel",
              "ControlName": "AssetTemplatePanel1",
              "ControlProperties": {
                "AggregateInterval": null,
                "AggregateKind": null,
                "AggregateStartTime": null,
                "AssetInstance": {
                  "AssetPath": "Field1.Pad A.Group A",
                  "AssetServer": "LOCALHOST",
                  "AssetType": "Group",
                  "AssetView": "Asset Model",
                  "SourcePath": "<LOCALHOST>Asset Model.Field1.Pad A.Group A"
                },
                "Color": "#00000000",
                "Height": 546,
                "IsAssetInstanceValid": null,
                "IsBackgroundTransparent": false,
                "IsVisible": true,
                "Limits": [],
                "OnBeginValueChange": null,
                "OnClick": null,
                "OnEndValueChange": null,
                "Source": null,
                "TemplateId": 2335,
                "ValueTransform": null,
                "Width": 625
              },
              "ControlChildren": [
                {
                  "ControlKind": "AssetLabel",
                  "ControlName": "AssetLabel1",
                  "ControlProperties": {
                    "AssetBranchCount": null,
                    "FontSize": "Large",
                    "HorizontalAlignment": "Center",
                    "IsVisible": true,
                    "NavigateSource": null,
                    "NavigateTarget": "CurrentWindow",
                    "OnClick": null,
                    "Rotate": 0,
                    "TemplateId": 2336,
                    "Width": 625,
                    "X": 0,
                    "Y": 0
                  },
                  "ControlChildren": null
                },
                {
                  "ControlKind": "TrendGraph",
                  "ControlName": "TrendGraph1",
                  "ControlProperties": {
                    "AssetFilter": "",
                    "AssetInstanceMaxCount": 25,
                    "AssetType": {
                      "AssetServer": "LOCALHOST",
                      "AssetView": "Asset Model",
                      "AssetType": "Well"
                    },
                    "Attributes": [
                      {
                        "CursorPosition": 0,
                        "FloatLabelPosition": 0,
                        "IsCursorVisible": true,
                        "IsFloatLabelVisible": true,
                        "IsLegendVisible": true,
                        "Key": "Display Name",
                        "LegendPosition": 0,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 1,
                        "FloatLabelPosition": 1,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": true,
                        "Key": "Source Tag",
                        "LegendPosition": 1,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 2,
                        "FloatLabelPosition": 2,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Description",
                        "LegendPosition": 2,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 3,
                        "FloatLabelPosition": 3,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Scale Range",
                        "LegendPosition": 3,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 4,
                        "FloatLabelPosition": 4,
                        "IsCursorVisible": true,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Cursor Value",
                        "LegendPosition": 4,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 5,
                        "FloatLabelPosition": 5,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": true,
                        "Key": "Last Raw Value",
                        "LegendPosition": 5,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 6,
                        "FloatLabelPosition": 6,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Last Raw Type",
                        "LegendPosition": 6,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 7,
                        "FloatLabelPosition": 7,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Absolute Time",
                        "LegendPosition": 7,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 8,
                        "FloatLabelPosition": 8,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Aggregate Kind",
                        "LegendPosition": 8,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 9,
                        "FloatLabelPosition": 9,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Aggregate Interval",
                        "LegendPosition": 9,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 10,
                        "FloatLabelPosition": 10,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Units",
                        "LegendPosition": 10,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 11,
                        "FloatLabelPosition": 11,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Sample Interval",
                        "LegendPosition": 11,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 12,
                        "FloatLabelPosition": 12,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Source ItemId",
                        "LegendPosition": 12,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 13,
                        "FloatLabelPosition": 13,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "Historian ItemId",
                        "LegendPosition": 13,
                        "IsCustomProperty": false
                      },
                      {
                        "CursorPosition": 14,
                        "FloatLabelPosition": 14,
                        "IsCursorVisible": false,
                        "IsFloatLabelVisible": false,
                        "IsLegendVisible": false,
                        "Key": "UTN",
                        "LegendPosition": 14,
                        "IsCustomProperty": false
                      }
                    ],
                    "BandMode": "Auto",
                    "BandPadding": 6,
                    "CursorCount": 7,
                    "CursorMode": "Cursor",
                    "EventBoundEnd": null,
                    "EventBoundStart": null,
                    "EventInstanceMaxCount": 10,
                    "EventMetadataFilters": [
                      {
                        "Comparison": "Equal",
                        "Key": "EventStatus",
                        "Value": "Completed"
                      }
                    ],
                    "EventOffsetEnd": null,
                    "EventOffsetStart": null,
                    "EventPins": null,
                    "EventServer": "Localhost",
                    "EventTypes": null,
                    "GridLineStyle": "Solid",
                    "Height": 516,
                    "HorizontalGridMode": "Scale",
                    "HorizontalGridPixels": 60,
                    "IsAnnotationsVisible": true,
                    "IsScaleLeftVisible": true,
                    "IsScaleRightVisible": true,
                    "IsTimeVisible": true,
                    "IsVerticalGridTimeVisible": true,
                    "IsVisible": true,
                    "LegendGridCount": null,
                    "LegendMode": "None",
                    "LiveScrollPercent": 0,
                    "TemplateId": 2349,
                    "TimeDuration": "00:30:00",
                    "TimeEnd": "9999-12-31T23:59:59.9999999Z",
                    "TimeMode": "Live",
                    "Title": null,
                    "VerticalGridCount": 12,
                    "VerticalGridDuration": "00:05:00",
                    "VerticalGridMode": "Pixels",
                    "VerticalGridPixels": 60,
                    "Width": 625,
                    "X": 0,
                    "Y": 30
                  },
                  "ControlChildren": [
                    {
                      "ControlKind": "TrendAsset",
                      "ControlName": null,
                      "ControlProperties": {
                        "AggregateInterval": "00:00:00",
                        "AggregateKind": "TimeAverage2",
                        "AssetTag": "Casing Pressure",
                        "BandHeight": null,
                        "BandStart": null,
                        "Color": "#FFFF5722",
                        "DisplayName": "Casing Pressure",
                        "DrawingMode": "Trend",
                        "DrawingStates": [],
                        "IsHorizontalGridVisible": true,
                        "IsLimitHighFillEnabled": false,
                        "IsLimitHighLineEnabled": false,
                        "IsLimitLineVisibleOutOfBand": true,
                        "IsLimitLowFillEnabled": false,
                        "IsLimitLowLineEnabled": false,
                        "IsScaleLeftVisible": true,
                        "IsScaleLogarithmic": false,
                        "IsScaleRightVisible": false,
                        "IsVisible": true,
                        "LimitHighFillColor": "#FFEF5350",
                        "LimitHighLineColor": "#FFEF5350",
                        "LimitHighSourceTag": null,
                        "LimitHighValue": 100.0,
                        "LimitLines": [],
                        "LimitLowFillColor": "#FF66BB6A",
                        "LimitLowLineColor": "#FF66BB6A",
                        "LimitLowSourceTag": null,
                        "LimitLowValue": 0.0,
                        "LineThickness": 1.0,
                        "LinkBand": null,
                        "LinkScale": "",
                        "NumberFormatDigits": 2,
                        "NumberFormatMode": "Decimal",
                        "ScaleMax": 10000.0,
                        "ScaleMin": 0.0,
                        "ScaleMode": "Manual",
                        "TemplateId": 2535,
                        "TimeShift": "00:00:00"
                      },
                      "ControlChildren": []
                    },
                    {
                      "ControlKind": "TrendAsset",
                      "ControlName": null,
                      "ControlProperties": {
                        "AggregateInterval": "00:00:00",
                        "AggregateKind": "TimeAverage2",
                        "AssetTag": "Tubing Pressure",
                        "BandHeight": null,
                        "BandStart": null,
                        "Color": "#FF2196F3",
                        "DisplayName": "Tubing Pressure",
                        "DrawingMode": "Trend",
                        "DrawingStates": [],
                        "IsHorizontalGridVisible": true,
                        "IsLimitHighFillEnabled": false,
                        "IsLimitHighLineEnabled": false,
                        "IsLimitLineVisibleOutOfBand": true,
                        "IsLimitLowFillEnabled": false,
                        "IsLimitLowLineEnabled": false,
                        "IsScaleLeftVisible": false,
                        "IsScaleLogarithmic": false,
                        "IsScaleRightVisible": false,
                        "IsVisible": true,
                        "LimitHighFillColor": "#FFEF5350",
                        "LimitHighLineColor": "#FFEF5350",
                        "LimitHighSourceTag": null,
                        "LimitHighValue": 100.0,
                        "LimitLines": [],
                        "LimitLowFillColor": "#FF66BB6A",
                        "LimitLowLineColor": "#FF66BB6A",
                        "LimitLowSourceTag": null,
                        "LimitLowValue": 0.0,
                        "LineThickness": 1.0,
                        "LinkBand": "Casing Pressure",
                        "LinkScale": "Casing Pressure",
                        "NumberFormatDigits": 2,
                        "NumberFormatMode": "Decimal",
                        "ScaleMax": 10000.0,
                        "ScaleMin": 0.0,
                        "ScaleMode": "Auto",
                        "TemplateId": 2536,
                        "TimeShift": "00:00:00"
                      },
                      "ControlChildren": []
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Reply

null

Content aside

print this pagePrint this page
  • 1 Votes
  • 5 hrs agoLast active
  • 4Views
  • 2 Following