None Notebook

This notebook contains material from CBE30338; content is available on Github.

< 2.0 Process Modeling | Contents | Tag Index | 2.2 Gravity Drained Tank >

Open in Colab

Download

2.1 Process Variables

Of the many ways to characterize chemical processes, thermodynamics offers unique insights that are invaluable in the synthesis of effective control systems.

2.1.1 Intensive and Entensive Variables

One of the first distinctions to describe in the difference between extensive and intenstive process variables.

Intensive variables are those that do not depend on system size, such as concentration, temperature, or pressure. Examples of intensive variables: temperature ($T$), pressure ($P$), concentration ($C$), mole fraction, mass fraction, specific heat capacity, color, density, chemical potential.

Extensive variables are variables that scale proportionally system size such as total volume or mass. Examples of extensive variables include mass ($m$), moles ($n$), internal energy ($U$), enthalpy ($H$), entropy ($S$), Gibb's energy ($G$), heat capacity ($C_p$).

Roughly speaking, intensive variables tell us something about the state of the material making up the system of interest, while extensive variables describe the size of the system in various dimensions. The same distinction extends to process flows where extensive variables are given as rates rather than in static dimensions.

One test that you can use to classify a process variable as extensive or intensive is to ask what is the value of the variable when combining two identical subsystems. For example, given indentical subsystems $A$ and $B$ with masses $m_A$ and $m_B$, the mass of the combined system $m_{A+B}$ is

$$m_{A+B} = m_A + m_B$$

which demonstrates that mass is an extensive variable. The temperature of the combined systems is

$$T_{A+B} = T_A = T_B$$

which is the case for any intensive variable.

2.1.1.1 Exercises

  1. Why is heat capacity an extensive variable, whereas specific heat capacity is an intensive variable?

  2. A common version of the ideal gas law reads $$P V = n R T$$ Which variables are intensive? Which variables are extensive? How could you rewrite the ideal gas law in terms using only intensive variables? When would you prefer one version over the other?

  3. The kinetic energy of a mass $m$ moving at velocity $v$ is $$E. = \frac{1}{2}m v^2$$ Rewrite this equation using only intensive variables.

  4. The fuel efficiency of vehicles is often reported in liters of fuel consumed per 100 km traveled. Is this a satsifactory intensive variable for comparing vehicles of different sizes? Why or why not? Another measure is the brake specific fuel consumption (BSFC). What are the typical units?

  5. Consider a system comprised of batteries. The subsystems are combined by connecting the batteries in series. Is system voltage an intensive or extensive variable? What about the system current? How does this change if subsystems are combined by connecting the batteries in parallel?

2.1.2 Thermodynamic State

A fundamental postulate of thermodynamics is that a system consisting of a single phase is completely specified by the internal energy $U$, the volume $V$, and the amount (in moles) of each chemical species $n_1$, $n_2$, $\ldots$, $n_K$. This is a system of $K+2$ extensive variables for a system composed of $K$ chemical species.

The second law of thermodynamics specifies that every state also has another well-formulated extensive variable called entropy, $S$. Collectively $U$, $S$, $V$, and $n_1$, $n_2$, $\ldots$, $n_K$ form a redundant set of extensive variables where we can write one variable as a function of the others.

Suppose we write $U$ as a function of $S$, $V$, and $n_1$, $n_2$, $\ldots$, $n_K$. Then

$$U = U(S, V, n_1, n_2, \ldots, n_K)$$

The fact that $U$, $S$, $V$, and $n_1$, $n_2$, $\ldots$, $n_K$ are extensive variables has profound consequences.

2.1.2.1 Conjugate Variables

The total derivative of internal energy is constructed by taking the partial derivatives with respect to each of the independent extensive variables on which it depends.

$$dU = \left(\frac{\partial U}{\partial S}\right)_{V,\bf n} dS + \left(\frac{\partial U}{\partial V}\right)_{S,\bf n} dV + \sum_{k=1}^{K} \left(\frac{\partial U}{\partial n_k}\right)_{S,V,n_{j\ne k}} dn_k$$

Each of the terms is an extensive quantity contributing to a change in the internal energy.

2.1.2.1.1 Pressure/Volume

The second term in the total derivative $dU$

$$\left(\frac{\partial U}{\partial V}\right)_{S,\bf n} dV$$

describes the change in internal energy due to a change in system volume. If the system is expanding, it is experiencing a loss of internal energy by doing mechanical work dW on the surroundings. The amount of work is the product of system pressure times the change in volume, therefore

$$\left(\frac{\partial U}{\partial V}\right)_{S,\bf n} dV = -P dV$$

where pressure must correspond to term

$$ P = \left(\frac{\partial U}{\partial V}\right)_{S,\bf n} $$

What we see here is that pressure $P$ is an intensive conjugate variable corresponding to the extensive volume $V$.

2.1.2.1.2 Temperature/Entropy

The term

$$\left(\frac{\partial U}{\partial S}\right)_{V,\bf n} dS$$

describes the change in internal energy due to thermal energy from the surroundings. In the case the "displacement" is the change in system entropy. The corresponding conjugate "force" is temperature.

$$ T = \left(\frac{\partial U}{\partial S}\right)_{V,\bf n} $$

This formula actually serves as a thermodynamic definition of temperature.

2.1.2.1.3 Chemical Potential/Molar Amount

The terms in $dU$ come from an increase in the amount of species $k$ in the system. The change may be due to exchange of material with the surroundings or to chemical reaction. The corresponding conjugate variable is chemical potential defined as

$$ \mu_k = \left(\frac{\partial U}{\partial n_k}\right)_{S,V,n_{j\ne k}}$$

2.1.2.1.4 Conjugate Variables

The pairing of an extensive "displacement" variable with an intensive "force" variable appears throughout thermodynamics and chemical processes. Variables which share this relationship are called conjugate variables. In this case, the total derivative of internal energy can be expressed as

$$dU = \underbrace{\left(\frac{\partial U}{\partial S}\right)_{V,\bf n}}_{T} dS + \underbrace{\left(\frac{\partial U}{\partial V}\right)_{S,\bf n}}_{-P} dV + \sum_{k=1}^{K} \underbrace{\left(\frac{\partial U}{\partial n_k}\right)_{S,V,n_{j\ne k}}}_{\mu_k} dn_k $$

or

$$dU = T dS - P dV + \sum_{k=1}^{K} \mu_k dn_k$$

which is comprised of contributions due to the exchange of mechanical work and thermal energy with the surroundings, and with a change in amount of each species.

2.1.3 Homogeneous Equations

Computing the total derivative of internal energy $U$ using partial derivatives revealed the existence of intensive/extensive conjugate variable pairs. We can gain additional insights by more carefully investigating the behavior of extensive variables.

We start with a given system with specified values for all of the extensive variable. Then we look at a system where the only difference is that it is factor $\lambda$ times larger. By definition, each of the extensive variables will also a positive factor $\lambda$ times larger.

$$U, S, V, n_1, n_2, \ldots, n_K \stackrel{\lambda}{\longrightarrow} \lambda U, \lambda S, \lambda V, \lambda n_1, \lambda n_2, \ldots, \lambda n_K$$

Because $U$ is a function of the other variables, we can write a relationship between the two systems that is a function of the positive scaling parameter $\lambda$.

$$ U(\lambda S, \lambda V, \lambda n_1, \lambda n_2, \ldots, \lambda n_K) = \lambda U(S, V, n_1, n_2, \ldots, n_K)$$

Taking the partial derivative of both sides of this equation with respect to $\lambda$,

$$U(S, V, n_1, n_2, \ldots, n_K) = \left(\frac{\partial U}{\partial \lambda S}\right)_{\lambda V, \lambda \bf n} \frac{\partial \lambda S}{\partial \lambda} + \left(\frac{\partial U}{\partial \lambda V}\right)_{\lambda S, \lambda \bf n} \frac{\partial \lambda V}{\partial \lambda} + \sum_{k=1}^{K} \left(\frac{\partial U}{\partial \lambda n_k}\right)_{\lambda S,\lambda V, \lambda n_{j\ne k}} \frac{\partial \lambda n_k}{\partial \lambda} $$

From the chain rule we get

$$U(S, V, n_1, n_2, \ldots, n_K) = \left(\frac{\partial U}{\partial \lambda S}\right)_{\lambda V, \lambda \bf n} S + \left(\frac{\partial U}{\partial \lambda V}\right)_{\lambda S, \lambda \bf n} V + \sum_{k=1}^{K} \left(\frac{\partial U}{\partial \lambda n_k}\right)_{\lambda S,\lambda V, \lambda n_{j\ne k}} n_k $$

Since this has to hold for any value of the parameter $\lambda$, we choose to set $\lambda = 1$

$$U(S, V, n_1, n_2, \ldots, n_K) = \left(\frac{\partial U}{\partial S}\right)_{V,\bf n} S + \left(\frac{\partial U}{\partial V}\right)_{S,\bf n} V + \sum_{k=1}^{K} \left(\frac{\partial U}{\partial n_k}\right)_{S,V,n_{j\ne k}} n_k $$

Finally, we set the partial derivatives equal to the intensive variables identified above

$$U = T S - P V + \sum_{k=1}^{K} \mu_k n_k $$

This shows

< 2.0 Process Modeling | Contents | Tag Index | 2.2 Gravity Drained Tank >

Open in Colab

Download