Professional Documents
Culture Documents
21 Database
• Expansion Button
• Historian
• Layered Product
• Real-time database
Layered Layered
Product: Product:
1st Quality SQLplus core product
Data Real-Time
Acquisition Interface Layered Database
or Technology: Product:
Control Cim-IO Batch.21
Historian Archives
System Layered
Custom
Product:
Application
other InfoPlus.21 API
• Field
• Fixed Area
• Repeat Area
• Record
• Record Folder
• Record ID
– Fields
• Contain various data types Fields
• Can refer to other records
• Use unique field names within a record
Discretes
Record Name Description Value
V501D Fuel Valve Line #5 Closed
V401D Fuel Valve Line #4 Travel
M288D Conveyor Motor Line #2 On
ProductionD Total Shift Production 15291
©2004 AspenTech. All Rights Reserved.
Record Hierarchy
DefinitionDef
DefinitionDef
Defines Definition records Other
Definition
Records
IP_AnalogDef
IP_AnalogDef IP_DiscreteDef
IP_DiscreteDef
Defines
Data ATCPH101 V501D
Records ATCTIC301 V401D
ATCF202 M288D
ATCL301 ProductionD
• IDs*
– Used internally by InfoPlus.21 API
– Positive integers 1 to 65,535
– Unique
Plant
SQLplus Instrumentation
Calculation Query Scheduling
Records Records Records
1 SELECT_DESCRIPTION:
1 SELECT_DESCRIPTION:
field name
2 SELECT_DESCRIPTION:
2 SELECT_DESCRIPTION:value
Raw
RawMaterl
Materl
The fixed area of all records NAME: VALVE-STATES
3 SELECT_DESCRIPTION: Mixer
belonging to same definition
41ST_SELECTION_VALUE:
SELECT_DESCRIPTION: -1 Reactor
always has same number of fields #_OF_SELECTIONS: 0 Storage
5 SELECT_DESCRIPTION:
Some Definition families also have
one or more Repeat Areas
Fields in a Repeat Area can occur
zero, once or many times
The number of repeats
(occurrences) is configurable at any
time
• Aspen Roles can be defined for all users, and each Windows user
login is associated with a Role
• Permission to access the database as a whole, to individual or
families of records, or to fields within the records can be controlled
• Security will be fully explained and implemented on the training
database in the System Administration module of this course
Local
Click
server
Expansion Button
Click
Expansion
Button
Objects that
represent different
possible “Views”
of a database
©2004 AspenTech. All Rights Reserved.
6
Click Scroll
Scroll
Down
Double-click
the repeat
area sizing
field
Result
©2004 AspenTech. All Rights Reserved.
How Much History Can You See?
• InfoPlus.21 Administrator automatically fetches values from Historian, even
though only two repeats are specified in record
• Amount of history to view, and the start-time for the fetch can be controlled
Atc*
Double-clicking in
Find window opens
a Second instance Double
of the Administrator
Click
that Maintains a list
of all Find results
Right-click
A
to
Click
Expansion Z
Button
Calculations
Name ATCL101
IP_Description Tank Level
IP_Input_Value 24.0
IP_Eng_Units Gal SQL
CIMIO
Stores historical processed data
©2004 AspenTech. All Rights Reserved.
Fields for Identification/Display
• The fields shown below are found in the fixed area of all
standard tags (not necessarily in this order)
• Purpose: Identification/General Display parameters
IP_LOW_LIMIT
(100)
IP_LOW_LOW_LIMIT
(20)
IP_INPUT_VALUE: 205
500
501
601
599
582
579 IP_ALARM_STATE: OK
HIGHHIGH
HIGH
IP_LIMIT_DEADBAND: ???
20 (No Deadbanding)
©2004 AspenTech. All Rights Reserved.
Review of InfoPlus.21 Tag Set
• Tags are records that hold process values
• The standard tag set is a set of pre-configured Definition records
delivered with InfoPlus.21 that create a selection of tag records
• It is also possible to configure custom Definition records if a different
tag structure is required
• Tags contain fields for:
– Identification and controlling display features
– Storing Data Values
– Controlling built-in processing
– Storing historical values
• And
– Overview of bulk record creation
– Protecting changes to the database with snapshots
Click OK
Populate
Other
Fixed Area
Fields
Scroll
Down
3. Turn Archiving ON
2. Select History Repository
Right
Click
NewRecordName
Right-Click
Click OK
©2004 AspenTech. All Rights Reserved.
Mass Record Creation
• It is also possible to save, replicate, and load records in
mass
• Ways of doing this are:
– Load and Save options from InfoPlus.21 Administrator
– Use Utility Recsave and Recload
– Via SQLplus scripts
• Many plant automation systems can create text “taglists”
• SQLplus can read such taglists and create records in InfoPlus.21
database
• These and other system management issues are
discussed in a later module
Right-click
Sn
ap
sh
o t fr
eq
ue
n cy
ot file
apsh
Right-Click Sn name
C:\Snp\End_of_Day.Sn
p2-JUN-99 23:58:00.0
Schedule
+024:00
Fre
que
ncy
Expand
Sn
ap
s
ho
t file
na
Expand
m
e
©2004 AspenTech. All Rights Reserved.
The Snapshot Mechanism Explained
1. Database is Locked
Right-Click
• Then remove
reference manually
• Integer
– Enter a “0”
or character equivalent
(usually first item
in selection list)
Right-Click
Right-Click
Value Held
in Field
9++9 2999
+ 2 39 9
. 4914
3 99 . .91. 606
2 7803 0940
81 2 3 4 5 6 7 8
IP_ALARM_FORMAT: IP_AlarmMessages
Tag Record
IP_ALARM_STATE: OK
©2004 AspenTech. All Rights Reserved.
Implicit Field Formatting
• This same mechanism is used to format other fields in standard tag
records
• The formatting for these is implicit, or specified within the tag’s
Definition record
• Example: IP_Eng_Units is an integer field formatted by the selector
record Eng-Units
Field Name Example Value IP_AnalogDef
NAME: ENG-UNITS
1ST_SELECTION_VALUE: Field Name Example Value
0
#_OF_SELECTIONS: 5 NAME: ATCP301
1 SELECT_DESCRIPTION:
2 SELECT_DESCRIPTION: degrees
3 SELECT_DESCRIPTION: psia IP_ENG_UNITS: psia
4 SELECT_DESCRIPTION: PSIG
5 SELECT_DESCRIPTION: feet/second
©2004 AspenTech. All Rights Reserved.
So What?
• To add new engineering units to the system, you need to:
– Increase the repeat area size of selector record ENG-UNITS
– Type text to describe the additional engineering unit into the
new occurrence
– This is now available to all tags
• Building
Blocks
Object under
InfoPlus.21
Administrator
Tools
provides a
useful view
of all format
records
available
IP_ENG_UNITS
IP_ENG_UNITS
IP_VALUE_FORMAT IP_AlarmMessDef
IP_VALUE_FORMAT
Records
TSK_DHIS
TSK_DHIS IP_ALARM_FORMAT
IP_ALARM_FORMAT IP_AlarmMessages
IP_REPOSITORY
IP_REPOSITORY
• Format and Selector records can be used to format the data storage fields in
records
• New Selector Records can be defined using definition Select(n)Def where
(n) is the maximum number of characters
• Different selector records also format other fields in tag records, such as:
– IP_PLANT_AREA (plant-areas), IP_ENG_UNITS (eng-units)
– IP_ALARM_STATE (IP_AlarmMessages)
• Map records must exist if tags are to be trended using Aspen Process
Explorer
Data Flow
Supporting Cim-IO
Tag Records Get / Put records
Records
Plant
SQLplus Scheduling Instrumentation
Query Records
Calculation
Records
Records
COS records
©2004 AspenTech. All Rights Reserved.
Introducing Reactor Expansion Project: Lab 4
• In this Lab, you will:
– Use the techniques and knowledge gained so far to create a
database model that extends the AspenChem application
– Create a process graphic to help visualize the model
Salt Flow
0 - 10 GPM
Product Valve3 Ratio
Mixer
Production Back-
flush Salt Tank Level
0-100%
Salt Tank
Valve2
Valve1
Raw
Liquor
Quality Valve4 100 GPM
Rating
0-100% Valve1- Blue color indicates tag data
Recirculation
available
©2004 AspenTech. All Rights Reserved.
Introducing Process Graphics
• To complement the
Reactor Expansion
Project, create a
schematic using
Process Graphics
to display values
from the simulation
in Process Explorer
1.Right-click
Draw box
Right-Click
When value is
0-20 bar fill color shows red,
20-80 color is green,
80-100 color is blue
then this..
then this..