{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "*This notebook contains material from [cbe30338-2021](https://jckantor.github.io/cbe30338-2021);\n", "content is available [on Github](https://github.com/jckantor/cbe30338-2021.git).*\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "< [3.9 Lab Assignment 4: Solution](https://jckantor.github.io/cbe30338-2021/03.09-Lab-Assignment-Solution.html) | [Contents](toc.html) | [Tag Index](tag_index.html) | [4.1 Data/Process/Operational Historian](https://jckantor.github.io/cbe30338-2021/04.01-Process-Historians.html) >
"
]
},
{
"cell_type": "markdown",
"metadata": {
"nbpages": {
"level": 1,
"link": "[4.0 Process Analytics](https://jckantor.github.io/cbe30338-2021/04.00-Process-Analytics.html#4.0-Process-Analytics)",
"section": "4.0 Process Analytics"
}
},
"source": [
"# 4.0 Process Analytics"
]
},
{
"cell_type": "markdown",
"metadata": {
"nbpages": {
"level": 2,
"link": "[4.0.1 Learning Goals](https://jckantor.github.io/cbe30338-2021/04.00-Process-Analytics.html#4.0.1-Learning-Goals)",
"section": "4.0.1 Learning Goals"
}
},
"source": [
"## 4.0.1 Learning Goals"
]
},
{
"cell_type": "markdown",
"metadata": {
"nbpages": {
"level": 3,
"link": "[4.0.1.1 Process Historians](https://jckantor.github.io/cbe30338-2021/04.00-Process-Analytics.html#4.0.1.1-Process-Historians)",
"section": "4.0.1.1 Process Historians"
}
},
"source": [
"### 4.0.1.1 Process Historians\n",
"\n",
"**Process historians** are widely used throughout the process industries. The core function is to record and provide access to **time series data** for **process tags**.\n",
"\n",
"The tclab library includes the basic functions of a process historian implemented using `SQLite`, a widely used database for web applications and internet connected devices.\n",
"\n",
"* An instance of the tclab historian requires a list of **data sources**. There is no limit on the number of data sources.\n",
"* The default data sources record T1, T2, Q1, and Q2\n",
"* Each data source consists of **(tag, function) pair**, where the **tag** is a string that uniquely identifies a time series, and **function**, with no arguments, returns the current value of the tag.\n",
"* The tclab historian always records time with the tag \"Time\"\n",
"* Data from the historian can be stored in .csv files, converted to Pandas data frames, or accessed directly from the historian data log.\n",
"\n",
"What you should be able to do:\n",
"\n",
"* Read a list of data sources, and describe what data is recorded.\n",
"* Add a tag and a function to a list of data sources.\n",
"* Save data from the historian to a .csv file, then load the saved data for analysis.\n",
"\n",
"
"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}