Developing Automation Solutions for Aspen HYSYS

Course Id:  EHY2311   |   Duration:  2.00 day(s)   |   CEUs Awarded:  1.4   |   Level:  Intermediate


Course Objective

Recognize the benefits of using automation in conjunction with Aspen HYSYS. Reinforce programming concepts that support automation in Aspen HYSYS. Use Visual Basic and Excel to create automation solutions for Aspen HYSYS simulation models.

Course Overview

  • Recognize the benefits of using automation in conjunction with Aspen HYSYS
  • Reinforce programming concepts that support automation in Aspen HYSYS
  • Use Visual Basic and Excel to create automation solutions for Aspen HYSYS simulation models

Benefits

  • Learn to automate, customize and enhance the capabilities of Aspen HYSYS models to address specific process simulation needs
  • Automate repetitive error prone tasks
  • Build applications that target specific tasks
  • Create solutions that leverage the key strengths of one or more applications

Audience

Engineers who want to develop automation solutions for Aspen HYSYS simulations.

Approach

  • Course notes containing lecture materials, examples and workshops are distributed
  • Lecture topics are reinforced with workshops throughout the day
  • Questions relating the course material to real life problems are encouraged

Prerequisites

Attend training course EHY101 Aspen HYSYS Process Modeling or extended experience in using Aspen HYSYS for process modeling.

Subsequent Courses

  • EHY202 Aspen HYSYS: Advanced Process Modeling Topics
  • EHY2102 Aspen HYSYS Petroleum Refining: Refinery Process Modeling and Optimization for Refinery Unit Operations
  • EHY221 Aspen HYSYS Dynamics: Dynamic Modeling

Class Schedule

Class Agenda

EHY2311: Developing Automation Solutions for Aspen HYSYS

Introduction to Automation

  • Identify benefits of using HYSYS automation
  • Understand how customization can enhance the capabilities of Aspen HYSYS

VB Syntax
  • Reinforce programming concepts
  • Develop a programming style
  • Learn important VB syntax
  • Workshop: Create a Prime Number Search macro using VBA so as to become familiar with important syntax and develop a better understanding of object oriented programming

The HYSYS Type Library
  • Navigate simulation objects using the HYSYS Type Library
  • Use the Object Browser within Excel
  • Workshop: Use the Object Browser within Excel to access the HYSYS Type Library

Linking HYSYS and Excel
  • Understand the implications of using early and late binding
  • Learn how to programmatically set objects and properties
  • Workshop: Connect Excel and Aspen HYSYS using the GetObject and CreateObject methods

Automation Objects
  • Become familiar with common Aspen HYSYS and Excel objects
  • Learn how to write functional VBA modules
  • Workshop: Use VBA to interact with common objects within Aspen HYSYS such as streams, heat exchangers and column subflowsheets

The VB Debugger
  • Become familiar with the debugging tools available within the Visual Basic Editor
  • Apply appropriate debugging techniques
  • Workshop: Use the features of the VB Debugger to eliminate errors in existing code

The Macro Language Editor
  • Create and run Macro Language Editor (MLE) code
  • Add dialog boxes to an MLE macro
  • Practice debugging an MLE macro
  • Workshop: Use the Macro Language Editor to create functional macros within Aspen HYSYS

User Variables
  • Learn the steps required to create a User Variable
  • Introduce recommended debugging techniques for User Variable code
  • Workshop: Create and debug User Variables for different object types within Aspen HYSYS

Applications
  • Test and develop your automation skills
  • Workshop: Use automation to link process information in different simulations

User Operations
  • Highlight the general features of a User Unit Operation
  • Workshop: Demonstration of the capabilities of a User Unit Operation

Aspen Technology, Inc. awards Continuing Education Units (CEUs) for training classes conducted by our organization. One CEU is granted for every 10 hours of class participation.