Operational Trend for Excel(OT)
1 Introduction
CTRL Designer LLC (CDL) is a leading provider of SBC state-based control (procedural control) based on ISA106 solutions to the process industries.
Its software portfolio and work processes help process control engineers develop an overall process control design and convert it automatically to the selected control system code. These solutions allow users to make smarter decisions to improve safety, reliability, efficiency, and sustainability.
The products are divided into phases:
- P1- Industrial Plant Assessment™ (IPA)
- P2- Level of Automation (LoA) [Service]
- P3- Operating Trends for Excel™ (OT)
- P4- Standard Operating Procedure Analyzer™ (SOP)
- P5-URS-to-FRS-Builder-for-Excel™ (URS)
- P6-FRS-Engine-for-Excel™ (FRS)
- P7-ACM-Engine-for-Excel™ (ACM)
The P3- Operating Trends for Excel™ (OT) is reviewed in this section.
2 Operational Trend for Excel(OT) - Part 2
Use the following steps using P3-OT-Operational-Trends Engine to generate:
- Divide the Plant to Units
- Define major steams connecting units (Manipulating Variables MV)
- Define the MV movement defined in the Standard Operating Procedure (SOP)
- Develop MV trends
- Develop Dynamic unit to unit interaction
- Define the Mode of Operation (MofO) for Plant
- Define the Mode of Operation (MofO) for each unit
2.1 CDL Folders
The CDL Package is constructed from the following Folders:
The top folder is called CDL-Product which contains
- Project
- Tools
2.1.1 Project Folder
The CDL Project folder contains:
- CDL-PmName-Project-YYYY
- PmName is the plant name such as VRT
- Project is Optional
- YYYY is the start year is is optional
- Example is CDL-VRT-2023
The Project folder contains:
- P1-IPA-Industrial-Plant-Assessment
- P2-LofA-Level-Of-Automation
- P3-OT-Operational-Trends
- P4-SOP-Standard-Operating-Procedure
- P5-URS-User-Requirement-Specification
- P6-FRS-Functional-Requirement-Specification
- P7-ACM-Automatic-Code-Maker
Each of the folders represents a PHASE of the project.
2.1.2 Tools Folder
The CDL Tools folder contains:
- A-Documentation
- B-Templates
- C-CM-CCM-Libraries
- D-Engines
- E-Issues
The following folders and tools are used in this document
- Project Folder: - P3-OT-Operational-Trends
Index | Type | Value | Description |
---|---|---|---|
1 | File | CNTL-Designer-LLC-Copyright-2023.docx | Copyright notice |
2 | Folder | OT-01-Inputs | User input files |
3 | Folder | OT-02-Reports | User generated reports |
4 | Folder | OT-03-Examples | CDL generated example |
5 | Folder | ~CDL-P3-Operational-Trend-Builder-for-Excel.xlsm.lnk | Shortcut to engine |
6 | Folder | CDL-Engine-Paths.CSV | To be used by the Engine |
2.2 Step by Step
Please follow these steps
Open the Projects folder
Open the CDL-VRT-2023 folder
Open the P3-OT-Operational-Trends folder
Click the shortcut for the engine ~CDL-P3-Operational-Trend-Builder to open Excel file
The Program will open in the {ToDo} Sheet.
The program is divided into the following sections:
- Import Saved OT Data Sheets
- Define PM-UM-EM
- Build the Trend Sheet
- Build Trend Presentation (PowerPoint)
- Build Trend Presentation (PDF)
- Build Dynamic Presentation (PowerPoint)
- Build Dynamic Presentation (PDF)
- Save OT
- Run All Reports
2.3 Import Saved OT Data Sheets
Purpose: To select P3-Demo-OT-01-PM-RX-DIST.xlsx* Example file
Please do the following
- Select {ToDo} worksheet
- Select Project Folder
- in cell C4 using the pull-down select the third option
- P3-OT-Operational-Trends\OT-01-Inputs
- P3-OT-Operational-Trends\OT-02-Reports
- P3-OT-Operational-Trends\OT-03-Examples
- Click the [1] Select Folder button
- Using the file explorer select the Projects**-VRT-2023** folder
- Click the Yes button
- List Files
- Click the [2] List Files button
- The program displays the following files starting from row 50
- Import a file
- Add an X in cell A51 to select the P3-Demo-OT-01-PM-RX-DIST.xlsx file
- Click the [3] Import Selected File button
- Review the following sheets
- Trends
- Dynamic
- MV-CV-DV
Theses sheets are described in the section below
2.4 Trends
The Purpose of the Trend Sheet is to visualize the process control narrative to be reviewed by the operation. The following narrative has been provided by the operation.
- Open the Feed to RX 8000 Wait until RX level is 75%
- Run the RX until Temperature reaches 450 Deg C
- Open Feed to Distillation 8000
- Reduce feed to RX to 3000
- Open Distillate to RX 5000 Recycle to Reactor
- Open Bottom Product 3000
- Run
- Cut Feed and run distillation until the RX and Distillation levels are low 0 Prepare for shutdown
- Cut the Distillate and Bottom flow
- Cut Feed to Reactor
The following MV (Manipulated Variables) are defined:
N | MV | Desecration | Range |
---|---|---|---|
1 | MV1-RX Feed | Feed to RX | 10000 |
2 | MV2-Dist Feed | Feed to Distillation | 10000 |
3 | MV3-Top Product | Distillate to RX to RX | 10000 |
4 | MV3-Btm Product | Distillate Product | 10000 |
The Trend Sheet displays the following trends.
Which is the visualization of the narrative.
N | Action | Value | Comment |
---|---|---|---|
1 | Open the Feed to RX | 8000 | Wait until RX level is 75% |
2 | Run the RX until Temperature reaches | 450 Deg C | |
3 | Open Feed to Distillation | 8000 | |
4 | Run Distillation | Establish Temp Profile in Total Reflux | |
5 | Reduce feed to RX to | 3000 | |
6 | Open Distillate to RX | 5000 | Recycle to Reactor |
7 | Open Bottom Product | 3000 | |
8 | Run | ||
9 | Cut Feed and run distillation until the RX and Distillation levels are low | 0 | Prepare for shutdown |
10 | Cut the Distillate and Bottom flow |
2.5 Dynamic
The Dynamics sheet displays the control narrative in a schematic format as shown in below
The MV color code are
- Gray: Ready Mode
- Green: Run Mode
- Red: Shut Down
2.6 Generate Report
The following reports can be generated automatically
- Trend
- PowerPoint
- Dynamic
- PowerPoint
2.7 Generate Trends PowerPoint Report
You must have a Microsoft PowerPoint program installed on your computer.
Click on command [6] Build PPT Trend Presentation button
The PowerPoint is generated in the **-02-Reports folder**
Click on the PPT File Name URL
2.8 Generate Trends PDF Report
Do the following steps
Click on command [7] Build PDF Trend Presentation button
Click the Yes button
The PDF is generated in the -Reports folder
2.9 Generate PowerPoint Dynamic Report
You must have a PowerPoint program installed on your computer.
Review the Dynamic Sheet the print area should be defined as
Last Row: 60
Last Column: 34
Make sure that {ToDo} worksheet cells C29 and C30 are assigned to these numbers.
Do the following steps
Click on command [8] Build PPT Dynamic Presentation button
Click on the PDF File Name URL
2.10 Generate Dynamic PDF Report
Do the following steps
Click on command [9] Build PDF Dynamic Presentation button
Click on the PDF File Name URL
3 Develop OT for a Plant Work Process
To develop State-Based Control, the following tasks must be executed: Task Definition Status
- Gather and Review Data for the State-Based Control Design
- Plan and Generate Plant Level of Automation (LoA) [Optional]
- Review Similar Plants
- Divide the Plant into Process Units (UM)
- Identify the Plant Area within the Plant (optional)
- Develop Plant or Plant Area OT
Operation Trend,
Modes of Operation Matrix,
Dynamic Flow-sheets)
for: Start-up (S/U), Run, and Controlled Shut Down
- Develop Plant/Plant Area OT for Abnormal Situation Management
- Select the Units to develop OT
3.1 Gather Data
Gather the following information as input to the SBC development process if available
Index | Description | Status |
---|---|---|
1 | Process Index Flow-sheets | |
2 | Process Description | |
3 | P&IDs | |
4 | I/O List | |
5 | SOP for Start-up, Run Control shutdown Abnormal Situations | |
6 | Other relevant data |
3.2 Plan and Generate Plant Level of Automation (LoA)
This is an optional task (see LoA Documentation)
3.3 Review Similar Plants
Review information from similar plants if available
3.4 Divide the Plant into Process Units (UM)
Please execute the following tasks
Identify major units (distillation, reactor, compressor)
Identify associated equipment (the only purpose is to develop a list of the major equipment (reboiler, pump, condenser)
Starting from feed, move forward until you reach either Major equipment or A point where the stream splits to support more than one piece of major equipment
If the selected portion of the plant needs to be
Start-up,
Run
Shutdown independent of the downstream major equipment, that defines a unit (example Feed system supplying 2 or more reactors)
- Identify local recycles (associated equipment) Identify major breakpoints (stream leaving the unit) The area between breakpoints in streams is a unit
- Name the unit according to the major equipment it contains if available, or a descriptive name (for example steam header)
Do the following Tasks
- Draw a simplified overview of the process that shows only major units and
- key flows between them
This is easier to follow than a typical indexed flowsheet diagram (IFD)
Draw Units
Draw Major flows (Unit to Unit)
Draw major recycle (Unit to Unit not internal to Unit)
Add Stream numbers
Add normal operation flow rates
3.5 Identify the Plant Area within the Plant (optional)
This is an optional Task
3.6 Step by Step to Build a Plant Operational Trend
3.6.1 Process Definition
This section uses a process defined in the following papers:
1. Reactor separator processes with recycles
2. Design for composition control (Kwo-Liang Wu a, Cheng-Ching Yu a,*, William L. Luyben b, Sigurd Skogestad)
There are three types of variables
MV: Manipulated variable - The control program can adjust them within their boundaries (like Flow or Pressure)
CV: Controlled Variable - Their valve changes due to MV changes (like Temperature or Level)
DV: Disturbance variable - These variable effect the CV (like outside temperature)
In the Plant Module Analysis, we only show the main Manipulated Variables (MV).
The process is simplified as
MV | Manipulated Variables | Min | Max |
---|---|---|---|
MV-01 | RX Feed | 0 | 1000 |
MV-02 | DIST Feed | 0 | 1000 |
MV-03 | DIST Top Product | 0 | 1000 |
MV-04 | DIST BTM Product | 0 | 1000 |
The operation has provided the following start-up procedure
3.6.2 Procedure
- Starting up
- Ramp the RX Feed MV-01 very slowly to 920
- wait till the RX level is about 60
- Ramp Feed to 460
- Start the Distillation Feed MV-02 to 920
- Run Distillation up to Total Reflux (Not shown here)
- Ramp the Reflux to 1100 (Not shown here)
- Ramp the Top Product MV-03 and the Bottom Product MV-04 to 460 and 460 respectively
Normal (Run normally)
Shut-down
- Ramp the RX Feed slowly to 0
- Ramp the Top Product MV-03 and the Bottom Product MV-04 to 0 and 0 respectively
- wait until RX Level is at 20% then Ramp the Feed to Distillation MV-02 to 0
3.6.3 Develop Narrative
The above information should be captured in the Narrative Sheet.
3.6.4 How to Develop Operational Trends
The Trend worksheet is like a matrix with:
The Rows are defined as information about MV,CV, and DV:
- Define information about OT
- Row 1: Task Name - (required) A Verb or word describing the column Task
- Row 2: Duration - (optional) The duration of the task is minutes
- Row 3: Summary - (optional) Description of the task
- Row 4: Detail - (optional) Detail activities of the Task
- Define MV or CV or DV
- Row 5: MV, CV, Or DV Name - (required)
- The name of the variable shoud start with MV, CV, or DV (No Space in front)
- Row 6: Range - (required)
- Row 7: Command [] - (required) See table below
- Row 8: Detail - (optional) Summary activities of the Variable
- Row 9: Detail - (optional) Detail activities of the Variable
- Row 5: MV, CV, Or DV Name - (required)
The Row 6 to Row 9 is repeated for all variable
The Columns are defined as
- Column 1: Definition
- Column 2 to N: are the tasks the the process goes thought from Ready to Start-up to Run to Shutdown to Ready
3.6.5 Definition of Command
The command is constructed from the following parts:
Command , Begin Ramp, End Ramp, Alarm Lo, Alarm Hi
- Command is from the list below like “Ready” or “R”
- Begin Ramp is the time (0 to 100) that the ramp start
- End Ramp is the time (0 to 100) the the ramp will reach it valve (Row 5)
- Alarm Lo is the Low alarm
- Alarm HI is the High Alarm
For Example
and with Alarm
The command is the instruction to draw the Trend
Short-Cut | Full | Description | Color |
---|---|---|---|
R | Ready | The variable is at ready mode | Gray |
S | Start-up | The variable is staring up | Blue |
N | Normal | The variable is at normal operation | Green |
P | Problem | The variable has a problem | Orange |
T | Tripped | The variable has tripped | Red |
C | Control Shdn | The variable is in Controlled shut Down mode | Purple |
M | Manual | The variable is in Manual Mode | Orange |
3.6.6 How to develop the {Trend} sheet
Do the following steps
Select {User-MCD-Tasks} worksheet
Erase Row 2 and all of the rows below
Add the following MV, CV and DV information
Add the range for each variable
Add task name in Row 1 and commands for each Variable
Fill in the table
Select {ToDo} worksheet
Click the [5] Copy User MCD to setup button
Click the [5a] Build Trends button
Select {Trends} worksheet
Click the [Redraw] button
3.6.7 Change {Trend} sheet
Each element of the {Trends} worksheet can be changed manually.
3.6.8 How to develop {Dynamic} worksheet
Please do the following in the {Trends} worksheet:
- Click the [Build Dynamic] button
You have 2 options:
Yes: It will erase {Dynamic} worksheet and add all MV,CV and DV shapes
No: It only add the NEW MV, CV and DV
Let’s select [Yes] option
- Select the {Dynamic} worksheet and review the new shapes
- Select the {Setup} worksheet
Copy the RX and DIST shapes shown above
Select the {Dynamic} worksheet and paste the selected shape here.
Change the background shape sizes and place them
Each shape has a position for line IN and OUT, please construct the {Dynamic} worksheet
Click on [<] or [>] buttons to change the selected task column
Review {Dynamic} worksheet
Develop Unit OT (Operation Trend, Modes of Operation Matrix, Dynamic Flow-sheets) for: Start-up (S/U) Run Controlled Shut Down
Develop Unit OT for Abnormal Situation Management
Review and consolidate all Unit interactions
Transfer pre-FRS information into the FRS template for Selected Units