Professional Documents
Culture Documents
$VSHQ'\QDPLFV
$VSHQ&XVWRP0RGHOHU
10.1
The flowsheet graphics and plot components of Aspen Plus were developed by MY-Tech, Inc.
ADSIM , Aspen Chromatography, Aspen Custom Modeler, Aspen Dynamics, Aspen Plus , Aspen
® ®
® ® ®
Plus , Properties Plus , SPEEDUP , and the aspen leaf logo are either registered trademarks, or
trademarks of Aspen Technology, Inc., in the United States and/or other countries.
Élan License Manager is a trademark of Élan Computer Group, Inc., Mountain View, California, USA.
Microsoft Windows, Windows NT, Windows 98, and Windows 95 are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other countries.
All other brand and product names are trademarks or registered trademarks of their respective
companies.
Use of Aspen Custom Modeler and Aspen Dynamics and This Manual
This manual is intended as a guide to using Aspen Custom Modeler and Aspen Dynamics software.
This documentation contains AspenTech proprietary and confidential information and may not be
disclosed, used, or copied without the prior consent of AspenTech. Users are solely responsible for the
proper use of Aspen Custom Modeler and Aspen Dynamics and the application of the results obtained.
Although AspenTech has tested the software and reviewed the documentation, the sole warranty for
Aspen Custom Modeler and Aspen Dynamics may be found in the applicable license agreement
between AspenTech and the user. ASPENTECH MAKES NO WARRANTY OR
REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS
DOCUMENTATION, ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS
FOR A PARTICULAR PURPOSE.
Contents
Introduction
About This Manual.......................................................................................................... vii
For More Information..................................................................................................... viii
Online Help................................................................................................................. viii
Printed Manuals ........................................................................................................... ix
World Wide Web ........................................................................................................... ix
Technical Support ..............................................................................................................x
AspenTech Internet Technical Support Page ................................................................x
AspenTech Hotline .........................................................................................................x
Index
Online Help
The Aspen Modeler online help includes:
Step-by-step instructions for From the application's Help menu, click Contents, and then on the Contents tab, double-
completing common click the required title beginning Using…
procedures
Detailed reference From the application's Help menu, click Contents, and then on the Contents tab, double-
information click the required Reference title
Note If you have a query about the Aspen Modeler product itself and want to
email the AspenTech Support team, please contact your local Technical Support
office.
You can also install and print yourself copies of all of the Reference Manuals,
both What's New guides, the Aspen Dynamics User Guide, both Getting
Started guides, and this Using DMCPlus Controllers manual. For brief
descriptions of the contents of these manuals, see the Online Help or Chapter 7 of
the Installation Guide.
If you chose not to install these manuals when you installed your product, you
can install them and the Adobe Acrobat Reader needed to read them now. To do
this, run the D:\Docs\setup.exe program on the installation CD, where D: is the
drive letter of your CD ROM.
http://www.aspentech.com/
http://www.aspentech.com/ts
Approximately three days after registering, you will receive a confirmation e-mail
and you will then be able to access the most current Hotline contact information
and also:
• Training course schedules
• Product updates
• Details of support services
• any updated PDFs for Aspen Custom Modeler and Aspen Dynamics from
http://www.aspentec.com/tspsd/acm/acm.htm and
http://www.aspentec.com/tspsd/ad/ad.htm respectively
AspenTech Hotline
If you need help from an AspenTech Customer Support engineer, contact the
Hotline at any of these locations:
North America & the Caribbean +1-888/996-7001 (toll free) +1-617/949-1724 support@aspentech.com
or +1-617/949-1021
South America
Argentina office +54-1/326-9835 +54-1/394-8621 tecnoba@aspentech.com
Brazil office +55-11-5071-0595 +55-11-5071-0595 tecnosp@aspentech.com
Europe, Gulf Region, & Africa atesupport@aspentech.co
Brussels office +32-2/724-0100 +32-2/705-4034 m
UK office +44-1223/312220 +44-1223/366980
Japan +81-3/3262-1743 +81-3/3262-1744 atjsupport@aspentech.co
m
Asia & Australia atasupport@aspentech.co
Hong Kong office +85-2/2838-6077 +85-2/2833-5642 m
Korea office +82-2/761-5800 +82-2/761/5803
❖ ❖ ❖ ❖
1 Using DMCplus
Controllers
There are two capabilities in Aspen Custom Modeler™ and Aspen Dynamics™
designed to help you develop and test DMCplus™ controllers. You can:
• Run step tests on the dynamic simulation and export the results to the
DMCplus Collect file format for use by the model identification tool DMCplus
Model
• Use a DMCplus controller in a dynamic simulation
This section assumes that you have already created the dynamic simulation.
Tip In Aspen Custom Modeler or Aspen Dynamics, the best place to look for
these variables is on the Manipulate forms of the blocks. These forms include
variables whose values can be changed at runtime and which are therefore
potential step testing perturbation variables.
Note Only variables that are Fixed can be perturbed in step tests.
2. In the All Items pane of the Simulation Explorer, select Flowsheet and in the
Contents pane, double-click Add Task.
3. When prompted, enter an appropriate name for the task, for example,
StepTest1.
4. Use Task Language to define the steps.
5. Now you can create a History Table containing the variables for which you
require results. To do this, from the Tools menu click New History Table.
6. Open the tables containing the variables you require and drag and drop the
variables from these tables to the History Table.
You must define the History Table before the run to ensure that results are
recorded for your chosen variable throughout the dynamic simulation.
Example Task
An example task is shown here:
Task StepTest1 runs when time == 0.1
Pause;
End
This task increases the set point of a temperature controller by 5%, waits an hour
for the simulation to level out, and then reduces the set point to the original
value, and again waits an hour for the simulation to stabilize.
It then repeats this for a 5% decrease in the temperature controller set point and
pauses the simulation.
This task only manipulates one variable, but you could go on to repeat this
perturbation sequence for other variables.
When creating the task you may need to use trial and error to ensure you allow
sufficient time between steps for the simulation to level out to a new steady state.
3. The TagName column contains the TagName property for each variable. Edit
this to enter the tag name that you wish to use to refer to the variable within
DMCplus.
To do this either double-click the TagName, or click the TagName and select
Edit TagName from the context menu. Every variable must have a tag name.
The Variable and Description columns contain the name and description for
each variable in the History Table. You cannot edit these.
4. When you are satisfied with the tag names click the Export button.
5. In the Export dialog box, select DMCplus Collect (*.clc) in the Save As Type
box, and enter the name for the file, then click Export.
System Requirements
To use a DMCplus controller in a simulation, you must have the following
software installed on an Intel PC running Windows NT 4.0:
• Aspen Custom Modeler or Aspen Dynamics 10.1 server
• DMCplus Online version 1.11
The Aspen Custom Modeler or Aspen Dynamics client user interface can run on
the same PC or another Windows NT or Windows 95/98 PC.
Because the simulation schedules execution of the controller you must ensure
that the WTMODE entry for the controller is set to a value of 2.
You should place the .mdl and .ccf files for the controller in a folder with the same
name as the controller below the DMCplusOnline\app folder in your DMCplus
on-line installation. That is, these files should exist:
DMCplusOnline\app\controllername\controllername.mdl
DMCplusOnline\app\controllername\controllername.ccf
Tip You must connect all variables so that they are in the same order as in
your controller definition, for example use CV (1) for the first CV in your
controller.
4. Use the ControlSignal stream type to connect the MVs from the OutputSignal
port to their destination blocks. Typically the destination will be a remote
setpoint for a PID controller block.
Again, connect the MVs in the same order as the MVs in your controller
definition.
5. In the Configure form, enter values for each of the parameters.
When ControllerActive=No, or the run mode is not dynamic, the controller is not
run, and the MVs are set to MVMan – the manual MVs.
Set ControllerActive=No if you wish to disable the controller for an entire run, for
example if you are performing step tests. To switch the controller on and off
during a run use ONREQ.
Use the ConfigureUnits form to define the units of measurement used and any
conversion factors required:
Where:
Where:
Where:
Where:
Where:
Where:
Do this by going to the block containing the variable, opening the appropriate
table, and changing the units of measurement to those used in the DMCplus
controller.
2. In the Simulation Explorer, go to the controller block and run the
UOMFactors script.
The ConfigureUnits table will be completed automatically.
Note If the DMCplus units of measurement for a variable are not in the list of
available units, you must enter the units, conversion factor and conversion offset
manually.
Open the Results form to see the current values of the MVs, CVs and Feed
Forward variables.
As well as using the Aspen Custom Modeler or Aspen Dynamics user interface,
you can use DMCplus OPCON to interact with the controller during the
simulation.
Use the Manipulate table to change controller settings during the simulation.
Tip It is easier to pause the simulation before changing values in this table.
If you change from on to off, the MVs will be frozen at their current values. You
can manually change their values. To do this:
➤ Enter your required value in the MVMan row.
The corresponding MV will then change to this value.
MVMan can also be used to change the MVs during a dynamic simulation when
the controller is inactive or switched off.
❖ ❖ ❖ ❖
2 Example of Using a
DMCplus Controller
This example describes a simulation in which 98% pure methylcyclohexane
(MCH) is recovered from a mixture of MCH and toluene. Because these
components form a close boiling system that is difficult to separate by simple
binary distillation, phenol is used as an extractant to enhance the relative
volatility of MCH over toluene. This example describes the steps required to set
up a DMCplus controller to control the process.
All of the files for this example are supplied in the MchDMC example folder.
If you have installed Aspen Dynamics ™ in the default location, this folder is in
C:\Program Files\Aspentech\Dynamics\10.1\Examples.
For more information about using DMCplus with Aspen Dynamics, see the Using
DMCplus Controllers Help.
These regulatory control loops were then modified to reflect the actual control
configuration in the plant. The following figure shows the modified configuration:
The regulatory loops were then tuned. This is the configuration prior to the
installation of the DMCplus controller. Notice that in addition to the default PID
loops created after the Aspen Plus simulation, two other PID loops were added:
• A PHENOLPID loop increases the flow of phenol to increase the purity of
MCH in the product stream.
• The REB_PID loop regulates reboiler duty to control the temperature on
stage 19 of T-1. Stage 19 was chosen because it is sensitive to composition
changes at the bottom of the column.
The following plot was generated using Aspen Plus and varying the distillate
rate:
This version of the file is available as MchRegCtrl.dynf. You can run the
simulation, introduce disturbances and view the responses. When simulating a
real plant, compare the performance of the simulation with real data, and make
modifications as necessary.
For example, the level loop associated with the feed drum V-1 will be controlled
manually by DMCplus. This is because DMCplus controller will not use the
LC_FEED PID loop to control the level. Similarly, the PHENOLPID loop will be
set to manual because DMCplus will rely on multiple manipulated variables to
decide the most economical way to control MCH purity in the product stream.
The Aspen Dynamics simulation was prepared to collect data during the
DMCplus step test. During a step test, manipulated variables in the DMCplus
controller are stepped and data is collected in order to generate DMCplus models
for the controlled variables.
In this example, the model is used to generate the step test results. In practice,
this would normally be done using the real plant and not the model, although the
model can be used to help plan the step testing program.
Tip In order to collect data, create a history table(s) containing all the variables
required for DMCplus modeling.
The following figure shows a history table, with some selected tags.
The faceplates of the two controllers PHENOLPID and LC_FEED were used to
set the controllers to manual before beginning the step test.
The task Steptest1 in the example file calls subtasks FF_FEED, FF_CWTWMP,
FF_FEEDT, MVSTEPS and FINISHTEST to accomplish this. Step inputs are
made to the manipulated variables, followed by a wait to allow the variables to
come to steady state, so that the effect of the change can be identified by
DMCplus Model.
Having activated the task Steptest1, the simulation was run. When it had
finished, the history table(s) were exported. The DMCplus tag names are
specified at this time.
Tagname Description
Tagname Description
Tagname Description
Cases in the Model file listing independents and dependents, data ranges, times
to steady state were created:.
The case(s) were run to identify DMCplus models and the models generated by
the case(s) were viewed. An example is shown in the following figure:
A model matrix was assembled, selecting the most appropriate models from
different cases:
This model was exported as a file (mchcol.mdl) for use by the controller. All the
above operations in DMCplus Model are saved in the file mchcol.dpp.
The ccf file was imported in DMCplus Simulate and the controller was tuned and
Tuning parameters were changed to get the desired response from the controller.
The ccf file was updated from the Controller menu to save the tuning changes.
Both the model and the ccf files were copied into a newly created folder in the app
directory of DMCplus Online. For example, if the controller name was mchcol,
then you would copy mchcol.mdl (model file) and mchcol.ccf (ccf file) into the
DMCplusOnline\app\mchcol folder.
The controller was configured by inserting tag names, as in the model file, and
connecting the dependents and independents to the appropriate variables in the
dynamic simulation using control signals.
The units were configured using the ConfigureUnits form on the DMCplus block
and the controller turned on using the Configure form.
In DMCplus Online, the Operator Console (DMCplus View) was used to change
operating limits and to further tune the controller. The configuration was saved
using the Manage program.
When the dynamic simulation was run, plots of manipulated and controlled
variables were viewed to monitor the performance of the controller.
Tip The example file, MchDMCplus.dynf contains predefined plots MVs, FFs,
CV1to5 and CV6to9.
If you open the Operator Console, you can see how the controller drives towards
constraints:
Studying Disturbances
To study the effect of disturbances, you can perturb the feedforward (FF)
variables in the DMCplus controller either manually by using the appropriate
forms, or by using tasks.
In the example, there are two tasks DIST_CW and DIST_FEED that disturb the
cooling water temperature and feed flow rate respectively. Activate these tasks
whenever desired to study the effect of disturbances.
The following figure shows the effect of lowering the feed rate to the drum V-1. As
the level L-DRUMV1 approaches the low limit, the controller reduces feed to the
column, in order to prevent V-1 from running dry. The following figure shows the
active constraints in this case.
Notice how the controller tries to minimize steam, pressure and run close to the
low limit constraint of MCH product specification, while trying to balance the
level.
The corresponding Aspen Dynamics plots are shown in the following figure:
Activate the task DIST_CW to study the effect of disturbances in cooling water
temperature. DIST_CW increases cooling water temperature to 104 °F. The
controller is driven to new constraints as shown in this figure:
Notice how the controller hits the upper limit on cooling water flow, maximizes
valuable product, minimizes pressure and reboiler temperature. It also increases
phenol to compensate the loss in MCH because of higher tower temperature. The
corresponding Aspen Dynamics plots are shown in the following figure:
Notice also how the feed disturbances increase feed to the drum V-1 and allow the
controller to maximize product flow.
❖ ❖ ❖ ❖
M
Manipulate table
about 2-12
MVFactor for DMCplus 2-9
MvMan 2-12
R
A Results
step test 2-2
AutoMan 2-12
S
C
Scripts
Collect files 2-4 UOMFactors 2-11
Configure form Simulations
description 2-7 with DMCplus 2-12
ConfigureUnits form Step tests
description 2-9 defining 2-2
ConfigureUnits table exporting 2-4
configuring automatically 2-11 results 2-4
Configuring running 2-2, 2-3
DMCplus controllers 2-6
ControllerOn 2-7
Controllers T
DMCplus 2-1, 2-7, 2-12
CVFactor for DMCplus 2-9 Tasks
CVOffset for DMCplus 2-9 step test 2-2
CVs for DMCplus 2-7 To export the step test results as 2-4
CVTag for DMCplus 2-7 To run the step test 2-3
CVUnits for DMCplus 2-9
U
D
Units of measurement
DMCplus automatic configuration 2-11
configuring controller 2-6 defining 2-9
overview 2-1 UOMFactors script 2-11
system requirements 2-6
DMCplus model 2-7
E
Exporting