0% found this document useful (0 votes)
175 views14 pages

Plug Flow Reactor Setup in HYSYS

brief description of plug flow biodigester wth picture examples

Uploaded by

emmolap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views14 pages

Plug Flow Reactor Setup in HYSYS

brief description of plug flow biodigester wth picture examples

Uploaded by

emmolap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

4/22/24, 10:54 AM Plug Flow Reactor Example

Plug Flow Reactor Example

This example will take you through the entire process of setting up multiple reactions and creating a plug
flow reactor in HYSYS (as shown in the picture above). The same example problem has been worked in
Aspen and Matlab. A completed case has been pre-built and is located in the file [Link] in the
\\Hartsook\Hysys\SAMP403 directory, though I recommend you work through the example yourself so
that you do not miss anything.

The reactions that we are going to model are those encountered in the early stages of the production of
such chemicals as ammonia and methanol, both of which may start with a Natural Gas feed. Here are the
two reactions that we shall consider:

CH4 + H2O --> 3H2 + CO


CO + H2O <--> H2 + CO2

The first reaction is the reforming reaction in which the natural gas (here modeled entirely as methane) is
reacted with steam to form hydrogen and carbon monoxide. The second reaction is the Water Gas Shift
Reaction in which yet more hydrogen is produced and the CO changed to CO2 (this is especially important
in ammonia sysnthesis as both CO and CO2 will poison the catalyst used to make ammonia from hydrogen
and nitrogen, and the CO is harder to remove than CO2). Note that the Water Gas Shift is an equilibrium
reaction and is modeled as a reversible reaction. The reactor that we will model is like one of the Water Gas
Shift Reactors in the ammonia process (occurs after the reforming reactors), and at the considerably lower
temperature at which we shall be operating, we should expect to see mostly the second reaction and little of
the first. In fact, we won't see any, but if we were modeling this whole process, we would need to account
for the possible effects of both reactions in the shift reactors as well as the reforming reactors. Here, the
purpose is to demonstrate another kinetic form in HYSYS.

To start, open a new case in HYSYS and add a new fluid package. Choose Antoine for the Property
Package.

The example calls for an ideal system (we'd like to be able to compare to Matlab and Aspen
which we cannot do if differing thermodynamics are used). Unfortunately, HYSYS does not
have a package labeled ideal. However, according to Chapter 8 of RV1 (link only good from
AL-C126), the vapour pressure models (such as Antoine) are for essentially ideal systems.
Alternatively, you might try comparing those results to the results of an activity coefficient
model like Margules with its vapour model set to ideal and all of its binary coefficients (both
Aij's and Bij's) set to zero.

Switch to the Components Page and install the following components into the fliud package:

[Link] 1/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Return to the Simulation Basis Manager window and switch to the Reactions page. The first thing that
must be done is tell HYSYS which components are to be available for reaction, so push the button marked
Add Comps... . A window should open that looks like this.

Press Add This Group of Components and then close the window. Note that if you had not already
created the fluid package, you could simply have switched to the Library radio button in the add
components group and added the components as you had added them to the fluid package. In fact, when the
reaction is later associated with a specific fluid package, if the reaction components were not already listed
among the package's components, they would be added then.

Now on the Reactions page of the Simulation Basis Manager, press the Add Rxn... button.

This is the window that comes up. There are five forms of reaction that you can enter in HYSYS. To
know which ones to use you must know the form of the kinetic data you have. In this example we will be
looking at the last two forms of reaction. For a description of all of the different reaction types, see
Chapter 11 of RV1 (link only good from AL-C126). Reaction 1 is the reforming reaction and is in the form
that may be modeled easily by Langmuir-Hinshelwood. The Langmuir-Hinshelwood equation you may (or
may not) remember from CENG 390 is the form used for heterogeneous catalysis when you must worry
about products or inerts using up active sites on the solid catalyst. Reaction 2, the Water Gas Shift reaction,
uses the standard Kinetic (Rev Eqm) form, in which you know the forward reaction constant and use the

[Link] 2/14
4/22/24, 10:54 AM Plug Flow Reactor Example

equilibrium constant to get the reverse reaction constant. Below is all the
information we are given on the nature of the reactions.

r1 = DBED*km*e(-Ea1/(R*T))*P*ym/(1+Kh*P*yh)
r2 = DBED*A*e(-Ea2/(R*T))*(yc*yw - yd*yh/Keq2)

Variable Abbreviation Value Units


Bed Density DBED 1200 kg/m3
Pre-exponential Rate Constant km 5.517e6 mol/kg/s/atm
Activation Energy of Reaction 1 Ea1 1.849e8 J/mol
Gas Constant R 8.314 J/mol/K
Pressure P 30.0 atm
Absorption Parameter Kh 4.053 atm-1
Mole fraction of CH4 ym Varies Unitless
Mole fraction of H2 yh Varies Unitless
Mole fraction of CO yc Varies Unitless
Mole fraction of H2O yw Varies Unitless
Mole fraction of CO2 yd Varies Unitless
Pre-exponential Rate Constant A 4.95e8 mol/kg/s
Activation Energy of Reaction 2 Ea2 1.163e5 J/mol
Equilibrium Constant1 Keq2 e-4.946 + 4897/T Unitless (T in K)

As mentioned above, the first reaction is Langmuir-Hinshelwood, so highlight that in the Reactions
window and press Add Reaction. Fill out the form that appears with components and coefficients so that it
looks like the picture below then press the Basis tab to move to that page.

[Link] 3/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Note that unlike the second reaction (which has an equal number of moles on both sides and therefore
shouldn't), the first reaction contains pressure terms. You will note, however, that in each instance it is a
singular mole fraction multiplied by the overall pressure. This is equivalent to the partial pressure of the
species. Therefore you should change your basis to Partial Pres. You may leave the base component as
Methane (note the base component of a reaction must always be a reactant for that reaction, though it may
be the product of a different reaction).
The reaction phase, as you might guess, tells HYSYS in which phase the reaction is to take place. Your
options for this are:

Overall -- reaction occurs in all Phases


Vapour Phase -- reaction only occurs in the Vapour Phase.
Liquid Phase -- reaction only occurs in the Light Liquid Phase.
Aqueous Phase -- reaction only occurs in the Heavy Liquid Phase.
Combined Liquid -- reaction ocurs in all Liquid Phases.

Since we anticipate that these reactions will only take place at temperatures where the entire process stream
is gaseous, a reaction phase of either Vapour Phase or Overall is fine.
Now we want to enter the units for the rate and the basis. These units do not have to have anything in
common with the units you have set in your preferences. Instead they should correspond to the units used in
the kinetic equations you are provided with. If you look back above to the table of variables, you will see
that for everything to work out correctly, Pressure, and therefore Partial Pressure, must be in atm and the
rate of reaction must be in mole/m3/s (gotten by multiplying the units of DBED, km, and P; the exponential
term, the y term, and the denominator all being unitless). It is no problem to enter atm for the Basis Units.
The closest we can get for the Rate Units, however, is kgmole/m3-s. Thus we will have to adjust the rate
constant later to match.

When you are all finished the Basis Page should look like this:

On the Numerator Page, you shall begin filling in the information that will tell HYSYS the actual form
of the rate equation. If you have not already done so, I suggest that you push Kinetics Help, which will call
up the following window:

[Link] 4/14
4/22/24, 10:54 AM Plug Flow Reactor Example

The various basis functions in the reaction I have colored yellow and the parts that become the A's are in
red.

r1 = DBED*km*e(-Ea1/(R*T))*P*ym/(1+Kh*P*yh)

You can see that in this numerator there is no reverse reaction and that the forward reaction is first order in
methane and zero order in steam (the latter is a trifle suspect and indicates that some assumptions were
probably made about the ratio of steam to carbon and that the steam partial pressure was probably
incorporated into the rate constant). Therefore, in the components matrix, you should change it so that all
orders for both forward and reverse reactions are zero, except for the forward order of Methane which
should remain 1.
The Activation Energy, Ea1 = 1.849e8 J/mol, of the reaction may be entered as E of the forward reaction.
There are a couple of things to note at this point. The first is that HYSYS does not show you the units of the
Activation Energy it displays. If you would like to display it in the same units you entered (in this case,
J/mol), you must go into your preferences set and set the units of Molar Enthalpy to the units you would
like Activation Energy displayed in. The second item is that despite the fact that you entered 4 significant
digits, HYSYS only displays 2. Calculations are based on 4 digits, but you cannot see them unless you
export the number to a Spreadsheet (using the secondary mouse button, just drag the number from the
reaction window to a cell of the Spreadsheet Page of the Spreadsheet). Per my request, HYSYS has added
the ability to adjust this formatting to their wishlist for future versions. The same problem will result when
you enter in the Pre-exponential Factor.
The number you enter into A for the forward reaction, must be the product of DBED and km divided by
1000 (remember the units need to be in kgmole/m3/s, not gmole/m3/s), which is equal to 6620400. You may
leave all the reverse reaction info blank (we don't hae one so you don't need it). Your window should look
something like this:

[Link] 5/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Note that the status has changed to Ready. Do not believe it! Though HYSYS does not require it, we still
need to input the Denominator (and it would be kind of silly to use the Langmuir-Hinshelwood form if you
didn't have a Denominator).

Moving to the denominator page, the form of input changes slightly. It is now in matrix form, because
you have the ability to put in as many terms as you want into the denominator, each with differing A's, E's,
and bases to go with them. Enter Kh = 4.053 into A, set E equal to 0, and put a 1 under Hydrogen.

You are done entering the data for the first reaction. You may close this window. Go back to the little
Reactions window and add a Kinetics (Rev Eqm) reaction. If you closed the Reactions window you may
get it back by going to the Simulation Basis Manager and pushing Add Rxn on the Reactions Page.

Add the components and the stoiciometric coefficients like we did for the first reaction, then move to the
Basis Page.

[Link] 6/14
4/22/24, 10:54 AM Plug Flow Reactor Example

On the Basis Page, set the basis to Mole Fraction, the reaction phase to Overall or Vapour Phase, and the
reaction units to kgmole/m3-s.

Moving on to the Parameters Page, we see that this time the Kinetics Help is already on the page.
Below I have copied the second reaction rate equation. This time, as with the first reaction, the pre-
exponential factor is in red and the bases are in yellow.

r2 = DBED*A*e(-Ea2/(R*T))*(yc*yw - yd*yh/Keq2)

Note that this time, however, you are not asked for information on the orders of the components in the
forward and backward reaction. That is because this formulation of rate equation can only be used with
elementary reactions (remember those are reactions where the orders are equal to the coefficients). The
reason being that that is how Keq's are defined.
Enter A = 5.94e8 (DBED*A/1000, the thousand is for the units to come out) and E = 1.163e5 J/mol. For
the rest we need to use the expression in the chart for Keq2: Keq2 = e-4.946 + 4897/T. Note that the natural log
of this is what we want to enter into HYSYS. Therefore, A' = -4.946 and B' = 4897. IMPORTANT: the T

[Link] 7/14
4/22/24, 10:54 AM Plug Flow Reactor Example

used in their expression is always in Kelvin, no matter what your unit preferences are in. Luckily, this was
the form we were provided with.

You are now finished entering the second and final reaction. You may close this window and return to the
Reactions Page of the Simulation Basis Manager.

Now that you are done creating your reactions, you must add them to a reaction set. Reaction Sets are
groups of one or more reactions. They may be exported and imported. They must be attached to fluid
packages to be used in the flowsheets to which those fluid packages are associated. You can attach as many
as you like to a fluid package, and thus use different sets on different units within the flowsheets. Reaction
Sets may be used with reactors, columns, and separators. Conversion reactions cannot be placed in the same
set as other types of reaction. For more information on Reaction Sets see Section 11.4 in RV1 (link only
good from AL-C126).

To start, press the Add Set button in the Reaction Sets Group, add both of your newly created reactions to
the Active List. Note that the Global Rxn Set already contains the two reactions created, but practice is good
for you and this way you get to see the Reaction Set window.

[Link] 8/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Close the above window and look back at the Simulation Basis Manager, which should now look like this:

Make sure your reaction set is highlighted and press Add to FP. A window will pop up listing all the
available fluid packages (in this case, there should be only one). Select it and press
Add Set to Fluid Package. Your fluid package should now appear under Assoc. Fluid Pkgs when your
reaction set is selected.

You have now completed everything you need to do in the basis environment. You may now enter the
Simulation Enironment.

Begin by creating two material streams on the PFD. Name one Feed and the other Product. On Feed's
property view, set the temperature to 350o C, the pressure to 30 atm, and the total flowrate to 2110 moles/s
(7596 kgmoles/hr). Fill out the compositions as shown below.

[Link] 9/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Now, from either the Oblect Palette or the Unit Ops Page of the Workbook, add a Plug Flow
Reactor to the flowsheet and connect the Feed and Product streams (remember a shortcut for
toggling into and out of the connecting mode is to hold down <Ctrl>). Your PFD should look like
the one below.

Open the property view of the reactor. If you have already connected the streams to the reactor then the
Connections Page will be completed (note that unless you connect a heat stream, the reactor is assumed to
be adiabatic by HYSYS). You may move to the Parameters Page. The only thing you need to do there is
set the Pressure Drop to 0. Move two tabs over to the Dimensions Page. Fill in the settings as they are
below.

[Link] 10/14
4/22/24, 10:54 AM Plug Flow Reactor Example

These are the same dimensions as those used in the Aspen example (with the same correction in the
diameter for porosity that you can read about there).
The next page over is the Reactions Page. All you need to do there is enter your reaction set and HYSYS
will begin to integrate your reactor. It may take a little while, but when it's done, your window will look like
mine below and your PFD will look like the picture at the beginning of the example (all blue and happy
like).

[Link] 11/14
4/22/24, 10:54 AM Plug Flow Reactor Example

To see some of the results of your reactor, click on the Profiles button at the bottom of its Property View.

[Link] 12/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Above is one of the reactor profiles you can choose. It is important that you note -- it's easier to see in table
mode than graph mode -- that the data points at the ends say they are for .25 m and .95 m, not 0 m and 10 m
like you might expect. You have to remember that HYSYS integrates over the length of the reactor by
dividing it into 20 sub-volumes (that was the default on the Reactions Page of the Property View and we
left it at that). Ten meters divided into twenty groups means .5 m per division. The point that HYSYS
records is thus halfway between the divisions, but is valid in HYSYS for the whole sub-volume. Thus the
temperature, composition, etc. of the product stream contains the same values as 9.75 m down the reactor.
In other words, don't worry that HYSYS is leaving off its charts the first and last values. The first point
corresponds to the reactor inlet and the last point to the reactor outlet. Below are the results you should have
gotten for your Product stream.

[Link] 13/14
4/22/24, 10:54 AM Plug Flow Reactor Example

Compare these to the results we found in the Aspen simulation. Agreement is good in both the mole
fractions and the final temperature (off by about a degree). These results correspond to a thermodynamic
package of Antoine. If you were to go back and change this to Margules, set the vapour model to ideal, and
delete all the binary parameters, you would find that the results hardly change at all (the final temperature
changes by 0.2 degrees Celcius). Thus, it is likely that the difference between the HYSYS and Aspen
models are the result of column integration differences versus property package differences.

Return to the Reactions Page | Return to the HYSYS Page | Return to the CENG 403 homepage

[Link] 14/14

Common questions

Powered by AI

Inputting both the numerator and denominator in a Langmuir-Hinshelwood kinetics model is crucial because this type of kinetic model captures both the reaction rate expression and the adsorption phenomena that influence reaction rates. The numerator typically describes the reaction kinetics, while the denominator accounts for surface adsorption effects. Failing to provide both would neglect the competitive adsorption and inhibition elements that affect reaction speeds. Even if the status prematurely indicates readiness, excluding the denominator could lead to incorrect reaction rate predictions .

Modeling the Water Gas Shift Reaction as reversible is significant because in ammonia synthesis, the presence of CO and CO2 can poison the catalysts used to produce ammonia from hydrogen and nitrogen. CO is particularly problematic as it is harder to remove than CO2. Therefore, accurately modeling the equilibrium allows for better purification of the feedstock and ensures the efficiency of the synthesis process. By considering the reversibility, the simulation can more realistically predict concentrations, ensuring that system conditions favor the production of hydrogen while minimizing CO presence .

It is recommended to model both the reforming and Water Gas Shift reactions even at lower temperatures because, in a comprehensive simulation of an industrial process, both reactions can have downstream effects. At the operational conditions modeled, predominantly the Water Gas Shift reaction occurs; however, considering both reactions helps capture the transition behaviors and potential changes in conditions that could impact reaction dynamics. Additionally, even if one reaction is less significant at a given temperature range, subtle interactions or operational changes might elevate its importance or influence equilibrium and catalyst conditions .

The Reaction Set in HYSYS serves as a means to group and manage multiple reactions that need to be applied to a process simulation. These sets are attached to fluid packages to define which reactions take place within specific units like reactors, columns, and separators. Integration with fluid packages ensures that the reactions are considered when calculating phase equilibria, heat balances, and mass transfer operations within those units, enabling a coherent simulation framework .

The choice of fluid package and property package in HYSYS affects the accuracy of phase equilibria and thermodynamic calculations, impacting reaction kinetics and the overall process simulation. Antoine was chosen as the property package in the example to match ideal system conditions for comparison purposes with Matlab and Aspen, as it is based on ideal vapor pressure models. This choice helps ensure consistency across different software platforms when comparing results, as differing thermodynamic models can introduce variability in predictions .

In the Langmuir-Hinshelwood reaction formulation, pressure terms are critical because they represent the partial pressures of species, affecting the reaction rate. This formulation assumes the reaction rate depends on the coverage of reactants on the catalyst surface, modeled by their partial pressures rather than their concentrations. The reaction is driven by the mole fraction times the total pressure of the system, directly influencing kinetics by altering the available concentration of reactive species at the catalyst surface, thus affecting the overall rate of reaction .

Adjustments are made to the rate constant in the Langmuir-Hinshelwood reaction to convert the rate units from gmol/m³/s to kgmol/m³/s, which involves dividing the pre-exponential factor by 1000. This conversion accounts for the difference in units to ensure proper integration with the rest of the calculation framework that uses specific units for accuracy and consistency across thermodynamic and kinetic computations, particularly in scaling activation energy and reaction rate formulae .

Results from HYSYS simulations can be validated or compared with other modeling software like Aspen or Matlab by ensuring the use of consistent property packages and reaction setups. Discrepancies might arise due to differences in integration methods, thermodynamic models, or numerical precision. For example, a slight temperature discrepancy may emerge due to the way each software handles component interactions or integration steps over reactor length. Employing ideal system models, as in the choice of the Antoine package, helps align with other platforms’ ideal assumptions, minimizing such differences .

Setting all order components to zero, except for Methane, in the forward reaction suggests that the reaction is first order with respect to methane while zero order with regard to steam, implying assumptions about constant or excess steam presence. This could simplify the kinetic model by potentially ignoring steam influence on the rate, which might be invalid if the steam-to-carbon ratio changes or if interference by steam is non-negligible under varying conditions. This assumption reduces computational complexity but might limit reaction scale validity, especially in non-ideal or variable conditions .

HYSYS integrates a plug flow reactor by dividing the reactor into sub-volumes, allowing for discrete calculations at each point, which approximates the continuous nature of reaction progression through the reactor. Dividing into sub-volumes enables the simulation to account for changes in temperature, pressure, and composition along the reactor's length, thus providing a detailed profiling of the process. The use of 20 sub-volumes allows for an approximation that can track gradients and ensure that conditions like heat transfer and conversion rates are accurately modeled along the reactor .

You might also like