{"id":7287,"date":"2017-10-28T10:14:54","date_gmt":"2017-10-28T02:14:54","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=7287"},"modified":"2026-11-18T16:28:04","modified_gmt":"2026-11-18T08:28:04","slug":"glossary-help","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/glossary-help\/","title":{"rendered":"Glossary"},"content":{"rendered":"<p><span id=\"top-of-glossary\"><\/span><\/p>\n<p><strong>Click a term below to jump to its definition, or browse the groups.<\/strong><\/p>\n<ul class=\"glossary-index\">\n<li><strong>A<\/strong>: <a href=\"#adaptive-raw\">Adaptive Raw<\/a> \u00b7 <a href=\"#asset-model\">Asset Model<\/a> \u00b7 <a href=\"#attribute\">Attribute<\/a> \u00b7 <a href=\"#attribute-definition\">Attribute definition<\/a> \u00b7 <a href=\"#attribute-value\">Attribute value<\/a> \u00b7 <a href=\"#attribute-value-definition\">Attribute value definition<\/a><\/li>\n<li><strong>C<\/strong>: <a href=\"#components\">Components<\/a> \u00b7 <a href=\"#context\">Context<\/a><\/li>\n<li><strong>D<\/strong>: <a href=\"#data-format\">Data format<\/a> \u00b7 <a href=\"#data-type\">Data type<\/a> \u00b7 <a href=\"#dataset\">Dataset<\/a><\/li>\n<li><strong>M<\/strong>: <a href=\"#matrix-data\">Matrix data<\/a><\/li>\n<li><strong>P<\/strong>: <a href=\"#param\">PARAM<\/a> \u00b7 <a href=\"#plant-model\">Plant Model<\/a><\/li>\n<li><strong>R<\/strong>: <a href=\"#raw\">Raw<\/a> \u00b7 <a href=\"#relational-data\">Relational data<\/a><\/li>\n<li><strong>S<\/strong>: <a href=\"#shapes\">Shapes<\/a> \u00b7 <a href=\"#snapshot\">Snapshots<\/a> \u00b7 <a href=\"#system-identifier\">System identifier<\/a><\/li>\n<li><strong>T<\/strong>: <a href=\"#tabular-data\">Tabular data<\/a> \u00b7 <a href=\"#template\">Template<\/a> \u00b7 <a href=\"#template-definition\">Template definition<\/a> \u00b7 <a href=\"#template-instance\">Template instance<\/a> \u00b7 <a href=\"#templated-calculation\">Templated Calculation<\/a> \u00b7 <a href=\"#time-series-data\">Time series data<\/a> \u00b7 <a href=\"#trend-zoom\">Trend Zoom<\/a><\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Server\">Server<\/h2>\n<h3 id=\"adaptive-raw\">Adaptive Raw<\/h3>\n<p class=\"intro-text\">The Adaptive Raw <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Method<\/a> allows a very close approximation of raw data to be displayed by consuming applications, such as the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/trends\/creating-a-trend\/\">Explorer Trend<\/a>, at a much faster rate than was previously possible using raw data.<\/p>\n<p class=\"intro-text\">When analyzing data in fine detail, we often want to get the most granular data possible onto the trend. Traditionally, using the Raw sample method we could end up with millions of points of data being returned, with no way of actually showing all of these points on a screen with a resolution of 1920 pixels. Transferring all of those data points back to the web browser would also take a long time.<\/p>\n<p class=\"intro-text\">Adaptive Raw is an algorithm implemented in P2 Server\u2019s calculation engine that is designed to a trace on the Trend that is virtually identical in appearance, but which renders much faster. When using Adaptive Raw, P2 Server does the work of automatically selecting the sample interval to return the most detailed data possible.<\/p>\n<p class=\"intro-text\">The Adaptive Raw sample method works by sending all Raw data points from the historian to P2 Server, and then determining the number of points. If there are less than 2000 points then the raw data is returned, otherwise the adaptive raw algorithm is used to return 2000 points. Essentially, the Adaptive Raw sample method chooses the best data for you. The processing returns a trace that is a very accurate representation of a traditional Raw trend, but with far less data being actually transferred to the trend.<\/p>\n<p class=\"intro-text\">Using this method, we have been able to open up the time ranges available for trending of data using Adaptive Raw, giving an almost perfect copy of a raw Trend, but much faster.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/trends\/trend-controls\/#The_Adaptive_Raw_Sample_Method\">Adaptive Raw Sample Method for a Trend<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"asset-model\">Asset Model<\/h3>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/#Asset_Modelling_Pulling_It_All_Together\">Asset modelling<\/a> makes use of hierarchies, entities, templates, and attributes to give you a relevant \u201cbig picture\u201d of your entire system.&nbsp;<\/p>\n<p class=\"intro-text\">The Asset Model (previously called the Plant Model) provides a hierarchical way to navigate around P2 Explorer, using the hierarchy navigator. Information is provided in a tree structure, which displays hierarchies and can be designed for any purpose&nbsp;such as&nbsp;a geographic hierarchy, an asset register, or a plant view.&nbsp;<\/p>\n<p class=\"left-bar\">Related:&nbsp;<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/hierarchies\/\">Hierarchies<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/entities\/\">Entities<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">Templates<\/a>, <a href=\"#attribute\">Attributes<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-getting-started\/tag-search-and-hierarchy-navigation\/\">Hierarchy Navigation<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"attribute\">Attribute<\/h3>\n<p class=\"intro-text\">Where an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/entities\/\">entity<\/a> defines a real world or conceptual object, it is the <strong>attributes<\/strong> of an entity that describe the characteristics of that object. It\u2019s these characteristics, or <em>attributes<\/em>, that are associated with data that we generally want to model.<\/p>\n<p class=\"intro-text\">For example, an organisation may have a number of wells. Each well has a number of characteristics, such as THP. These characteristics are called <strong>attributes<\/strong>, and they are generally the thing that we are interested in finding detailed information about so that we can optimise production.<\/p>\n<p class=\"intro-text\">In P2 Explorer, you can recognise an attribute through its syntax:<\/p>\n<p><code>Entity<strong>:Attribute<\/strong>&nbsp;<\/code><\/p>\n<p class=\"intro-text\">For example:<\/p>\n<p><code>Well 1:Flow Rate<\/code><\/p>\n<p class=\"intro-text\">We can then break these attributes down even further to gain an insight into different aspects of that type of data, called <a href=\"#attribute-value\">attribute values<\/a>. &nbsp;<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">Attributes<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"attribute-definition\">Attribute definition<\/h3>\n<p class=\"intro-text\">An&nbsp;attribute definition defines which attributes are connected to each template.&nbsp;<\/p>\n<p class=\"intro-text\">When defining the attribute, we are telling the system what type of data will be connected to it (time series or tabular), as well as what template and attribute&nbsp;group it will belong to.<\/p>\n<p class=\"intro-text\">Here is an example of an <strong>attribute definition<\/strong>, with the name of the associated attribute groups and templates:<\/p>\n<table width=\"671\">\n<tbody>\n<tr>\n<td width=\"116\"><strong>Attribute Definition Name<\/strong><\/td>\n<td width=\"80\"><strong>Data Type<\/strong><\/td>\n<td width=\"134\"><strong>Template Definition<\/strong><\/td>\n<td width=\"113\"><strong>Attribute Group<\/strong><\/td>\n<td width=\"227\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"116\">THP<\/td>\n<td width=\"80\">TimeSeries<\/td>\n<td width=\"134\">Oil Producing Well<\/td>\n<td width=\"113\">Operating Data<\/td>\n<td width=\"227\">Tubing Head Pressure of an oil well<\/td>\n<\/tr>\n<tr>\n<td width=\"116\">Oil Flowrate<\/td>\n<td width=\"80\">TimeSeries<\/td>\n<td width=\"134\">Oil Producing Well<\/td>\n<td width=\"113\">Production Data<\/td>\n<td width=\"227\">The flow rate of oil from the well<\/td>\n<\/tr>\n<tr>\n<td width=\"116\">THP<\/td>\n<td width=\"80\">TimeSeries<\/td>\n<td width=\"134\">Gas Producing Well<\/td>\n<td width=\"113\">Operating Data<\/td>\n<td width=\"227\">Tubing Head Pressure of a gas well<\/td>\n<\/tr>\n<tr>\n<td width=\"116\">Gas Flowrate<\/td>\n<td width=\"80\">TimeSeries<\/td>\n<td width=\"134\">Gas Producing Well<\/td>\n<td width=\"113\">Production Data<\/td>\n<td width=\"227\">The flow rate of gas from the well<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">Attributes<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"attribute-value\">Attribute value<\/h3>\n<p><a>\u2190 Return to Glossary<\/a><\/p>\n<p class=\"intro-text\">The attribute&nbsp;value reflects the specific data of an entity's <a href=\"#attribute\">attribute<\/a>, such as <em>flow rate<\/em>.<\/p>\n<p class=\"intro-text\">For example, if we look at the Flow Rate attribute, we may have a number of different sources of this same data, such as Actual Value (from a historian), Theoretical Value (from a simulation), and Planned Value (from a forecasting system). Each of these <strong>attribute values<\/strong> can be associated with that attribute, creating a much more diverse view of your data.<\/p>\n<p class=\"intro-text\">The most common use of attribute values is to assign historian <em>tags<\/em> to the values. This allows us to create an <strong>asset model<\/strong>, where the users no longer need to remember long and complicated tag names. We can also store things like calculations, strings, and numbers to attribute values.<\/p>\n<p class=\"intro-text\">In P2 Explorer, you can recognise an attribute value through its syntax:<\/p>\n<p><code>Attribute<strong>!AttributeValue<\/strong>&nbsp;<\/code><\/p>\n<p class=\"intro-text\">For example:<\/p>\n<p><code>Flow Rate!Actual<\/code><\/p>\n<p>&nbsp;<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">Attributes<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"attribute-value-definition\">Attribute value definition<\/h3>\n<p class=\"intro-text\">The <strong>attribute value definition<\/strong> defines the structure of an attribute.&nbsp;<\/p>\n<ul>\n<li class=\"intro-text\">It associates the attribute with the attribute value.<\/li>\n<li class=\"intro-text\">In cases where an attribute has more than one attribute value, it defines the default attribute value associated with the&nbsp;attribute. This is important because&nbsp;if a data fetch is requested for the Entity:Attribute, and no attribute value has been supplied, then the system will use the default value.&nbsp;<\/li>\n<\/ul>\n<p class=\"intro-text\">The complete syntax for an attribute value definition, including the entity, is:<\/p>\n<p><code>Entity:Attribute!AttributeValue<\/code><\/p>\n<p class=\"intro-text\">For example:<\/p>\n<p><code>Well 1:Flow Rate!Actual<\/code><\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">Attributes<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"context\">Context<\/h3>\n<p class=\"intro-text\">A comment\u2019s context is some extra information that is added to the comment by a&nbsp;consuming application, such as P2 Explorer, and is used in a way that makes sense to that application.<\/p>\n<p class=\"intro-text\">For example, in P2 Explorer, the context is determined by the page designer. In the case of the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/comments-button\/\">comments button<\/a> component, all comments entered via that component on a page has the context as whatever is decided by the page designer. To illustrate, suppose the comments on a page all have the context of \u201cOil Report\u201d. Explorer can apply filtering to all the comments in the system to only show comments relevant to the current Explorer page.&nbsp;<\/p>\n<p class=\"intro-text\">Taking this a step further, a page designer can use the same context for the same entity on a completely different page. When a comment is applied to that entity, users will see all comments for that entity and&nbsp;context (e.g. Oil Report), even though they are displayed on different pages.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/comments\/\">Comments<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"data-format\">Data format<\/h3>\n<p class=\"intro-text\">P2 Server fetches data from external systems and, depending on the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/\">adaptor<\/a> being used, the data is returned in one of two formats: <strong>time series<\/strong> or <strong>tabular<\/strong>.<\/p>\n<p class=\"intro-text\"><strong><a href=\"#time-series-data\">Time series<\/a><\/strong>:&nbsp;A sequence of named data points which typically contains consecutive measurements over a period of time.<\/p>\n<p class=\"intro-text\"><strong><a href=\"#tabular-data\">Tabular<\/a><\/strong>:&nbsp;Contains data points that can be represented using rows and columns.<\/p>\n<p class=\"intro-text\">When you are defining an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\" target=\"_blank\">attribute<\/a>, one of the things you need to define is the format of the data returned by an attribute.&nbsp;<\/p>\n<p class=\"intro-text\">P2 Server uses this information in a number of different areas, to work out what operations it can do on the data being returned.<\/p>\n<p class=\"left-bar\">Related:&nbsp;<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data formats and data types<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"data-type\">Data type<\/h3>\n<p class=\"intro-text\">In P2 Server, the items used to configure the system and the data returned from the system, all have a specific data type that is used. We use a specific data type, rather than just treating everything as a string, so that we can be smarter with the data.&nbsp;<\/p>\n<p class=\"intro-text\">Data types are especially important when defining <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/\">datasources<\/a> and <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">attributes<\/a>. These are some of the different data types that you will encounter:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Boolean<\/strong> \u2013 has two values denoting true or false.<\/li>\n<li><strong>DateTime<\/strong> \u2013 a structure that represents the date and time in UTC.<\/li>\n<li><strong>Decimal<\/strong> \u2013 a number written in decimal notation.<\/li>\n<li><strong>Duration<\/strong> \u2013 a period of time.<\/li>\n<li><strong>Integer<\/strong> \u2013 a whole number that can be positive, negative, or zero.<\/li>\n<li><strong>String<\/strong> \u2013 a sequence of characters.<\/li>\n<li><strong>EncryptedString<\/strong> \u2013 a sequence of characters that has been encrypted.<\/li>\n<li><strong>Tag<\/strong> \u2013 a value from a time series datasource.<\/li>\n<\/ul>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data formats and data types<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"dataset\">Dataset<\/h3>\n<p class=\"intro-text\">When used in P2 Server, <em>dataset<\/em> refers to a type of datasource that returns tabular data, and is specified during the configuration of that datasource.<\/p>\n<p class=\"intro-text\">In P2 Explorer, a <em>dataset<\/em> refers to an SQL query that has been created for a dataset datasource. This query returns data in a tabular format, which can be added to a page so that components can use the data for visualisation purposes.<\/p>\n<\/p>\n<div id=\"attachment_7410\" style=\"width: 671px\" class=\"wp-caption alignnone\"><img fetchpriority=\"high\" decoding=\"async\" aria-describedby=\"caption-attachment-7410\" class=\"border-image wp-image-7410 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss.png\" alt=\"dataset-explorer-gloss\" width=\"661\" height=\"342\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss.png 661w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss-150x78.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-explorer-gloss-48x25.png 48w\" sizes=\"(max-width: 661px) 100vw, 661px\"><\/p>\n<p id=\"caption-attachment-7410\" class=\"wp-caption-text\">Adding a dataset to a page in P2 Explorer<\/p>\n<\/div>\n<div id=\"attachment_7411\" style=\"width: 602px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss.png\" rel=\"lightbox-0 lightbox-0\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-7411\" class=\"border-image wp-image-7411 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss.png\" alt=\"dataset-server-gloss\" width=\"592\" height=\"658\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss.png 592w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss-135x150.png 135w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/dataset-server-gloss-43x48.png 43w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\"><\/a><\/p>\n<p id=\"caption-attachment-7411\" class=\"wp-caption-text\">Datasets that have been added to a datasource in P2 Server, and are available for adding to P2 Explorer<\/p>\n<\/div>\n<p class=\"intro-text\">&nbsp;<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-dataset-datasource\/\">Creating a Dataset&nbsp;Datasource<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data Formats and Data Types<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-relational-datasource\/how-to-write-a-relational-dataset-query\/\">How to Write a Dataset Query<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"matrix-data\">Matrix data<\/h3>\n<p class=\"note\">See:&nbsp;<a href=\"#tabular-data\">Tabular data<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"param\">PARAM<\/h3>\n<p class=\"intro-text\">PARAM and PARAMS are P2 Server keywords, used for passing a single parameter (PARAM), or a collection of parameters (PARAMS) to a dataset query.<\/p>\n<p class=\"intro-text\">The PARAM\/PARAMS keywords are used in conjunction with their data type, so that P2 Server can replace this with the relevant database syntax (for example, SQL Server syntax).<\/p>\n<p class=\"intro-text\">Within the query, parameters are used as variables within the \u2018Where\u2019 clause, thus affecting the query results.<\/p>\n<p class=\"intro-text\">Here is an example of the two PARAM keyword variations, used with their datatypes, in a dataset query:<\/p>\n<pre>Select Sum(DowntimeHours) as SumDowntimeHours, DowntimeReason\nFrom SampleData\nWhere StartDate Between PARAM(StartDate, datetime) and PARAM(EndDate, datetime)\nAnd Entity in (PARAMS(EntitiesList, entity))\nGroup by DowntimeReason<\/pre>\n<p class=\"intro-text\">The PARAM and PARAMS used in a dataset query appear as options in P2 Explorer, in the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Dataset_Data\">data selector<\/a> under <strong>Dataset Parameters<\/strong>.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-dataset-datasource\/how-to-write-a-dataset-query\/\">How to Write a Dataset Query<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data Formats and Data Types<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"plant-model\">Plant Model<\/h3>\n<p class=\"note\">See: <a href=\"#asset-model\">Asset Model<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"raw\">Raw<\/h3>\n<p class=\"intro-text\">The Raw <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Method<\/a>  returns unprocessed raw data from the Historian.<\/p>\n<p class=\"intro-text\">If <strong>Raw<\/strong> is the selected <em>Sample Method<\/em> in an Explorer Trend, the time setting becomes <strong>Duration<\/strong> and the duration is selected as <strong>8 hours<\/strong>. The limit of 8 hours, which can be updated in Explorer's web.config file (<em>MaximumRawDuration<\/em>), is there to restrict the amount of raw data points required for this method. <\/p>\n<p class=\"intro-text\">An alternative method to use for a longer period is <a href=\"#adaptive-raw\">Adaptive Raw<\/a>.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/trends\/trend-controls\/#Changing_the_Trend_Control_Selections\">Changing the Trend Control Selections<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"relational-data\">Relational data<\/h3>\n<p class=\"note\">See:&nbsp;<a href=\"#tabular-data\">Tabular data<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"system-identifier\">System identifier<\/h3>\n<p class=\"intro-text\">One of the more advanced,&nbsp;but very useful, features of a tabular datasource in P2 Server is a concept known as a <em>System Identifier<\/em>. &nbsp;This enables P2 Server to translate an entity name in P2 Server, to the equivalent name in each of the source systems. &nbsp;<\/p>\n<p class=\"intro-text\">For example, say we have an entity in P2 Server, called <strong>Well_1<\/strong>. &nbsp;This same well may be known as <strong>W1<\/strong> in P2 Production and <strong>Well1<\/strong> in Qbyte. &nbsp;Since&nbsp;these are different names, how can we&nbsp;tie these all back together? &nbsp;In P2 Server we can create a mapping between an entity, and&nbsp;an equivalent name in each datasource (so we can have one mapping for each datasource).<\/p>\n<p class=\"intro-text\">When you request data for Well_1, from the P2 Production datasource, P2 Server will substitute the entity name&nbsp;<strong>Well_1<\/strong> with&nbsp;<strong>W1<\/strong> in the SQL statement being executed in the dataset. &nbsp;When the data is returned, P2 Server automatically adds an extra column to the returned data, with the original entity name included, completing the conversion in both directions.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/\">Datasources and Adaptors<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"tabular-data\">Tabular data<\/h3>\n<p class=\"intro-text\">Tabular data contains data points that can be represented using rows and columns. This data is often represented in <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/charts\/\" target=\"_blank\">charts<\/a> such as <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/charts\/bar-charts\/\" target=\"_blank\">bar charts<\/a>, or as a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/pivot-table\/\">pivot table<\/a> on a page.<\/p>\n<p class=\"intro-text\">Here is an example of some data that could be returned in tabular form:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Name<\/strong><\/td>\n<td><strong>Age<\/strong><\/td>\n<td><strong>Height<\/strong><\/td>\n<td><strong>Weight<\/strong><\/td>\n<td><strong>Colour<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Jerry<\/td>\n<td>23<\/td>\n<td>165<\/td>\n<td>61<\/td>\n<td>Green<\/td>\n<\/tr>\n<tr>\n<td>Alex<\/td>\n<td>36<\/td>\n<td>172<\/td>\n<td>69<\/td>\n<td>Blue<\/td>\n<\/tr>\n<tr>\n<td>Sam<\/td>\n<td>42<\/td>\n<td>184<\/td>\n<td>75<\/td>\n<td>Grey<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">Tabular data is obtained from Oracle or SQL Server, and requires a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-relational-datasource\/\" target=\"_blank\">dataset datasource<\/a>.<\/p>\n<p class=\"left-bar-yellow\"><strong>Important Note<\/strong>:&nbsp;If your tabular data has timestamp information, you have another option. We can convert it into time series data by using the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/configuring-a-datasource-using-the-relational-adaptor\/\" target=\"_blank\">Relational Adaptor<\/a>. This allows you to convert the data that you have in an Oracle or SQL Server database into a time series data stream, as you would get if you were connected to a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/pi-adaptor\/\" target=\"_blank\">PI<\/a> or <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/phd-adaptor-features\/\" target=\"_blank\">PHD<\/a> historian.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data formats and data types<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"template\">Template<\/h3>\n<p class=\"intro-text\">A <em>template<\/em> in P2 Server is a way of defining the <a href=\"#attribute\">attributes<\/a> of an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/entities\/\">entity<\/a>, where an entity is a real world object (such as a pump) or a conceptual object (such as an area).<\/p>\n<p class=\"intro-text\">For example, an organisation may have a number of wells. Some wells produce oil while other wells produce gas. Instinctively, we can understand that oil producing wells share a number of characteristics that we want to model, whereas gas producing wells have a different set of characteristics that we care about.<\/p>\n<p class=\"intro-text\">The grouping of characteristics of a well is called a \u201ctemplate\u201d. In the above example, we have an <em>Oil Producing Well<\/em> Template and a <em>Gas Producing Well<\/em> Template.<\/p>\n<p class=\"intro-text\">All entities that are assigned a template take on the attributes of that template. For example, all <strong><em>Oil Producing Well<\/em><\/strong> templates will have attributes like <em>Tubing Head Pressure, Tubing Head Temperature, <\/em>and<em> Choke Position<\/em>; whereas <em><strong>Water Injection Wells<\/strong><\/em> might have <em>Injection Pressure, Annulus Pressure<\/em>, and <em>Water Flowrate<\/em>.<\/p>\n<p class=\"intro-text\">Note that in common usage the meaning of <em>template<\/em> may change, depending on our&nbsp;frame of reference:<\/p>\n<ul>\n<li class=\"intro-text\">When we talk about a template in&nbsp;reference to a particular entity, then we are normally referring to the <a href=\"#template-instance\">template instance<\/a>.<\/li>\n<li class=\"intro-text\">When we otherwise talk about a template, then we are normally referring to the <a href=\"#template-definition\">template definition<\/a>.<\/li>\n<\/ul>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">Templates<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"template-definition\">Template definition<\/h3>\n<p class=\"intro-text\">A Template Definition defines the template name, the group it belongs to, and the associated attributes. Each template is only defined once in the system.&nbsp;<\/p>\n<div id=\"attachment_7597\" style=\"width: 519px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/templategloss.png\" rel=\"lightbox-0 lightbox-1\"><img fetchpriority=\"high\" decoding=\"async\" aria-describedby=\"caption-attachment-7597\" class=\"border-image wp-image-7597 size-large\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/templategloss-509x600.png\" alt=\"Template Definition\" width=\"509\" height=\"600\"><\/a><\/p>\n<p id=\"caption-attachment-7597\" class=\"wp-caption-text\">Template Definition as shown in P2 Server Management Studio<\/p>\n<\/div>\n<p class=\"intro-text\">\n Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">Templates<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"template-instance\">Template instance<\/h3>\n<p class=\"intro-text\">Templates are assigned to an entity for a <strong>period of time<\/strong>, so an entity can have multiple templates assigned to it over its lifetime.&nbsp;When a template is assigned to an entity for a period of time, this is known as a <strong><em>template instance<\/em><\/strong>.<\/p>\n<p class=\"intro-text\">For example, if we have a well named Hunter, it may now be an oil producing well, but in the future when&nbsp;it stops producing oil, it may be converted into a water injection well. The system stores the time of this transition so it knows the period of time in the past where the well&nbsp;was an Oil Producer and when it became a Water Injector.<\/p>\n<p class=\"intro-text\">In the example below, before 2016 the Hunter well has attributes that relate to an oil producing well (e.g. Oil Production). After 2016, Hunter will change to a water injection well and the attributes that we are interested in will be different (e.g. Water Consumption).&nbsp;<\/p>\n<p class=\"intro-text\">Note that a <em>Start Time<\/em> or <em>End Time<\/em> of NULL indicates that the template applies for all of time, which would be the most common start and end times in the system for templates. Items would normally only have a primary start or primary end time when an entity transitions from one type to another, such as from an Oil Producer to a Water Injector.<\/p>\n<div id=\"attachment_7611\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/templateinstance1.png\" rel=\"lightbox-0 lightbox-2\"><img fetchpriority=\"high\" decoding=\"async\" aria-describedby=\"caption-attachment-7611\" class=\"border-image wp-image-7611 size-large\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/10\/templateinstance1-800x582.png\" alt=\"\" width=\"800\" height=\"582\"><\/a><\/p>\n<p id=\"caption-attachment-7611\" class=\"wp-caption-text\">An example of a template instance in P2 Server Management Studio<\/p>\n<\/div>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">Templates<\/a>&nbsp;<\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"templated-calculation\">Templated Calculation<\/h3>\n<p class=\"intro-text\">A <em>Templated Calculation<\/em> in P2 Explorer refers to a calculation that uses certain keywords or functions to allow the same calculation to be used to evaluate different entities.<\/p>\n<p class=\"intro-text\">The following keywords and functions are commonly used to create Templated Calculations:<\/p>\n<ul class=\"intro-text\">\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/keywords\/\">Entity<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/caller\/\">Caller<\/a>()<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/current\/\">Current<\/a>()<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/initial\/\">Initial<\/a>()<\/li>\n<\/ul>\n<p class=\"intro-text\">For example, a calculation for evaluating the maximum pressure of an entity may be the same across all or many entities in the system. Rather than creating a calculation for each entity, you would only have to create one templated calculation that could be reused across multiple entities.<\/p>\n<p class=\"intro-text\">Templated calculations are mostly commonly used for calculating an attribute value on a template.&nbsp;<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/\">Calculations<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/creating-a-calculation\/\">Creating a Calculation<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/creating-templates\/\">Creating Templates and Attributes<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"time-series-data\">Time series data<\/h3>\n<p class=\"intro-text\">Time series data is a sequence of named data points which typically contains consecutive measurements over a period of time. Every data point in time series data has an associated timestamp, which records the date and time of the measurement.<\/p>\n<p class=\"intro-text\">In P2 Server, each of these named data points are referred to as <em><strong>tags<\/strong><\/em>.<\/p>\n<p class=\"intro-text\">Time series data is used in pages and calculations, but is also often represented in a trend, which makes it easier to find and identify&nbsp;<a href=\"https:\/\/www.statsoft.com\/Textbook\/Time-Series-Analysis\" target=\"_blank\" rel=\"noopener\">patterns<\/a> over time for analysis and forecasting.<\/p>\n<p class=\"intro-text\">Time series data is obtained from sources such as data historians, and requires a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-tag-datasource\/\" target=\"_blank\" rel=\"noopener\">tag datasource<\/a>.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/\">Data Formats and Data Types<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<hr \/>\n<h2 id=\"Explorer\">Explorer<\/h2>\n<h3 id=\"components\">Components<\/h3>\n<p class=\"intro-text\">In P2 Explorer you can add components to a page in order to create dashboards, mimics, and other types of pages.&nbsp;<\/p>\n<p class=\"intro-text\">Components that are considered 'shapes' include: &nbsp;<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/tank\/\">Tank<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/gauge\/\">Gauge<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/temperature-meter\/\">Temperature Meter<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/pressure-meter\/\">Pressure Meter<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/level-meter\/\">Level Meter<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/simple-line\/\">Simple Line<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/status-indicator\/\">Status Indicator<\/a>.<\/p>\n<p class=\"intro-text\">Although you cannot create your own shape, you can imitate one by using the&nbsp;<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/image\/\">Image<\/a>&nbsp;component.<\/p>\n<p class=\"intro-text\">The components in Explorer Studio are organised into logical groups, to make them easy to find. These include charts, tables, display widgets, time pickers, selection controls, hierarchies, and layouts.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/\">Components<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-resources\/explorer-studio-faq\/#Can_I_make_my_own_shapes\">Can I make my own shapes?<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"shapes\">Shapes<\/h3>\n<p class=\"note\">See: <a href=\"#components\">Components<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"snapshot\">Snapshots<\/h3>\n<p class=\"intro-text\">In P2 Explorer, you can take a \"snapshot\" of a page or trend.<\/p>\n<p class=\"intro-text\">A snapshot allows you to save the current user selections of a&nbsp;<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/\">page<\/a> or <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/trends\/creating-a-trend\/\">trend<\/a>&nbsp;and allows them to be retrieved at a later date.<\/p>\n<p class=\"intro-text\">For example, you may elect to save a snapshot of a page containing a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/using-pivot-tables\/\">pivot table<\/a>, for a selected month and with particular columns selected.<\/p>\n<p class=\"intro-text\">This is useful if, for example, you want to use a page but require different preset selections, or for producing a set of monthly reports using the data on a particular page.<\/p>\n<p class=\"intro-text\">To create a snapshot, open a &nbsp;page or trend and then click the snapshot <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17151\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/07\/snapshot-icon-35.png\" alt=\"snapshot-icon-35\" width=\"21\" height=\"18\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/07\/snapshot-icon-35.png 34w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/07\/snapshot-icon-35-24x20.png 24w\" sizes=\"auto, (max-width: 21px) 100vw, 21px\">&nbsp;icon on the ribbon:<\/p>\n<p class=\"intro-text\">To open&nbsp;a snapshot, open a workspace, click the preview <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13673\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/previewicon.png\" alt=\"previewicon\" width=\"22\" height=\"22\">&nbsp;icon for the page or trend, and then click the snapshot you want to open. You can also open a snapshot from the list displayed in <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-getting-started\/my-environment\/\">My Environment<\/a>.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-getting-started\/snapshots\/\">Snapshots<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<h3 id=\"trend-zoom\">Trend Zoom<\/h3>\n<p class=\"intro-text\">The trend zoom function allows you to view a close-up of trace lines in a selected area of the trace window.<\/p>\n<p class=\"intro-text\">You can zoom progressively until you have the appropriate zoom level, and you can also undo and redo zoom levels.<\/p>\n<p class=\"left-bar\">Read more: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/trends\/trace-window\/#Zoom\">Trend Zoom<\/a><\/p>\n<p><a href=\"#top-of-glossary\">\u2191 Back to top<\/a><\/p>\n<p>Also see: <a href=\"#adaptive-raw\">Adaptive Raw<\/a>, <a href=\"#asset-model\">Asset Model<\/a>, <a href=\"#context\">Context<\/a>, <a href=\"#dataset\">Dataset<\/a>, <a href=\"#raw\">Raw<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page provides an A-Z list of terms and definitions relating to products in the Help Center. <\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/glossary-help\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":7288,"parent":0,"menu_order":130,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[344],"tags":[345],"class_list":["post-7287","page","type-page","status-publish","has-post-thumbnail","hentry","category-glossary","tag-glossary"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/7287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=7287"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/7287\/revisions"}],"predecessor-version":[{"id":73000,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/7287\/revisions\/73000"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/7288"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=7287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=7287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=7287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}