RusAtom
youtube
РУС
Home Articles Development of perfect mixing reactor model in REPEAT software
08.06.2023
Development of perfect mixing reactor model in REPEAT software

The industry uses reactors to mix reacting components. In order to ensure an ideal reaction it is often necessary to maintain a certain temperature. The reaction rate and, consequently, the heat release (absorption) rate in the reactor depends on the mixture temperature. This paper describes a nonlinear model of a perfect mixing reactor, taking into account the temperature dependence of reactivity. The simulation was performed by REPEAT software. The resulting model makes it possible to determine the temperature and concentration of substance at the reactor outlet. Equipping a model with a PI controller made it possible to control the mixture temperature within a suitable range.


Input information for model building

This article describes a simulation of a perfect mixing reactor image001.png in REPEAT software.

Perfect mixing (full mixing) reactors are devices which instantly and uniformly mix the flows of reactants throughout the reaction volume. It means that the composition and temperature of the reaction mixture in such device can be assumed to be the same throughout its entire volume. A circuit diagram of a simulated perfect mixing device is shown in Figure 1.

image002.png

Отвод тепла водяной рубашкой -Heat removal by water jacket

Figure 1. Circuit diagram of a perfect mixing reactor

 

The following designations are used in this figure:

image003.png–  inlet flow temperature;

image004.png– outgoing mixture temperature;

image005.png– cooling medium temperature;

image006.png– concentration of substance A in incoming flow;

image007.png– concentration of substance A in outgoing mixture;

image008.png– volumetric flow rate of incoming flow.

 Applications of perfect mixing reactors are listed below:

Applications:

- microbiological industry;
- fermentation;
- water treatment systems.

Manufacturing:

- reagents;
- organic dyes;
- pharmaceuticals.


Simulation of perfect mixing reactor

Let’s write down the molar balance of the components:

image009.png

where image010.png is the number of moles of a component;

image011.png– a generation rate.

Let us transform the resulting equation:

image012.png

Since image013.png:

image014.png

Divide both parts into image015.png and obtain the differential equation of change in substance concentration:

image016.png

Let’s write down the energy balance equation:

image017.png

Where image018.png is the heat released in the reaction per unit of time;

image019.png is the rate of heat removal by the cooling system.

Since image013.png , image020.png and image021.png:

image022.png

Let’s divide both parts into image023.png and get the differential equation of the change in the reactor mixture output temperature:

image024.png

Thus, a continuous mixing reactor with a cooling medium can be described by the following differential equations system:

image025.png

where:

image026.png– concentration of substance A in outgoing mixture;

image008.png– volume flow rate of incoming flow;

image027.png – volume of reactor mixture;

image028.png – concentration of substance A in incoming flow;

image029.png– Arrhenius equation;

image004.png– outgoing mixture temperature;

image003.png– inlet flow temperature;

image030.png– Boltzmann constant;

image031.png– heat released in reaction per mole;

image032.png– density of reactor mixture;

image033.png– heat capacity of reactor mixture;

image034.png– activation energy per mole;

image035.png– pre-exponential non-thermal factor;

image036.png– total heat transfer factor multiplied by tank area;

image005.png– cooling medium temperature.

Let’s build the reactor model in REPEAT software using the basic blocks (see Figure 2) according to the differential equations above.

image037.png

Figure 2. Nonlinear perfect mixing reactor model in REPEAT software

The input data are shown below (see Table 1).

Table 1 Initial data

Parameter

Unit of measurement

Values used for model debugging

Volume flow rate of incoming flow, image038.png

image039.png

1

Volume of reactor mixture, image040.png

image041.png

1

Concentration of substance A in incoming flow, image042.png

image043.png

10

Incoming flow temperature, image044.png

image045.png

300

Boltzmann constant, image046.png

image047.png

1.985875

Heat released in reaction per mole, image048.png

image049.png

-5960

Density of reactor mixture,image050.png

image051.png

1000

Heat capacity of reactor mixture, image052.png

image053.png

0.5

Activation energy per mole, image054.png

image049.png

11843

Pre-exponential non-thermal factor, image055.png

image056.png

34930800

Total heat transfer factor multiplied by tank area, image057.png

image058.png

150

 image059.png

Figure 3. Transient process of establishing the concentration of substance A at the outlet of block No. 8

image060.png

Figure 4. Transient process of establishing the temperature of substance A at the outlet of block No. 27

Adding of a PI controller

In order to control the concentration of substances and to improve the quality of transient process it is necessary to add a PI controller. The diagram with an added controller (block No. 45) is shown in Figure 5.

Table 2. Parameters of PI controller


Parameter

Value

image061.png

-15

image062.png

0.1


Adding of a limiter

In fact, the diagram should be additionally equipped with a limiter due to the need to limit the cooling medium temperature, since the PI controller will change it until the concentration reaches a required value, if possible. In the diagram in Figure 5 the limiter is represented as block No. 44.

The upper limit is the temperature at PMR inlet with a certain margin selected by the user.

The lower limit is a minimum possible temperature of the cooling system cooling medium.

 image063.png

Figure 5. Nonlinear model of perfect mixing reactor with a PI controller (block No. 45) of substance concentration and a limiter (block No. 44)

 

Simulation results

As a result of simulation of a perfect mixing reactor in REPEAT software, the following calculations of temperature and concentration values are obtained:

image064.png

image065.png

In turn, the theoretically calculated results are:

image066.png

image067.png

Thus, the simulation error is less than 1%, which is quite acceptable for this type of simulation. The performance of the perfect mixing reactor model fully corresponds to the expected results. The obtained values make it possible to verify that REPEAT software allows to perform calculations for this type of industrial plants with a required accuracy.