Historian Concepts
Historian Concepts
Historian
Concepts Guide
Version 2020
January 2020
© 2020 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, A VEVA assumes no
responsibility for errors or omissions. The information in this documentation is subject to change without
notice and does not represent a commitment on the part of AVEVA. The soft ware described in this
documentation is furnished under a license agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, Int elaTrac,
InTouch, OASyS, PIPEPHASE, PRiSM, PRO/II, PROV ISION, ROMeo, SIM4ME, SimCentral, SimSci,
Skelta, SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are
trademarks of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: Friday, February 14, 2020
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 0HB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
AVEVA™ Historian Concepts Guide
Contents
Welcome to AVEVA Historian ................................................................................................ 5
AVEVA Historian Documentation Set ......................................................................................... 5
Version 2020 3
AVEVA™ Historian Concepts Guide Contents
4 Version 2020
AVEVA™ Historian Concepts Guide
Version 2020 5
AVEVA™ Historian Concepts Guide Welcome to AVEVA Historian
6 Version 2020
AVEVA™ Historian Concepts Guide
Version 2020 7
AVEVA™ Historian Concepts Guide Process data: About tags and values
Value + Time
Recording each value with a timestamp
allows you to see trends, pinpoint process
errors, etc.
Historian tracks when a record is sent by the
devic e and when it is received by Historian.
This helps to clarify the information if there is
a data lag, or if values are added or updated
later.
8 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
Types of tags
AVEVA Historian can handle a wide range of data by suppo rting thes e tag types:
Analog
Measures a continuous physical quantity, such as a tank’s
volume or a boiler's temperature.
Di screte
Records one of t wo states for the tag. For example: on/off,
open/closed, jam/cleared.
String
Capt ures a text expression--with no special format--t hat is
treated as a single data item. A string tag could be used to
capture the state of a machine; for example: "started", "stopped",
"jammed", or "cleared".
Event
Records an instance when a tag meets a preset requirement.
For ex ample, a process event tag can let you know when a batch
number changes.
System
Reflects a predefined system variable. System tags are used to
collect the system's performance data. AVEVA Historian system
tags have a "Sys" prefix (for example, SysTimeSec).
Analog summary
Reflects summarized data (minimum, maximum, average, and so on) that is configured to be
replicated from one historian to another.
Version 2020 9
AVEVA™ Historian Concepts Guide Process data: About tags and values
State summary
Reflects summarized data (minimum time in state, maximum time in state, average time in state, and
so on) that is configured to be replicated from one historian to another, or stored locally.
You can configure analog, discrete, string, and legacy history event tags through the SMC. For more
information, see Viewing and Configuring Tags in the AVEVA Historian Administration Guide.
TagName Description
Date Tags
The following analog tags have a storage rate of 5 minutes (300000 ms).
TagName Description
Time Tags
All of the following tags are analog tags. Each value change is stored (delta storage).
10 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
TagName Description
TagName Description
TagName Description
SysDataAcqNBadValues* Number of data values with bad quality received. This tag has a
storage rate of 5 seconds. The maximum is 1,000,000.
SysDataAcqNOutsideRealtime* The number of values per second that were discarded because
they arrived outside of the real -time data window. This tag has a
storage rate of 5 seconds. The maximum is 1,000,000.
This tag has been deprecated and will only be available in
systems migrated from AVEVA Historian 2014 and earlier.
SysDataAcqOverallItemsPerSec The number of items received from all dat a sources, including
HCAP. This tag has a storage rate of 10 seconds. The maximum
is 100,000.
SysDataAcqRxIt emPerS ecN* Tag value update received per second. This tag has a storage
rate of 10 seconds.
SysDataAcqRx TotalItems N* Total number of tag updates rec eived since last startup for this
IDAS. This tag has a storage rate of 10 seconds.
SysPerfDataAcqNBadV alues* Number of data values with bad quality received. This tag has a
storage rate of 5 seconds. The maximum is 1,000,000.
Version 2020 11
AVEVA™ Historian Concepts Guide Process data: About tags and values
TagName Description
SysStatusAverageE ventCommitSize Number of events written to the A2A LMDB database per minute.
SysStatusAverageE ventCommit Time A verage time, in seconds, it takes to write events to the
A2ALMDB database.
SysStatusEvent CommitPending Number of events that have not yet been written to the A2ALMDB
database.
SysStatusRxTotalItems Total number of tag updates rec eived since last startup for the
system driver. This tag has a storage rate of 10 seconds.
SysStatusTopicsRxData Total number of topics receiving data. Each active IDAS "topic"
and each active HCAL connection are counted. Note that proc ess
and event history, even from the same source, count as separate
connections.
*This status tag will exist for each defined IDAS. The identifying number (N) in the is the IODriverKey
from the IODriver table. The number 0 designates MDAS and only applies to the
SysDataAcqNBadValues and SysDataAcqNOutsideRealtime tags.
Tag Description
SysConfiguration Status of the configuration service (aahCfgS vc.ex e). This parameter is
set to 1 as long as a dynamic configuration is required or in progress.
SysEventSystem Status of the classic event system service (aahE ventS vc.exe).
12 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
Tag Description
SysInSQLIOS Status of the AVEVA Historian I/O Server (aahIOS vrS vc.exe).
SysStatusMode Analog tag indicating the operational state of the historian. If the value is
NULL, the historian is stopped. 0 = Read-only mode. 1 = Read/write
mode.
*This status tag will exist for each defined IDAS. The identifying number (N) appended to the end of the
tag is the IODriverK ey from the IODriver table.
TagName Description
Version 2020 13
AVEVA™ Historian Concepts Guide Process data: About tags and values
TagName Description
SysRateDeadbandForcedV alues The total number of values that were forced to be stored as a
result of using a swinging door storage deadband. This number
reflects all forced values for all tags since the system was started.
TagName Description
SysEventCritActionQSize Size of the critical action queue. For more information, see -old-Action
Thread Pooling in the AVEVA Historian Supplemental Guide.
SysEventSystem A discrete tag that indicates the status of the event system service
(aahE ventS vc.exe). 0 = Bad; 1 = Good.
TagName Description
14 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
TagName Description
SysReplicationV aluesPerSec Total A verage values per second sent to all tier-2
historians.
SysPerfA vailableBytes Amount of free memory (RAM). If the amount of available memory is
over 4,294,967,296, then the tag shows the remainder of the amount
of memory divided by 4,294,967,296.
Version 2020 15
AVEVA™ Historian Concepts Guide Process data: About tags and values
SysPerfA vailableMBytes Amount of free memory (RAM). Use this tag to monitor systems that
have a larger amount of memory. The value for this tag is the amount
of available memory divided by 1 million.
SysPerfCP UMax The highest CPU load of any single core, expressed as a percentage
(0-100). For example, on a quad core system where the current loads
for each core are 25%, 40%, 60% and 10%, this tag will be "60".
SysPerfCP UTot al The overall processor load as a percentage of all cores (0 -100).
SysPerfDisk Time Percentage of elapsed time that the disk drive was busy servicing
read or write requests.
SysPerfMemoryPages Rate at which pages are read from or written to disk to resolve hard
page faults.
The remaining system tags are us ed to monitor performance for each historian service or process and for
the Microsoft SQL Server service. For more information on services, see AVEVA Historian Processes.
There are six system performance tags per each servic e or process. These tags adhere to the following
naming convention:
SysPerf<service>CP U
SysPerf<service>HandleCount
SysPerf<service>PageFaults
SysPerf<service>PrivateBytes
SysPerf<service>PrivateMBytes
SysPerf<service> ThreadCount
SysPerf<service>VirtualBytes
SysPerf<service>VirtualMBytes
where <service> can be any of the following:
16 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
ClassicManualStorage InSQLIOS
ClassicStorage Metadat aServer
ClientAccessPoint Replication
Config Retrieval
DataAcq SQLServer
E ventStorage Storage
E ventSys SysDrv
Indexing
Note: The six performance tags will exist for each defined IDAS. The identifying number (N) appended
to the end of the "DataAcq" portion of the tagname is the IODriverKey from the IODriver table. For
example, 'SysPerfDataAcq1CP U'.
The following table describes the suffix es assigned to the names of system performanc e tags:
Suffix Description
CPU Current perc entage load on the service, expressed as a perc entage of total CP U
load. For example, on a quad core system, if the service is using 20% of one core,
40% of anot her core, and 0% of the other two cores, this tag will be 15%.
HandleCount Total number of handles currently open by each thread in the service. A handle is a
identifier for a particular resource in the system, such as a registry key or file.
PageFaults Rate, per second, at which page faults occur in the threads executing the service. A
page fault will occur if a thread refers to a virtual memory page that is not in its
working set in main memory. Thus, the page will not be fetched from disk if it is on
the standby list (and already in main memory) or if it is being used by another
process.
Privat eBytes Current number of bytes allocat ed by the service that cannot be shared with any
other processes. If the amount is over 4,294,967,296, then the tag shows the
remainder of the amount divided by 4,294,967,296.
Privat eMBytes Current number of Mbytes alloc ated by the service that cannot be shared with any
other processes.
Version 2020 17
AVEVA™ Historian Concepts Guide Process data: About tags and values
Suffix Description
ThreadCount Current number of active threads in the service. A thread execut es instructions,
which are the basic units of execution in a processor.
VirtualBytes Current size, in bytes, of the virtual address space that is being used by the service.
If the amount is over 4,294,967,296, then the tag shows the remainder of the
amount divided by 4,294,967,296.
VirtualMBytes Current size, in Mbytes, of the virtual address space that is being used by the
service.
Important: You need to ensure that the memory that SQL Server reserves for the AVEVA Historian is
adequate for the expected load. Based on your particular environment, you may need to adjust the SQL
Server MemToLeave allocation. For more information on MemToLeave, see the Microsoft
documentation.
Deprecated Tags
The following tags introduced in previous versions of Historian have been deprecated. They may still be
present in upgraded systems, but will have static values of "0" or NULL.
Description
TagName
Data Quality
There are three aspects of quality handling for the system:
Data quality assignment by data acquisition devices (OP CQuality)
Storage subsystem quality for the AVEVA Historian (QualityDetail)
Client -side quality definitions (Quality)
For more information on quality for tags, see Value, Time, and Quality (V TQ) for Tags.
The historian uses three distinct parameters to indicate t he quality of every historized dat a value: Quality,
QualityDetail, and OP CQuality. OPCQuality is strongly related to QualityDetail. Quality is a derived
measure of the validity of the data value, while QualityDetail and OP CQuality indicate either a good
quality for the data value, or the specific cause for degraded quality of the data value.
18 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
The historian persists four bytes of quality information for every data value that is historized. (This does
not imply that four bytes of quality data are actually stored for every data value, but it guarantees that
every data value can be associated with 4 bytes of quality information when the value is retrieved.) The 4
bytes of quality information comprises 2 bytes for QualityDetail and 2 bytes for OP CQuality. QualityDet ail
and OP CQuality are related, but may have different values.
In essence, OPCQuality is provided as for client applications that are fully aware of the OPC dat a quality
standard, while QualityDetail (and Quality) are maintained to ens ure proper operation of existing and
legacy client applications. OPCQuality is sent by the data source, and QualityDetail is added by the
AVEVA Historian.
If you import history blocks from IndustrialSQL Server 7.1 or earlier (that do not use OPC data quality),
the OPCQuality is determined by using the top 2 bits of the lower 8 bits of the Qual ityDetail.
The currently supported OPCQuality values are stored in the OP CQualityMap table of the Runtime
database. To view OP CQuality values and descriptions, execute the following query:
1 No data available, tag did not For cyclic, delta, full, interpolated, Retrieval
exist at the time and best-fit, retrieval started before
the tag was created (NULL value).
Version 2020 19
AVEVA™ Historian Concepts Guide Process data: About tags and values
44 Pipe reconnect First VTQ sent after the client has Classic data
reconnected to the historian. redirector,
HCA L, MDAS
151 Store forward storage startup Store-and-forward storage startup. Classic data
redirector
20 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
202 Good point of version Latest Current value is the latest update Classic data
which "masks" a previous original redirector,
value. retrieval
212 Counter rollover has occurred Counter count reached the roll-over Retrieval
value.
248 First value received in store First VTQ stored in HCA L, MDAS
forward mode store-and-forward mode after the
client has disconnected from the
historian.
249 Not a number Value received was not a number, Classic data
infinit e value (NaN). redirector,
HCA L, MDAS
252 First value received from First value received aft er an I/O Classic data
IOServer Server reconnect. redirector
QualityDetail Flags
The following bit flags are stored in the high order byte of the quality detail. Each bit is a flag that carries
specific meaning.
0x0000 - Basic QualityDetail.
The following hi-byte flags are or'ed with t he basic QualityDetail. The three flags cannot coexist; only one
is set at any point in time.
0x0100 - Value received in the future.
0x0200 - Value received out of sequenc e.
0x0400 - Configured for server time stamping.
The following hi-byte flag can coexist with any of the prior four combinations.
0x0800 - Point generated by Rate Deadband filter.
The following hi-byte flag can coexist with any of the prior eight combinations.
Version 2020 21
AVEVA™ Historian Concepts Guide Process data: About tags and values
22 Version 2020
Process data: About tags and values AVEVA™ Historian Concepts Guide
Quality for data acquired from these sources is handled the same as for data received from AVEVA I/O
Servers, with a few exceptions:
For data ac quired from CSV files, the specified quality is always interpreted as OPC Quality, and the
QualityDetail is set to 192, unless the specified quality is 24, in which case both OP CQuality and
QualityDetail are set to 24.
If MDAS or HCA L is responsible for acquiring the data (as is the case for SQL queries and AVEVA
Application Server), the quality value presented by the source is preserved in OPCQuality, and
QualityDetail is set to 192. Exceptions to this are:
o If a quality value of 32 present ed by the source, OP CQuality is set to 32 and QualityDetail is set
to 24.
o If the data value presented by the source is infinite or NaN (not a number), OPCQuality contains
the actual quality presented by the source, and QualityDetail is set to 249.
o If a special condition or event occurs, MDAS or HCA L will substitute a reserved value for
QualityDetail. For more information, see Viewing Quality Values and Details on page 19.
0x85 133 Initial Value (Good) Initial value for a delta request.
Initial Value and Doubtful are derived from QualityDet ail. The Initial Value is dependent on the type of
query that is executed. For more information, see:
-old-Using Comparison Operators with Delta Ret rieval
-old-Using Comparison Operators with Cyclic Retrieval and Cycle Count
-old-Using Comparison Operators with Cyclic Retrieval and Resolution
QualityDetail contains detailed information that is potentially specific to the device which supplied it.
Quality values may be derived from various sourc es, such as from I/O Servers or from the AVEVA
Historian Historian storage system.
To retrieve a listing of the quality values that are used by the historian, see Viewing Qualit y Values and
Details on page 19.
Version 2020 23
AVEVA™ Historian Concepts Guide Process data: About tags and values
24 Version 2020
AVEVA™ Historian Concepts Guide
Sources of data
Historian can accept dat a from a number of sourc es. The most typical scenario is data acquisition from
an I/O server.
Data acquisition from I/O servers
An I/O server provides data from plant floor devices to AVEVA Historian using the
SuiteLink or Dynamic Data Exchange (DDE ) protocol.
First, the I/O server collects data values from pr ogrammable logic controllers
(PLCs ), Remote Telemetry Units (RTUs), and similar devic es on the factory floor.
Then, the I/O server uses the SuiteLink or DDE protocol to time and quality stamp
each dat a value it collect.
Next, it passes the data values through the Data Acquisition subsystem, or IDAS.
IDAS seamlessly handles data values,regardless of their time.
Note: The SuiteLink protoc ol can be used to collect data from an I/O server on the
same or different computer than the IDAS instanc e. The DDE protocol can be used
only when the I/O server is on the same computer as the IDAS instance.
For each data value acquired by IDAS, the timestamp, value, and quality are
attached.
Version 2020 25
AVEVA™ Historian Concepts Guide Data acquisition: Getting data into Historian
Then the values are sent through the Historian Client Access Layer (HCAL) to a Historian Client Access
Point (HCAP) on the Historian server, and then to storage. HCAL is a client -side software layer that
provides programmatic access to storage, retrieval, and system configuration functionality in the AVEVA
Historian.
Historian accepts and historizes each data value according to the storage rules for the tag to which the
data value belongs.
For more details, see Configuring Data Acquisition in the AVEVA Historian Administration Guide.
Other data acquisition options
As this diagram illustrates, AVEVA Historian can accept data from a range of sources.
In addition to I/O servers, Historian can acquire data from these sources:
TransactSQL INS ERT and UPDATE statements
You can insert or update history data in the AVEVA Historian extension tables using Transact-SQL
INSE RT and UP DA TE statements.
For more information, see Importing, Inserting, or Updating History Data in the AVEVA Historian
Administration Guide.
CSV and LGH files
Using the Historian Dat a Import er utility (aahImport), you can add history data from a file to AVEVA
Historian. This utility reads data from InTouch history (LGH) files or comma-separated value (CSV)
files, and then sends the data to the Historian server via HCA L.
Imported data is integrated with data currently stored in history blocks, providing you with seamless
access to all your data.
For more information, see Importing, Inserting, or Updating History Data in the AVEVA Historian
Administration Guide.
App Server, custom SDK client applications, tier-1 replication, and other source s
These sources are also able to use HCAL to send data to Historian.
AVEV A Hi storian itself
Configuration data comes from the Historian itself.
26 Version 2020
Data acquisition: Getting data into Historian AVEVA™ Historian Concepts Guide
Store-and-forward safeguards
Historian uses a store-and-forward method to protect against dat a loss if communication is interrupted
between the data source and Historian.
Systems using the Data Acquisition Subsystem (IDAS) or Historian Client Access Layer (HCAL) to send
data to Historian are able to use the store-and-forward method in case of communication breaks. If the
data source loses communication with Historian, the source stores the collected data until
communication is reestablished. Then, it forwards the stored dat a to Historian.
Version 2020 27
AVEVA™ Historian Concepts Guide Data acquisition: Getting data into Historian
Data categories
AVEVA Historian is able to process and store data in a variety of ways. It categorizes each data rec ord by
type to provide a consistent framework for data operations. Each category of data has a separate set of
characteristics and is handled differently by the historian.
28 Version 2020
AVEVA™ Historian Concepts Guide
Storage modes
Depending on a tag's definition, Historian uses one of these storage modes to retain the values received
for that tag:
No storage - No values are stored.
Forced storage - All collected values are stored.
For comparison's sake, this is what forc ed storage looks like. The red dots represent collected
values. All of these values are stored by Historian.
Version 2020 29
AVEVA™ Historian Concepts Guide Data storage: Preserving huge amounts of data over time
Cyclic storage - Only values that occur at a specified time interval are stored. Using the same
collected values as shown above, cyclic storage retains only the values represented by red dots.
30 Version 2020
Data storage: Preserving huge amounts of data over time AVEVA™ Historian Concepts Guide
For more information on delta storage modes, see About Delta Storage Mode in the AVEVA Historian
Administration Guide.
Version 2020 31
AVEVA™ Historian Concepts Guide Data storage: Preserving huge amounts of data over time
Each history block stores all data for a specified duration. The default history block duration is one day,
but may be as little as one hour. When there is data to be stored in that time interval, Historian creates a
new history block for that data. For example, if a history block is defined for a day's worth of data, when it
receives the first data value for the second day, Historian c reates a new one-day history block and places
the corresponding data into the new block.
As data is acquired, the size of these history blocks grows on a continual basis, being limited only by the
size of the hard disk on which the historian resides.
If the historian was not running for some time, or if a history block is deleted, for a certain time period,
there may be a gap in the sequence of history blocks -- also known as a block gap.
History block formats are specially optimized for storing time -series data, while general-purpose
database management systems typically are not.
Compact storage formats reduce the storage space requirements than would be required in a
general-purpose database. Upon ret rieval, historical dat a is presented by the AVEVA Historian OLE DB
provider as if it were stored in SQL Server tables.
Historian partitions
Historian organizes history blocks within partitions. As real-time data arrives, Historian stores it in history
blocks located in the main dat a partition. At the same time, Historian automatically computes and records
a corresponding hourly summary for each analog tag value received. The auto-s ummary values are
stored in auto-summary history blocks within the auto-summary partition.
For more information on history blocks and partitions, see Managing Partitions and History Blocks in the
AVEVA Historian Administration Guide.
Auto-summarization
For every analog tag in the system, AVEVA Historian creates a local replication entity and a one-hour
summary tag. As values arrive for an analog tag, Historian automatically computes and records a
summary.
Auto-summary values are stored in their own history blocks within the auto-summary partition.
With auto-summarization, Historian can quickly and efficiently retrieve large -volume data for a long
duration, even months or years.
32 Version 2020
Data storage: Preserving huge amounts of data over time AVEVA™ Historian Concepts Guide
Version 2020 33
AVEVA™ Historian Concepts Guide
Retrieval modes
Historian can acquire and store huge amounts of data and allows you to choose from among several
retrieval modes to view and int erpret the data you need.
Version 2020 35
AVEVA™ Historian Concepts Guide Data retrieval: Transforming data into information
Cyclic
Retrieves one value per cycle. Whatever the
value is when the cycle begins.
Delta
Retrieves a value each time the value changes
from the previous value. For example, if the
value of "4" followed an earlier value of "4", it
would not be retrieved. But if "4’" followed "3", it
would.
Full
E very value within a time period is retrieved.
Interpolated
Based on values before and after a certain point
in time, Historian estimates the value for that
time.
In this example, P2 is located exactly at the
query start time. Because of this, P2 is returned
at that time without need for interpolation. At the
following cycle boundary, point PC1 is returned,
which is the NULL value represent ed by P7
shifted forward to time TC1. At the last cycle
boundary, point PC2 is returned, which has
been interpolated using points P11 and P12.
36 Version 2020
Data retrieval: Transforming data into information AVEVA™ Historian Concepts Guide
Best Fit
"Best fit" retrieval allows for a compromise
between delta retrieval and cyclic retrieval.
Delta retrieval can accurately represent a
process over a long period of time, but requires
a large number of data values. Cyclic ret rieval is
much more efficient, but less accurate, because
of fewer values.
Best fit provides faster retrieval, like cyclic
retrieval, plus the better representation, like
delta ret rieval.
Average
Uses a time-weighted average algorithm to
calculate the value for each retrieval cycle.
For the following dat a values of a tag that uses
linear interpolation, the time-weighted average
is computed as:
A verage = (((P1 + P2) / 2) x (T2 - T1)) + (((P2 +
P3) / 2) x (T3 - T2)) + (((P 3 + P4) / 2) x (T4 - T3))
/ (T4 - T1)
Minimum
Returns the minimum value from the actual data
values within a retrieval cycle. If there are no
actual data points stored on the historian for a
given cycle, nothing is returned. If there are
NULL values in the cycle, NULL is returned for
that cycle.
Maximum
Similarly, this mode returns the maximum value
of actual data for the retrieval cycle.
Version 2020 37
AVEVA™ Historian Concepts Guide Data retrieval: Transforming data into information
Integral
Calculat es the values at retrieval cycle
boundaries by integrating the graph described
by the points stored for the tag. In other words, it
works much like average ret rieval, but it
additionally applies a scaling factor. This
retrieval mode is useful for calculating volume
for a particular tag (for example, gallons of
water flowing through a valve over a certain
period).
Integral retrieval works with analog tags only.
For all other tags, normal cyclic results are
returned.
Slope
Returns the slope of a line drawn through a
given point and the point immediat ely before it,
thus expressing the rate at which values
change.
For example, two points P1 and P2 occur at
times T1 and T2. The slope is calculated as:
(P2 - P1) / (T2 - T1)
The difference between T1 and T2 is measured
in seconds, so the returned value represents
the change in engineering units per second.
Counter
The change in a tag’s value from the beginning
to the end of the period, factoring in any rollover
value for the counter. This retrieval mode is
useful for determining how much of an item was
produced during a particular time period.
ValueState
Returns information on how long a tag has been
in a particular value state during each retrieval
cycle. That is, a time-in-state calculation is
applied to the tag value.
38 Version 2020
Data retrieval: Transforming data into information AVEVA™ Historian Concepts Guide
RoundTrip
Like ValueState retrieval, this mode uses state
occurrences within a period for its calculations.
RoundTrip ret rieval calculates the time between
consecutive leading edges of the same state.
Bound Value
Retrieves either the start bound point or the end
bound point for a requested point in time. For a
start bound point, Historian retrieves the first
value on or before the requested date/time. For
an end bound point, Historian retrieves the first
value after the requested date/time.
The computing power of both the client and the server is exploited by optimizing processor intensive
operations on the server and minimizing data to be transmitted on the network to improve system
performance.
Version 2020 39
AVEVA™ Historian Concepts Guide Data retrieval: Transforming data into information
40 Version 2020
Data retrieval: Transforming data into information AVEVA™ Historian Concepts Guide
Version 2020 41
AVEVA™ Historian Concepts Guide
Version 2020 43
AVEVA™ Historian Concepts Guide Data replication: Delivering information to people who need it
Many-to-many Cloud
When you want to set up a many-to-many When you want dat a available from the cloud.
relationship between tiers of historians.
For more information about setting up and using replication, see Managing and Configuring Replication
in the AVEVA Historian Administration Guide.
Replication tiers
When you replicate data, it creates a tiered relationship between the historians.
That is, the tier-1 historian send its replicated data to a
tier-2 historian.
AVEVA Historian can replicate process data as well as
alarms and events.
44 Version 2020
Data replication: Delivering information to people who need it AVEVA™ Historian Concepts Guide
Historian supports multi-tier replication. Data originating at tier 1 can be replicated to tier 2, then again to
tier 3, and so on.
This diagram illustrates two relationships between
historians.
TagC is replicated from Hist1, a tier-l historian, to
Hist2, a tier-2 historian. Hist2 replicates the tag to
Hist3, a tier-3 historian. Hist3 replicates the tag once
again to AVEVA Insight (tier 4 in this scenario).
TagD is also replicated from Hist1, but this time
directly to AVEVA Insight. In this case, Hist1 is the
tier-1 historian and Insight is the tier-2 historian.
The following tables show how the replicated data is named as it is replicated in these two scenarios.
These examples are based on the default naming scheme.
TagC replicated across 4 tiers (Hist1, Hist2, Hist3, Insight)
Tier Computer name Tag name Summary tag name
Version 2020 45
AVEVA™ Historian Concepts Guide Data replication: Delivering information to people who need it
Note: Summary replication happens between tier 1 and tier 2 only. All data replication to tier 3 and
beyond is simple replication.
Note: Before version 17.3.100, replication to AVEVA Insight used the same default naming as any other
tier 2 and still included the "DS" prefix (where "DS" is the name of the data source). For example,
consider how "TagC" was replicated to Insight before and since version 17.3.100:
- Before 17.3.100: TagC was replicat e to Insight as "DS.Hist1.TagC".
- Since 17.3.100: TagC is replicat ed to Insight as "DS.TagC".
46 Version 2020