Professional Documents
Culture Documents
Estimate the polytropic efficiency of compression stages 1 and 2 using historical plant data.
T1005.PV CW In T C
T1006.PV CW Out T C
• In order to run the data fit model with the plant data, the imported tag values from the data historian or
Excel workbook must be “pushed” to measured_1 fields in the Data Set.
• Plant operation personnel has identified that the plant data from 12/26/2016 6:00 AM to 12/26/2016
6:00 PM represents a typical operation scenario and should be used.
• Even though most plant measurements are available in the data historian, analyzer data for gas
compositions is only available offline.
• Additional useful historical data from 1-4 AM on 12/26 is not available in the data historian but is
available in an Excel workbook.
• All required features to complete this tutorial can be found on the Plant Data ribbon tab in Aspen
HYSYS.
• NOTE: To import plant measurements from the historian, the measurements have to already exist on
your historian. Alternatively, you can import data from Compressor_PlantData_Historian.xlsm from
the folder where compressor.hsc resides.
the compressor monitoring model. These P1001.PV Gas Feed (IN) P bar
• If a historian is not available or configured with the appropriate tags, click Get Plant Data | Import
from Excel to import these tags from the Excel file Compressor_PlantData_Historian.xlsm
(available in the compressor folder).
• Use the time range slider to view plant data for the specified time window.
• Select the required tags in task 1 and import the data into Aspen HYSYS.
– After the import completes successfully, close the Import Tags from Historian dialog box.
• Check all measurement data imported for the specified time window.
– Hint: On the Plant Data ribbon tab, click View Raw Data to open the Tag Raw Data form.
• Import additional sets of plant data representing different operating scenarios (for example, between 6
PM on 12/26/2016 and 6 AM on 12/27/2016) for the same tags.
• Use the time range slider to narrow the time interval to display raw data from between 12:00 and 1:30
PM on 10/25/2016.
• Open Compressor_PlantData_Task4.xlsm in Excel. This file is available at the following location: AspenTech\Aspen HYSYS
V10.0\Samples\Plant Data\Compressor.
– You can create a blank Excel workbook from a template by clicking Tools | Get Plant Data Excel Template (Tag Name as Row Label) on the Plant Data
ribbon tab. In this tutorial, most component compositions are already specified in the worksheet to save time.
• Add three tags with the names and average values shown below for 6 AM to 6 PM on 12/26/2016.
– The propane composition should be calculated as formula = 1.0 - total compositions of the remaining components.
• The spreadsheet contains data sets DS1 and DS2, which represent EA-101 in operation and a EA-101
shutdown scenario respectively.
• Edit the Plant Data worksheet to validate the measurement tag for the following scenarios:
– T1000.PV has a missing value in DS1.
– Override the tag value with default value of 44 C for both DS1 and DS2.
• We will need to find a way to equalize the inlet temperature to the outlet temperature of EA-101 without changing the
raw data.
– Create a tag EA101-STAT to represent EA-101 status with the Excel formula = IF([F1002.PV]>2.0,1,0). The status tag has a value of either
0 or 1.
– Create a formula tag T1007.IV in the Excel workbook with the Excel formula = IF([EA101-STAT]=1, [T1007.PV], [T1004.PV])
– Set the flow ratio in splitter block TEE-100 in similar way. That is, create a FLOW-RATIO tag in the Excel workbook with the Excel formula =
IF([EA101-STAT]=1,1,0).
• Double-check that the entry in the Source Device field is correct for each tag.
– Open the Import Tags from Historian dialog box and check the Data source name.
• On the Plant Data tab, click Manage Tags to open the Tag Manager to ensure all the data validation rules are
specified correctly.
– Hint: Select the Data validation checkbox on the Tag Manager form.
• Check that the selected tags were created correctly in Aspen HYSYS using the Tag Manager.
– All tags added from the data historian should be DCS type.
– All tags created are Unitless type by default.
– Display the tag attributes with different combinations.
• Assign tag Physical type and Unit in HYSYS to enable unit conversion between model variables and
plant tags.
– Hint: Use the Tags UOM form.
– Use Physical type Mass Flow and Unit tonne/h for flow measurement
– Use Physical type Power and Unit kW for power measurement
– Use Physical type Percent and Unit ppm or fract. for composition measurement
– Use Physical type Temperature and Unit C for temperature measurement
– Use Physical type Pressure and Unit bar for pressure measurement
• Imported any additional required measurements from an Excel workbook if they were not available in
the data historian
• Open the Tag Manager and select the Data validation check box.
– Note that the Lower limit and the Upper limit of the measurements should be populated already from the Excel
workbook for some tags. This was done in Task 4 of previous section.
– Select the corresponding clamp flags(Clamp at lower and Clamp at upper) for all measurements with specified
Lower limit and Upper limit that differ from the default values (-1e+20 and 1e+20, respectively).
• Typically steady state detection (SSD) will only be performed for selected key measurements, such as feed flow.
• Enter the following SSD parameters for gas flow measurement F1000.PV
– Hint: Open the Tag Manager and select the Steady-state detection check box.
– Tolerance: 4 tonne/hr
– Trend Tolerance: 4 tonne/hr
– Timespan: 60 minutes
• On the Plant Data ribbon tab, click Condition Data to run Data Conditioning.
– A default name is given for the Data Condition Run. It is recommended to enter a meaningful Name and Description.
• In order to run a data fit model with the plant data, the imported tag values from the data historian or
Excel workbook must be “pushed” to measured_1 fields in the Data Set.
• From the Object to run drop-down list, select Data Recon – FlowSheetWide.
– Copy & paste the flow ratio variable for TEE-100 to the mapping Variables form.
– Copy & paste the mass flow variable for the GASIN stream to the Variables form.
– Optional: Copy & paste the gas molar compositions for the GASIN stream.
28 © 2017 Aspen Technology, Inc. All rights reserved.
Task 1: Select and add model variables to mapping form
(Cont’d)
• Add tuning parameters and output variables for result analysis.
– Copy & paste highlighted variables below to the plant data variables form.
– Copy & paste the polytropic efficiency of each stage to the mapping variable form.
29 © 2017 Aspen Technology, Inc. All rights reserved.
Task 2: Map the selected variables with tags
• Specify source tags for added model input variables
• You must map the model output variables to the tags only if you want to store model results in the data historian and thus make
them available to plant operators.
– You must create new output tags with the Local GUI type in Aspen HYSYS first before mapping.
NOTE: At the end of a data fit run in HYSYS, a dialog box may appear, asking if you want to update the
start value of all optimization variables from their result value. If you do not want this dialog box to appear,
on the Solver Options tab of the Data-fit form, you can select the Default Responses check box.
• Compare the plant data and results across five data sets.
– All variables should appear on the variables form.
• Trend the estimated polytropic efficiencies for both stages across five data sets.
• Plot the polytropic efficiency of the first stage vs. the following:
– Total gas flowrate
– Gas inlet temperature