import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import linregress
= np.array([0.00043, 0.00103, 0.00180, 0.00355, 0.00717])
k = np.array([313.0, 319.0, 323.0, 328.0, 333.0])
T
= 8.314 # J/mol K
R
= np.log(k)
ln_k = 1 / T
inv_T
= linregress(inv_T, ln_k)
slope, intercept, r_value, p_value, std_err = slope * inv_T + intercept
line
= -slope*R/1000 # (kJ/mol)
activation_energy
# Plot
='blue', label='Data points')
plt.scatter(inv_T, ln_k, color='red', label='Fit line')
plt.plot(inv_T, line, color
# Labels and title
'1/T (1/K)')
plt.xlabel('ln(k)')
plt.ylabel('Linear Fit of ln(k) vs 1/T')
plt.title(
plt.legend()
= f'Slope: {slope:.5e}'
slope_text = f'Intercept: {intercept:.5e}'
intercept_text = f'Activation Energy: {activation_energy:.2f} kJ/mol'
e_text f'{slope_text}\n{intercept_text}\n{e_text}', xy=(0.05, 0.20), xycoords='axes fraction', verticalalignment='top')
plt.annotate(
# Show plot
plt.show()
In class activity: Rate law and stoichiometry
Lecture notes for chemical reaction engineering
Relative rates
For the reaction , calculate rates of reaction of B and C if
SolutionRate of disappearance of B = = 5
Rate of production of C = = 15
is being formed at a rate of 4 in the reaction . Calculate the rate of consumption of , and .
SolutionRate of disappearance of = = 4
Rate of disappearance of = = 2
Rate law
Determine the rate law for the reaction described in each of the cases below involving species A, B, and C. The rate laws should be elementary as written for reactions that are either of the form or .
- The units of the specific reaction rate are .
- The units of the specific reaction rate are .
- The units of the specific reaction rate are .
- The units of a nonelementary reaction rate are .
Second order reaction:
Second order gas phase reaction
First order reaction:
Second order non elementary reaction
Rate law for reversible reaction
For the reaction
determine the rate expression for disappearance of benzene (). Assume both the forward and reverse reactions are elementary.
We can write the reactions as two elementary reactions
Net rate
Calculate the activation energy
The decomposition of benzene diazonium chloride to give chlorobenzene and nitrogen
follows first order kinetics. The rate constant data at different temperatures is given in Table 1. Calculate the activation energy.
Linearize by taking log on both sides
The plot of vs. is linear with a slope of
Calculate the equilibrium conversion for gas phase reaction,
Consider the following elementary reaction with = 20 and = 0.2 . Find for both a batch reactor.
Reaction:
Rate law:
Rate law:
At equilibrium
stoichiometry:
Setting up stoichiometric table
Species | Initial | Change | Remaining |
---|---|---|---|
A | |||
B | 0 | ||
Total |
Constant Volume:
Solving:
Equilibrium conversion:
Repeat the calculations above for a flow reactor
With the flow reactor, we will need to consider changes in molar flow rate as this is a gas phase reaction.
Rate law:
At equilibrium
stoichiometry:
Stoichiometric table is same as the batch system with moles replaced by molar flow rates.
Species | Entering | Change | Exiting |
---|---|---|---|
A | |||
B | 0 | ||
Total |
Solving for :
Equilibrium conversion:
Saponification reaction
The saponification for the formation of soap is:
Letting X represent the conversion of NaOH set up a stoichiometric table expressing the concentration of each species in terms of the initial concentration of NaOH and the conversion of X.
Species | Symbol | Initially | Change | Remaining | Concentration |
---|---|---|---|---|---|
NaOH | A | ||||
B | |||||
C | |||||
D | |||||
Water (inert) | I | — | |||
Totals | 0 |
Determining for a Gas-Phase Reaction
A mixture Of 28% and 72% air is charged to a flow reactor in which is oxidized.
First, set up a stoichiometric table using only the symbols (i.e., ).
Next, prepare a second table evaluating the species concentrations as a function of conversion for the case when the total pressure is 1485 kPa (14.7 atm) and the temperature is constant at 227 °C.
Evaluate the parameters and make a plot of each of the concentrations , , as a function of conversion
Take as basis of calculation
Stoichiometric table
Species | Symbol | Entering | Change | Leaving |
---|---|---|---|---|
A | ||||
B | ||||
C | 0 | |||
I | — | |||
Totals |
Concentration:
volumetric flow rate:
Neglecting pressure drop in the reaction, and for isothermal reactions:
Similarly for B
Initially, 72% of the total number of moles is air containing 21% and 79% , along with 28% .
Substituting for and in the species concentrations:
import numpy as np
import matplotlib.pyplot as plt
# Constants
= 0.1 # mol/dm^3
C_A0 = -0.14 # unitless
epsilon = 0.54 # unitless
Theta_B = 2.03 # unitless
Theta_I
# Conversion range from 0 to 1 with 0.25 interval
= np.arange(0, 1.01, 0.25)
X_values
# Concentration calculations
def calculate_concentrations(X, C_A0, epsilon, Theta_B, Theta_I):
= C_A0 * ((1 - X)/(1 - epsilon * X))
C_A = C_A0 * ((Theta_B - 0.5 * X) / (1 + epsilon * X))
C_B = C_A0 * X / (1 + epsilon * X)
C_C = C_A0 * Theta_I / (1 + epsilon * X)
C_I return C_A, C_B, C_C, C_I
# Calculate concentrations for each X value
= [], [], [], []
C_A_values, C_B_values, C_C_values, C_I_values for X in X_values:
= calculate_concentrations(X, C_A0, epsilon, Theta_B, Theta_I)
C_A, C_B, C_C, C_I
C_A_values.append(C_A)
C_B_values.append(C_B)
C_C_values.append(C_C)
C_I_values.append(C_I)
# Plotting the results
='o', label=r'$C_A$')
plt.plot(X_values, C_A_values, marker='o', label=r'$C_B$')
plt.plot(X_values, C_B_values, marker='s', label=r'$C_C$')
plt.plot(X_values, C_C_values, marker='^', label=r'$C_I$')
plt.plot(X_values, C_I_values, marker
'Conversion, $X$')
plt.xlabel('Concentration ($mol/dm^3$)')
plt.ylabel('Concentration as a Function of Conversion')
plt.title(
plt.legend()True)
plt.grid( plt.show()
Note that Concentration of (C_I)$ changes with conversion even though nitrogen does not participate in the reaction.
Liquid phase first order reaction
Orthonitroanaline (an important intermediate in dyes—called fast orange) is formed from the reaction of orthonitrochlorobenzene (ONCB) and aqueous ammonia. The liquid-phase reaction is first order in both ONCB and ammonia with at with . The initial entering concentrations of ONCB and ammonia are and , respectively.
Set up a stoichiometric table for this reaction for a flow system.
Write the rate law for the rate of disappearance of ONCB in terms of concentration.
Explain how parts (a) and (b) would be different for a batch system.
Write solely as a function of conversion. = ______
What is the initial rate of reaction (X = 0)
at ? = ______
at ? = ______
at ? = ______
What is the rate of reaction when X = 0.90
at ? = ______
at ? = ______
at ? = ______
What would be the corresponding CSTR reactor volume at to achieve 90% conversion and at for a feed rate of
at ? V = ______
at ? V = ______
k | 0.0017 |
E | 11273 |
$C_A | 1.8 |
$C_B | 6.6 |
- Stoichiometric table for flow reactor
Species | Entering | Change | Exiting |
---|---|---|---|
A | |||
B | |||
C | 0 | ||
D | 0 |
For batch system
The stoichiometric table needs to be set up in terms of N instead of F. The reaction rate expression would remain same.
- as a function of conversion
- Initial rates of reaction
k at different temperatures
T (°C) | k |
---|---|
25 (298K) | |
188 (461K) | 0.0017 |
288 (561K) | 0.152 |
- At 188 °C
At 25 °C:
At 288 °C: 0.1806
- rates of reaction at
At 188 °C: 0.00103
At 25 °C:
At 288 °C: 0.0092
- CSTR Volume
V at 25 °C
V = 2634.1
V at 288 °C: 352
Citation
@online{utikar2024,
author = {Utikar, Ranjeet},
title = {In Class Activity: {Rate} Law and Stoichiometry},
date = {2024-03-03},
url = {https://cre.smilelab.dev/content/notes/03-rate-law-and-stoichiometry/in-class-activities.html},
langid = {en}
}