AOT Tutorial
AOT Tutorial
AOT Tutorial
Tutorial
In this example, you will learn how to use Aspen Operator Training with a
simple sample case. You will work with a sample simulation case in HYSYS,
which must be installed in the same machine as Aspen Operator Training. You
will then import these typical HYSYS values into a new Aspen Operator Training
project and connect to a new interface. The sample case is expanded to link a
spreadsheet cell in HYSYS with a value from the Aspen Operator Training OPC
server. The final step is an example of how the editor works and com-
municates.
Note: The completed sample files created in this tutorial are located in the AspenTech |
Aspen Operator Training | Samples folder.
1. Prepare the HYSYS case so that the relevant data can be accessed.
2. Create an Aspen Operator Training Editor project for each data source.
3. Create a trend curve and a map curve that will later be used in the pro-
cess diagram.
4. Set up the process diagram to display information to the user.
5. Run the project.
6. Configure the Aspen Operator Training OPC UA Server.
7. Connect to the Aspen Operator Training OPC UA Server.
8. Create a synchro project to link several Aspen Operator Training pro-
jects.
9. Run the projects in Runtime mode.
1. Open the HYSYS case. In this example, open the Debutanizer Column
- Dynamic Model.hsc sample case (available in the AspenTech |
Aspen HYSYS | Samples folder).
2. From the Flowsheet/Modify ribbon tab | Hierarchy group, click the
Go to Parent button to return to the flowsheet.
3. Press F4 to access the Model Palette.
4. Add a Spreadsheet.
5. On the Spreadsheet tab of the Spreadsheet operation:
o In cell B3, type 0.
o In cell B4, type the following formula: =B3.
6. In the navigation pane, select Data Tables. On the Data Tables form,
click Add.
A new process data table is created.
7. To add variables, click the Add button at the bottom of the Data Table.
Use the Variable Navigator to add the following variables, and then click
Access Description
Mode
Read The variable in the Data Table can be read from Aspen
Operator Training.
Write The variable in the Data Table can be written from Aspen
Operator Training for specified HYSYS variables only. Cal-
culated HYSYS variables cannot be written from Aspen
Operator Training.
Read/Write The variable in the Data Table can be read from Aspen
Operator Training and written from Aspen Operator Train-
ing for specified HYSYS variables only. Calculated
HYSYS variables cannot be written from Aspen Operator
Training.
Caution: Make sure that No Transfer is not selected for any variable in
the data table.
4. Next to the Case Name field, click the button. On the Open dialog
box, navigate to the modified HYSYS case, and then click Open.
5. Perform the following actions:
l A trend curve
l A map curve
To create a trend curve and a map curve:
8. To create a map curve, in the Maps group, click Add New Map.
9. In the Graphic Name field, specify Map Curve.
10. To define the operating point from the tags, specify the following:
o From the Operating Point X drop-down list, select PIC-
101/SP.
o From the Operating Point Y drop-down list, select PIC-
101/PV.
The map curve will show whether the SP is correctly tracking the PV.
11. Click Add New Curve.
12. In the first row of the Static Curves table, for the Curve Name, spe-
cify Target Line.
Either:
Most of the objects in the Workspace can be linked to at least one of the project
tags, which must be selected in the Properties pane for the object.
In order to open the graphs defined in the Plots tab during runtime, you must
add a button (Graphic type) in the Aspen Operator Training workspace.
7. From the Palette, select and drag an InputText item to the Window 1
workspace. Change the Properties as follows:
o From the Tag Name drop-down list, select PIC-101/SP.
o Next to Foreground, click the ... button. On the Brush Picker
window, from the Select a color drop-down list,
select Chartreuse. Click OK.
8. From the Palette, select and drag another LabelText item to the Win-
dow 1 workspace. Change the Properties as follows:
o In the Text field, type kg/cm2.
o Next to Foreground, click the ... button. On the Brush Picker
window, from the Select a Color drop-down list,
select Chartreuse. Click OK.
9. Add additional LabelText and InputText elements to build a layout sim-
ilar to the image below.
Field Specification
Header PIC
13. Add an Alarm and change its properties as shown in the image below.
The Alarm alerts you when a desired variable reaches a pair of certain
values, defined as Alarm Value 1 and Alarm Value 2.
X and Y Indicates the position of the top-left corner of the object with respect
to the top-left corner of the Window canvas (X = 0, Y = 0 indicates
the top-left canvas corner).
Width Indicates the dimensions of the object. You can change these values.
and
Height
Font Select this check box if you want the font of the text to be resized
Auto together with the size of the shape (Width and Height).
Size
Font The size of the font used when the Font Auto Size check box is
Size cleared.
Alarm The Alarm Shape displays the Alarm Fill 1 and Alarm Text 1 when
Value Alarm Tag value is less than this Alarm Value 1. This alarm value
1 takes priority over Alarm Value 2.
When specifying Alarm Value 1 and Alarm Value 2, we recom-
mend that you use the lower value for Alarm Value 1.
Alarm Click ... to access the Brush Picker and select the color to display when
Fill 1 the variable reaches Alarm Value 1.
Alarm Text that appears inside the Alarm object when variable reaches
Text 1 Alarm Value 1.
Alarm The Alarm Shape displays the Alarm Fill 2 and Alarm Text 2 when
Value Alarm Tag value is equal or greater than this Alarm Value 2.
2
Alarm Click ... to access the Brush Picker and select the color to display when
Fill 2 the variable reaches Alarm Value 2.
Alarm Text that appears inside the Alarm object when variable reaches
Text 2 Alarm Value 2.
14. Add another Alarm and change its properties as shown in the image
below.
Field Specification
Text ToR
17. Click Add Canvas Tab to add a new window to the project. The fol-
lowing procedure demonstrates how to build a real operator interface.
18. On the Properties pane, in the Header field, rename the window to
Column Screen.
19. Next to Canvas Background, click the ... button. On the Image
Picker tab of the Brush Picker window, next to Image, click the ...
button. On the Open dialog box, navigate to the Aspen Operator Train-
ing | Samples folder, and then select DistillationColumn.png.
Click Open. Click OK.
20. Make the following changes to the properties:
Field Specification
21. Add Level, InputText , Valve, and Trend elements to build a layout
similar to the one in the picture below.
Level Width 12
Height 40
Fill Green
Valve Width 27
Height 19
Fill LightGray
22. From the File menu, click Save as. On the Save As dialog box, specify
a File name (for example, Debutanizer_AOT). The project will be
saved in Aspen Operator Training (.aot) format in the selected folder. By
default, it is saved in the Database folder.
23. From the Editor ribbon tab | Simulation group, click Test Project. A
new window appears, corresponding to a new Runtime instance for the
project which is currently being edited.
24. If you click the button in the lower-right corner to view logs,
the log window should not include any error messages (indicated in red).
25. Click File | Save. Then click File | Close | Close Current Project to
close the project.
Next, you will run the project.
1. If the server and client are located on different machines, you must copy
the client certificate .DER file to the server machine.
2. In the Aspen Operator Training |Tools folder, right-click UaServer-
ConfigHelperNet4.exe and select Run as administrator.
Next, you will connect to the Aspen Operator Training OPC UA Server.
In this step, you will link the HYSYS simulation file to a tag from the OPC server
to demonstrate the connection.
Field Specification
Default Value 2
Property Specification
The role of the synchro project is to combine individual project files into a
single communication space. At the beginning of a Runtime execution, a syn-
chro project matches all tags sharing the same editor name, establishes a link
between them, and updates the values after a change occurs.