Real-Time Simulation – A Design Case

 Thumbnail
Mathieu Westerweele
Mathieu Westerweele
Posted on:
30 Mar 2014
Last month several groups of students of the “Hogeschool Utrecht” (at the faculty of Industrial Automation) finished a very educational 4 month project in which they had to design, control and simulate a part of an industrial process.
Last month several groups of students of the “Hogeschool Utrecht” (at the faculty of Industrial Automation) finished a very educational 4 month project in which they had to design, control and simulate a part of an industrial process.
In this blog post I will discuss this project shortly and talk about some of the challenges these young students had to cope with. They managed to turn this quite demanding project into a successful, stimulating experience and I am very proud of what they have accomplished in such a short period of time.
 

Project Goal

The project was used as a sort of test case, since it was the first time our modelling tool was being used by a group of students that had no background in Chemical Engineering. The main questions to be answered by the project was:
Is it possible to let students make a dynamic simulation of a glycol dehydration unit (used to remove water from natural gas) with the use of Mobatec Modeller? And can this ‘virtual plant’ be controlled with a real hardware PLC (also completely configured by a group of students)?
The concepts and ideas behind Mobatec Modeller were completely new for the students, so they had quite a challenging task at hand.
 

Short Process Description

After retrieving natural gas from a well or reservoir, it still contains a substantial amount of water (liquid as well as vapor) and also some liquid carbohydrates (so-called condensates). This gas is often called wet gas and can cause several problems for downstream processes and equipment. So, before the natural gas is ready to be transported, water and condensates are removed from the gas in several steps. The Glycol Contactor is one of those steps. Glycol is a hygroscopic liquid which can easily absorb water vapor from a wet gas stream. So, by bringing the wet natural gas into contact with liquid glycol in a column, the last residues of water can be removed from the gas stream. Heating the glycol-water mixture in a Glycol Reboiler, will remove the absorbed water (by evaporation), such that the glycol can be regenerated and recycled. The picture below shows a simplified process flow scheme of the glycol contactor and regeneration facilities.
Process Flow Scheme

Hardware and Software Configuration

Since it was not possible for the students to realize a control setup on a real glycol dehydration unit (because such a unit was simply not available), one group of students was asked to make a real-time simulation of the process with Mobatec Modeller. Another group of students had the task to configure a real hardware PLC (Programmable Logic Controller) and configure an HMI (Human Machine Interface) and SCADA (Supervisory Control And Data Acquisition) with the available hardware and software. The simulation model should communicate via an OPC connection with a simulation-PLC.
The PLC’s were to be connected to the simulation-PLC in several ways:
  • Via OPC (OLE for Process Control, OLE = Object Linking and Embedding)
  • Direct via analog and digital IO-signals
  • Via a Fieldbus and a remote IO-station with analog and digital IO-signals
OPC

The Assignment

The project was distributed amongst six groups, two of which was responsible for the simulation. The other four groups had to design a control (with slightly different specifications) for the system.
  • The hardware and software configuration were thought out in big lines, but had to be designed and realized in detail by the different teams.
  • The interface between the different systems, functional as well as technical, had to be determined by the teams themselves.
  • The simulation of the process, including the assumptions and simplifications, had to be setup from scratch (using some building blocks). The simulation should have the option to create scenarios and “introduce errors”, such that the developed control strategies could be properly tested.
  • Process conditions (under normal operation), process configuration details, battery limit (i.e. boundary) conditions and other relevant data were provided to the students, in order for them to make a realistic dynamic simulation model.
  • The functional specification of the control system had to be designed by the teams.

The Modelling Effort

As a starting point for the modelling, the students had several P&ID’s (Piping and Instrumentation Diagrams) a PFD (Process Flow Diagram). The tags that were used in the P&ID’s were also used as names in the modelling environment, such that the coupling to the control PLC would be an easy task.
To build the model we provided the students with some basic (partially predefined) building blocks, since they had no background in Chemical Engineering. They had to refine and connect the building blocks and to tune the parameters to get trustworthy results. Especially the latter part, the tuning, can be quite time consuming for dynamic process models. Even more so if you do not have much experience in this field.
Obviously, since dynamic modelling was completely new for these students, some communication with Mobatec engineers was needed in order to get a good model. This interaction was kept to a minimum, however, and I was very pleased to learn how much these students were able to do themselves. Setting up and configuring the OPC connection, for example, didn’t require any interaction with us. They did this all by themselves, which is, of course, a positive outcome for both the students and Mobatec.
The Setup
Do you have any ideas or suggestions to make dynamic simulation a good learning tool for students? Or do you have other comments related to this topic?
Please feel free to post your experiences, insights and/or suggestions in the comment box below, such that we can all learn something from it.
To your success!
Mathieu.
———————————————–

9 Replies to “Real-Time Simulation – A Design Case”

  1. Hey Mathieu,
    Wat een schitterend project zeg.
    Welke opc server heb je gebruikt?
    Dat zouden wij ook goed kunnen gebruiken.
    Groet, yme
    (Stc-group Brielle)

    1. Hi Yme,
      Thanks for your comment. The students used a Takebishi (Device Explorer OPC Server) in combination with CX Compolet. I can send you a part of their report if you like?
      Kind regards,
      Mathieu.

  2. I think itis very good exercise for the students to be graduate.The will be aware of different operational and designing techeniques during this project .I must suggest the student should also discussed the TEG losses and foaming prblems.

    1. Thanks for the suggestion, Tabassam. In this case we were dealing with students in Industrial Automation, who had to learn about communication between different software/hardware. So, in depth learning about the simulated process was not really an issue for this project.
      Kind regards,
      Mathieu.

  3. Hi Mathieu,
    This topic of discussion is very interesting and thought provoking for all, specially grad students.
    I would like to see some elaboration on integration of Dynamic Simulation Model and Hardware parts (PLC, SCADA and HMIs). I am sure this topic would be of interest to many in industry

    1. Hi Vijay,
      We actually have quite some experience coupling our software (Mobatec Modeller) to different PLC’s, SCADA’s and HMI’s (and also SIS/ESD) in our Operator Training Simulator projects. I was planning to write about one of these projects in a next blog. So, thanks for reassuring me that this would be an interesting topic.
      Kind regards,
      Mathieu.

  4. It is really great project! I wish we had the same at my university ages. Such projects make student’s brains work more effective. But can you clarify for me as you know the required quantity of glycol depends on the humidity of raw gas and from differential presure…how many losses of glycol did you have. Two years ago we did similar project but we used siemens contactors http://hardware.nl/hulpschakelaar/siemens and we tried to reduce this losses by cooling effluent dried gas from the absorber

    1. Thanks for your comment Maryna,
      The project was not concerned with the difficulties of running the actual process. The objective for the students was to learn about communication between different pieces of software/hardware…

Leave a Reply to Sheikh Sariful Islam Cancel reply

Your email address will not be published. Required fields are marked *