You are on page 1of 22

Chemical Engineering Science 155 (2016) 482503

Contents lists available at ScienceDirect

Chemical Engineering Science


journal homepage: www.elsevier.com/locate/ces

Analysis of the state equations of a real gas at high pressures with the
virial coefcients obtained from controlled chaotic oscillations
Manuel F. Prez-Polo a,n, Manuel Prez-Molina a, Elena Fernndez Var b, Javier Gil Chica a
a
Departamento de Fsica, Ingeniera de Sistemas y Teora de la Seal, Escuela Politcnica Superior, Universidad de Alicante, Spain
b
Departamento de ptica, Campus de San Vicente, Alicante, Spain

H I G H L I G H T S

 Thermal-mechanical device which can be used to investigate any state equation.


 Chaotic behavior obtained through harmonic variation of the rst Lyapunov value.
 Estimation of an arbitrary number of virial coefcients from the chaotic data.
 Pressure errors of several state equations expanded in terms of virial coefcients.
 Validation of the model with another route to chaos and the fugacity coefcient.

art ic l e i nf o a b s t r a c t

Article history: This paper investigates several cubic and non-cubic state equations of real gases at high pressures by
Received 20 May 2016 using the virial coefcients estimated from chaotic oscillations with a mechanical-thermal device. The
Received in revised form mechanical part is formed by a cylinder with a piston whose motion is limited by means of a nonlinear
29 August 2016
spring, a damper and a nonlinear control force to decouple the mechanical and thermal subsystems. To
Accepted 2 September 2016
Available online 4 September 2016
maintain the gas temperature approximately constant, a linear PI controller and a nonlinear control law
which manipulates the ow rate of two heating coils inside the cylinder are added. The stability of the
Keywords: mechanical subsystem is analyzed through the rst Lyapunov value, whose harmonic variation leads to
State equations chaotic behavior with great pressures and an almost constant temperature. The chaotic simulations for
First Lyapunov value
nonpolar gases are treated like experimental data to obtain an arbitrary number of virial coefcients
Chaotic oscillations
which reproduce the state equation in a prescribed pressure range. The validity of the proposed device
Virial coefcients
Linear and nonlinear control has been corroborated by using another alternative route to chaos and calculating the fugacity coef-
cient. The analytical calculations are in good agreement with the numerical simulations.
& 2016 Elsevier Ltd. All rights reserved.

1. Introduction at relatively low pressures (Mason and Spurling, 1968; Annamalai


and Puri, 2002), for which the two rst coefcients provide the
In the analysis and design of chemical processes, the pressure required precision for the applications. On the other hand, one of
of a real gas can be described as the sum of the pressure of an ideal the advantages of the virial expansion is that it can be easily ob-
one plus a series expansion in terms of densities or specic vo- tained for a gaseous mixture through simple combining rules from
lumes. The coefcients of such expansion are known as virial the virial coefcients of each of the gases present in the mixture
coefcients, which only depend on the gas temperature and the (Prausnitz et al., 2000; Poling et al., 2001).
potential interaction energy between the molecules (Prausnitz In this work we analyze the behavior and the precision of
et al., 2000; Goodwin et al., 2010). For most uids, only the rst several cubic and non-cubic state equations when these equations
and second virial coefcients are experimentally known (Dymond are expanded in terms of virial coefcients. Reviews of such
and Smith, 1980; Dymond et al., 2002). equations with and without translate volume can be found in
A state equation based on the virial expansion has been applied Poling et al. (2001), Abbot (1979), Tsonopoulos and Heidman
(1985), Wei and Sadus (2000) and Valderrama (2003) showing
n
their advantages and disadvantages. The considered cubic equa-
Corresponding author.
E-mail addresses: manolo@dsts.ua.es (M.F. Prez-Polo),
tions in this paper are: i) Redlich-Wong (RK) (Redlich and Kwong,
ma_perez_m@hotmail.com (M. Prez-Molina), elena.fernandez@ua.es (E.F. Var), 1948), ii) Soave_Redlich-Kwong (SRK) (Soave, 1972), iii) Peng-Ro-
gil@dsts.ua.es (J.G. Chica). binson (PR) (Peng and Robinson, 1976), iv) Peng-Robinson with

http://dx.doi.org/10.1016/j.ces.2016.09.005
0009-2509/& 2016 Elsevier Ltd. All rights reserved.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 483

translate volume (Tassios, 1993) and v) Van der Waals with Holmes, 1983; Wiggins, 2000; Prez-Polo and Prez-Molina, 2014).
translate volume (VDWt) (Tassios, 1993; Soave, 1984). The con- With the harmonic variation of the rst Lyapunov value between
sidered non-cubic equations are: vi) Beattie-Bridgeman (BB) state negative values (stable weak focus) and positive values (unstable
equation (Beattie and Bridgeman, 1927; Su and Chang, 1946; weak focus) the piston position jumps from one weak focus to the
Hougen et al., 1954) and vii) Empirical state equation of high other one, thus providing a route to chaotic oscillations. Further-
precision (HP) (Goodwin et al., 2010; Span, 2000; Gmehling et al., more, the chaotic behavior is characterized by a great excursion in
2012). All the previous state equations are analyzed by using the pressure values, whereas the gas temperature remains ap-
methane, nitrogen, oxygen and argon. proximately constant because of the control system.
On the other hand, the device considered in this paper is a The chaotic behavior is exploited to obtain a dense set of si-
mechanical-thermal system formed by an adiabatic cylinder en- mulation data which allow estimating the virial coefcients. In
closing a real gas and a mobile piston moving along the cylinder order to assure the presence of chaos, the sensitive dependence,
axis. The piston is anchored to the cylinder through a nonlinear all the Lyapunov exponents and the spectral power density have
spring and a viscous damper. The thermal subsystem is formed by been calculated, thus corroborating also the accuracy of the si-
two heating coils inside the cylinder with the purpose of trans- mulation results (Guckenheimer and Holmes, 1983; Wiggins,
ferring heat to the gas. An external control force acts on the piston, 2000; Lichtenberg and Lieberman, 1992). By using polynomial
thus balancing all the forces to maintain the piston motion within least square adjustment, the pressures, temperatures and specic
the cylinder limits as well for decoupling the mechanical and volumes of the gas, a desired number of virial coefcients are
thermal subsystems. Two additional control devices are applied to obtained for each state equation.
the thermal subsystem: one is a linear PI controller and the other The pressure errors between the virial approximation and the
is a nonlinear control law for the heat supply by the helical coils by exact equation have been compared, which has allowed estimat-
manipulating their ow rate. The purpose of these control devices ing an admissible range of pressures for each state equation taking
is to maintain the gas temperature approximately constant (Al- the one of high precision (HP) as a reference. It should be em-
bertos and Sala, 2004; Prez-Molina et al., 2016). phasized that the methodology presented in this work admits the
The parameter values and the control laws have been chosen to use of other state equations, such as the one of reference (Val-
obtain three equilibrium points. One of them is always a saddle derrama, 1990). Finally, a discussion regarding the applicability of
and the other two are weak focuses, whose stability is analyzed by the proposed model is presented taking into account another
calculating the sign of the rst Lyapunov value (Guckenheimer and route to chaos and the fugacity coefcient of the methane.

Y e(t) = Ts T(t)
T(t) _
TT1 TIC
x(t) c/2 xp(t) Thermal
+
Control
x1(t) = xp(t) d1 d1 Loop 1
Ts
B Fv(t)
T(t) Q(t)
S C CV1
F(t) + Fs K1xp(t) + K2xp3(t)
M FR
V(t) T
m
C
P(t) b Q1(t) 1 CV2
GAS
O X B Fv1(t)
c
L

FT
PT TT3 TT2
T(t)
Ts + _
P(t) T(t) Ks.

STATE EQUATION
e(t) = Ts T(t) Thermal
OF THE GAS + + Control
V(t) Loop 2
f(t)
Control force on the
mobile piston
K1, K2; K, P1s

Fig. 1. Layout of the mobile piston inside a cylinder with nonlinear spring, damper, heating coils (C, C1), loop 1 with a PI controller, nonlinear control loop 2 and control force
F(t). The parameter values are: L 1 m, dc 0.1 m, S 7.8540.10  3 m2, d1 0.1 m, c 0.02 m, d 0.98 m, Vse 5.6341.10  3 m3, Ks 7.5020.108 J/m3,
9.7262.10  11 m3 mole K/J2, 1.3333.10  10 mol m3/J s, Kp 1.8268.10  9 m3/s K, fc 0.001, m 1.1939 kg, K1 311.64 N/m, K2 449.84 N/m3, K 680.14 N/m2,
P1s 5287.7 N/m2, b 1 N m/s and Qs 6734.6 J/s. TT, FT and PT denote the temperature, ow and pressure transmitters respectively, whereas TIC is an indicator PI controller.
484 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

2. Description of the system and mathematical model heating coils and the spring-damper respectively, and Va is a xed
accessible gas volume between the bumpers and the end of the
The system is formed by a closed cylinder enclosing a nonpolar cylinder. It should be noted that xp(t) and x1(t) represent the piston
real gas (e.g. nitrogen, argon, methane etc.) to which a mobile position with respect to the end of the cylinder and the bumpers B
piston of mass m is anchored by means of a nonlinear spring and a respectively. Furthermore, the piston motion is limited between
damper. The scheme of the device including the control loops is d L  c/2 and d1. According to Eqs. (3) and (2) can be written in
shown in Fig. 1. In the control loop 1, the gas temperature T(t) is term of the volume V(t) as:
measured, it is transmitted by the TT1 device and compared with
the desired gas temperature Ts to generate the error signal e(t) 2 V V ( t)
m d V ( t) d e
Ts  T(t). Such error signal actuates on a TIC temperature controller = K1
d1
S dt 2 S
to generate a proportional plus integral (PI) control signal on the
CV1 control valve. The purpose of this control loop 1 is to maintain V V ( t) 3
+ K2 d d1
e
the gas temperature as constant as possible with only small os-
S
cillations around the temperature set point Ts. The control loop 2 is

nonlinear and has two input signals which are proportional to e(t)
and the ow rate Fv(t), which is measured and transmitted by a FT +b
d d
( Ve V ( t )
S ) d1

+ F ( t ) SP ( t )
device. The sum of these signals are transmitted to the control dt (4)
valve CV2 through a nonlinear device dened by the function f(t). Introducing the nomenclature:
On the other hand, the aim of the control loop 2 is to stabilize the
thermal subsystem. V + Vsd + Va
The bumpers B provide a non-accessible volume for the piston
d1 = d1 c
S
( )
S d1 d1 = Vc + Vsd + VaV ( t )

where there are two helical coils C and C1 with the goal of heating = V ( t ) Vs; Vse = Vs Sd1P ( t ) = P ( t ) Ps; F ( t ) = F ( t ) Fs (5)
the gas. It is assumed that the net force of the spring for the dis-
tance d1 is zero. In addition, such spring is considered to be where Vs is a steady-state gas volume dened as Vs = Sxpe being
nonlinear with coefcients K1 and K2, whereas the damper is as- xpe an arbitrary piston position with respect to the end of the cy-
sumed to be linear with damping coefcient b. The external con- linder (see Fig. 1), whereas Fs and Ps are steady-state values for the
trol force F0 (t) Fs is applied to ensure a piston motion within the force and pressure respectively. The model Eqs. (4) and (5) can be
cylinder limits and to obtain a desired gas behavior. The parameter simplied assuming that the volumes Vc, Vsd and Va are chosen so
values are indicated in the legend of Fig. 1, and their physical that d1 = 0 and thus Vse Vs. It should be remarked that the steady-
meaning is discussed in Prez-Molina et al. (2016). Since the de- state volume Vs depends on the values for K1, K2, Fs and Ps, which
vice is formed by a coupled mechanical-thermal subsystem, the are chosen to obtain three equilibrium points for the mobile piston
model equations and the equilibrium points are discussed sepa- as it will be analyzed later. Substituting Eq. (5) into Eq. (4), the
rately for each subsystem as follows. motion equation of the mobile piston can be written as:

d2V (t ) K K 3 b dV (t )
2.1. Mechanical subsystem
2
= 1 V (t ) + Vse 22 V (t ) + Vse
dt m mS m dt
The forces and due to the nonlinear spring (Fs(t)) and the S2 S
+ P (t ) + Ps F (t ) + Fs
damper (Fd(t)) are: m m (6)

dx1( t ) Taking into account that the gas may reach a very high pres-
Fs( t ) = K1x1( t ) + K2x12( t ); Fd( t ) = b ; x1( t ) = x p( t ) d1 sure, the use of only the spring and damper to balance the piston
dt (1)
would require very high values for K1, K2 and b, which would lead
where Fs(t) and Fd(t) are zero when x1(t)d1. The Newton motion to prohibitive values for the oscillation frequencies of the piston
equation of the piston as function of the coordinate x(t) referred to ( K1/m). Consequently, to achieve a large range of pressures as
the OXY reference system (see Fig. 1) can be written as:
well as the possibility of studying different gas behaviors, it is
d2x( t ) 3
necessary to ensure that the piston has several equilibrium points.
m = F ( t ) + K1 x p( t ) d1 + K2 x p( t ) d1 For this purpose, we dene the force F0 (t) Fs of Eq. (6) by in-
dt 2
corporating three terms as follows:
d x p( t ) d1
SP ( t ) S2 S2
+b
(2) K 2
dt P ( t ) + Ps V ( t ) + Vse + P1s
2
m S m
where S is the piston cross section. In accordance with the re-
S dV ( t )
ference system shown in Fig. 1, it is deduced that the gas volume V
F ( t ) + Fs = f p
b
(t) and the mobile piston displacement x(t) can be written as a m m dt
( t )
function of an effective volume Ve as: dV
+C ( t ) V ( t ) + kL
dt (7)
L = x( t ) + c /2 + x p( t ) x p( t ) = L c /2 x( t )

When Eq. (7) is substituted into Eq. (6), the rst term
d = L c /2; x p( t ) = d x( t ); x1( t ) = x p( t ) d1
S2/m P ( t ) + Ps cancels the gas pressure, and the values of K and
( )
V (t ) = Sx p( t ) ( Vc + Vsd + Va) = Ve Sx( t ) x(t ) P1s are chosen in accordance with K1 and K2 to obtain three

V V (t ) equilibrium points in steady state. In the second term, fp is a
= e
S variable factor such that the friction effect is considered when

Ve V (t ) fp 0 and removed when fp 1. The third term is formed by a
Ve = Sd ( Vc + Vsd + Va); x p( t ) = d nonlinear function with two adjustable parameters C(t) and kL
S (3)
whose meaning will be claried in the analysis of the chaotic
where V(t) is the gas volume, Vc and Vsd are the volumes of the motion. Substituting Eq. (7) into Eq. (6) it follows that:
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 485

d2V ( t ) Qs Qs
K1 K2 3
= V ( t ) + Vse 2
V ( t ) + Vse f ( t ) = cv( t ) 1


dt 2
m mS Q ( t ) KsQ ( t ) (15)


dV ( t )
(
1 fp ) dt
where Qs is the steady-state value of Q(t) and Ts is the desired gas
temperature. Substituting Eq. (15) into Eq. (14) it follows that:
K 2 S2 dV ( t )

+ V ( t ) + Vse + P1s + C ( t ) V ( t ) + kL dT ( t ) Ks Ks Q ( t) Q s
mS m dt (8) = Q ( t ) Q s T ( t ) Ts +
dt n n ncv( t )
T ( t ) Ts Qs T ( t ) P dV ( t )
+ Ks +
2.2. Thermal subsystem n Q ( T ) cv( t ) ncv( t ) T v dt (16)

Assuming that the mechanical work done on the gas is re- To simplify the system analysis, it is convenient to introduce
versible, the most general expression for the rst principle of the variables T ( t ) = T ( t ) Ts; Q( t ) = Q ( t ) Q s so that Eqs. (12)
Thermodynamics is (Annamalai and Puri, 2002; Hougen et al., and (16) can be rewritten as:
1954): dT ( t ) Ks Ks Q( t )
= T ( t ) + Q( t ) +
dT ( t ) P dV ( t ) dV ( t ) dt n n ncv( t )
ncv( t ) + T P = Q ( t ) + Q 1( t ) P
dt T v dt dt (9) 1 Q s T ( t )
+ Ks +
cv( t ) n Q( t ) + Q s
where n is the number of gas moles, cv(t) is the gas specic heat at
constant volume, V is the gas volume, v V/n is the molar volume, T ( t ) + T P dV ( t )
s

P and T are the gas pressure and temperature respectively and Q(t), ncv( t ) T v dt (17)
Q1(t) are the reversible heat uxes supplied by the heating coils
(see Fig. 1). The specic heat at constant volume cv will be calcu- dQ( t ) dT ( t ) KpKs
lated from the specic heat at constant low pressure cp*( T ) (which = KpKs T ( t )
dt dt i (18)
is temperature dependent) as:
Eqs. (8), (17) and (18) constitute the mathematical model of the
v 2P
cv = cp*( T ) R + T 2 dv system. It should be noticed that the particular choice of f(t) given
T v (10) in Eq. (15) implies that the system dened by Eqs. (17) and (18)
has an equilibrium point (Ts,Qs) which is a stable focus. On the
where R is the perfect gas constant. The heat ux generated in coil other hand, the PI controller dened by Eq. (11) will keep the gas
C (see Fig. 1) is given by: temperature approximately constant around the set point tem-
t perature Ts.
1 Ts T ( )d
Q ( t ) = KsFv( t ); Fv( t ) = Kp Ts T ( t ) +
i
0 (11)
2.3. Equilibrium points of the mechanical and thermal subsystems
where Ks is the heating coil constant. See Prez-Molina et al.
(2016)) for details. The ow rate Fv(t) is dened by means of the In this subsection we shall corroborate that the mechanical
equation of a PI controller (Albertos and Sala, 2004; Prez-Molina subsystem dened by Eq. (8) with the parameter values indicated
et al., 2016) with proportional constant Kp and reset time i. From in the legend of Fig. 1 has three equilibrium points. Taking into
Eq. (11) it is deduced that: account that d1 = 0, the volume V0 (t)Vse which appears in Eq. (8)
can be written as:
dQ ( t ) dT ( t ) KpKs
T T ( t )
= KpKs + s V ( t ) + Vse = V ( t ); V ( t ) = Sx p( t ) ( Vc + Vsd + Va)V ( t )
dt dt i (12)
= Sx p( t ) Sd1 = Sx1( t ) (19)
Eqs. (11) and (12) dene the control loop 1 shown in Fig. 1.
Furthermore, the nonlinear control loop 2 can be dened accord- The volume Vp( t ) = Sx1( t ) can be considered as an accessible
ing to the layout of Fig. 1 through the following equations: volume for the piston, and thus the following deviation variable
can be dened:

Fv1( t ) = f ( t ) KsFv( t ) + Ts T ( t )
V ( t ) + Vse = V ( t ) = V p( t ) + Vps (20)
Q 1( t ) = Ksf ( t ) KsFv( t ) + Ts T ( t )
(13) where Vps is an arbitrary equilibrium volume for the piston re-
where Q1(t) is the heat ux generated in coil C1, whereas and ferred to the bumpers. Substituting Eq. (20) into Eq. (8), the
are constants which are chosen to stabilize the thermal subsystem. equation of the mechanical subsystem can be written in terms of
Substituting Eq. (13) into Eq. (9) it is deduced that: the V p( t ) variable as follows:

d2Vp ( t ) K 2
K23Vps K 2Vps
dT (t ) Q ( t) Ksf ( t ) = 1 + Vp ( t )
dt
=
ncv( t )
+
ncv( t )
Q ( t ) + Ts T ( t ) dt 2 m mS 2 mS

T ( t ) P dV ( t ) K23Vps K 2 K
Vp ( t ) 22 Vp 3( t )
ncv( t ) T v dt
2
(14) mS mS mS
dVp ( t ) b dVp ( t )
Now we shall dene the nonlinear function f(t) of Eqs. (13) and + C ( t ) Vp ( t ) + kL ( )
+ fp 1
(14) so that the linear part of the thermal subsystem given by Eqs. dt m dt
(12) and (14) has eigenvalues with negative real parts, thus en- K 3 K 2 K S2
+ 22 Vps Vps + 1 Vps P1s
suring its stability. For this purpose, f(t) is dened as follows: mS mS m m (21)
486 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

The analysis of the equilibrium points and the dynamical The eigenvalues of the linear part of Eq. (25) are given by:
properties of the whole mechanical-thermal system are carried
out by dening C(t) in Eqs. (7) and (21) as a harmonic function
1 b 1 f 2 b2
given by: 1,2 =
2
(1 fp
m
) p

2 m

2
2
(26)
C ( t ) = C0 + C1 sin Lt (22)

where C0, C1 and L are adjustable parameters. The Vp ( t ) volume On the other hand, the parameter values of Eq. (23) are chosen
at an equilibrium point will be zero, and from Eq. (21) it is deduced to obtain three equilibrium points P1, P2 and P3, at which the re-
that: spective slopes mP1, mP2 and mP3 of the curve y(Vs) (see Fig. 2a))
K2 K 2 K S2 are:
( )
y Vps =
mS 2
3
Vps
mS
Vps + 1 Vps P1s = 0
m m (23)
dy V
The values of the constants K1, K2, K and P1s have been chosen m P1 =
( )
ps
=
3K2 2
VpsP
2K
V + K > 0

dVs S2 1
S
psP1 1
so that the polynomial given by Eq. (23) has three positive roots in
P1
order to obtain a piston motion within the cylinder with physically
dy V
reasonable velocities and frequencies. It should be noticed that the
m P3 =
( )
ps = 3K2 V 2 2K V
psP3 + K1 > 0
mechanical subsystem is decoupled from the thermal one due to dVs S2 psP3
S
the control force dened by Eq. (7), i.e. in Eq. (21) the thermal P3

subsystem has no inuence on the mechanical one. dy V
In order to analyze the stability of the equilibrium points of the m P2 =
( )
ps = 3 K2 2
V
2 K
V + K < 0
dVs S2
psP 2
S
psP 2 1
mechanical subsystem, we shall rewrite Eq. (21) (taking into ac-

2P (27)
count Eq. (23)) as a system of two rst-order differential equa-
tions. For the sake of simplicity in the notation, we rst introduce
From the inequalities of Eq. (27) it follows that the parameter
the following parameters:
2 of Eqs. (24) and (25) is positive at P1 and P3 and negative at P2.
K 2VpsK 3VpsK2 K
2
3VpsK2 Therefore Eq. (25) implies that for fp o1 a stable focus (node)
2 = 1 + ; q= ;
m mS 2
mS mS 2
mS appears at P1 and P3, whereas for fp 41 an unstable focus (node)
appears at P1 and P3. It should be noted that 2 o0 at point P2, and
K2
r= thus an unstable saddle always appears at such point. However,
mS2 (24)
the value fp 1 leads to a pair of pure complex conjugate eigen-
Introducing the variables z1( t ) = Vp ( t ); z2 ( t ) = dVp ( t )/dt and values or weak focuses at P1 and P3, for which the previous con-
assuming that C1 0 and kC 0, it follows that Eq. (21) can be re- clusions regarding stability cannot be applied, as it will be ana-
written as: lyzed in Section 3.
z t 0 1 The equilibrium points of the thermal subsystem are easier to
1( ) = z1( t ) 0
b + determine, since the eigenvalues of its linear part are obtained

z ( t )
2 2
1( f p ) z
m 2 ( t ) qz1 2( t ) rz1 3( t ) + C0z1( t )z2 ( t )
(25) according to Eqs. (17) and (18) as:

Fig. 2. Simulation results using the SRK state equation and the nitrogen (parameter values are indicated in the legend of Fig. 1). a) Equilibrium points P1 (stable weak focus),
P2 (unstable saddle), P3 (stable weak focus) corresponding to Eq. (23). b) Piston position as a function of the time for C0  500 and C1 0. c) Gas temperature as a function of
the time. d) Heat ux in the helical heating coils C and C1.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 487

2 calculations indicated in Eq. (32) must be repeated four times.


Ks2Kp 1 K Ks2Kp
1 Ks s + 4Ks2Kp For the considered state equation, the corresponding specic
3,4 = +
2 n n 2 n
n ni (28) volume v(T) with physical meaning must be found, from which
the specic heat at constant volume cv(T) and other thermo-
and thus stability is achieved just by taking: dynamic magnitudes such as specic heat at constant pressure
4nK p 4nK pfc cp(T) and the isothermal compressibility coefcient can be also
i < 2
i = 2
; > 0; K p > 0; fc < 1 obtained. The condition d1 < x1( t ) < L c/2 is fullled in all the
( + KsKp) ( + KsKp) (29) calculations.
c) The state variables are updated by using the Runge-Kutta
It should be noted that Eq. (29) provides an admissible range
formula, and thus the integration process is ready for the
for the parameters of the temperature PI controller depicted in
following iteration t 2T.
Fig. 1, which is a consequence of the denition of the nonlinear
function f(t) in Eq. (15).
Fig. 2b)d) show two simulations by using the Soave-Redlich-
Kwong (SRK) state equation for the nitrogen as real gas (see Ap-
2.4. Numerical simulation procedure pendix A) taking fp 1 (so that P1 and P3 are weak focuses),
C0  500, C1 0, kL 0 and assuming that the initial conditions
The numerical computations are carried through Eqs. (8), (17) are close to the equilibrium point P3 (see Fig. 2a)). It should be
and (18) by dening the following state variables: noted that the weak focus P3 of Fig. 2b) is unstable, and at tE45 s
V ( t ) dV ( t )/dt T ( t ) Q( t ) t the piston position jumps to the other weak focus P1 remaining
L
around this point, that appears to be stable. Fig. 2c) shows the
x1( t ) x2( t ) x3( t ) x4 ( t ) x5( t ) (30) effect of the PI controller dened by Eq. (11), where the gas clearly
shows an almost isotherm behavior with small oscillations around
where x5( t ) = Lt is an articial variable to transform the non- the set temperature Ts 300 K. Fig. 2d) also shows the oscillation
autonomous system into an autonomous one with the additional of the heat ux transmitted by coils C and C1 (see Fig. 1) around
state equation dx5( t )/dt = L . For the selected values of volume, the steady state value obtained from Eq. (11).
pressure and temperature, the mole number n and the density of a An interesting result is shown in Fig. 3a), where the gas pres-
real gas are determined from its state equation. As per Eq. (29), for sure varies abruptly from the initial pressure Ps 50 atm (when
fc 0.001 the value of the integral action of the PI controller is the piston is oscillating around the weak focus P3) to a maximum
1 0.1210 s. value of 203 atm. Furthermore, a steady-state pressure of 141 atm
We shall consider three different simulations for which the is reached when the piston remains oscillating around the weak
initial conditions are dened as follows: focus P1 with an almost constant gas temperature (see Fig. 2c))
and the specic gas volume varying as shows in Fig. 3b). In Fig. 3c)
x 01 = 1.01Vse + Sx P1 0 fi Ts 0 0x 02 the phase portrait of the piston position is plotted, thus corro-
= 1.01Vse + Sx P3 0 fi Ts 0 0x 03 borating that the weak focuses P3 and P1 are unstable and stable
respectively. Fig. 3d) also shows the compressibility factor. The
= fi Vse 0 fi Ts 0 0 (31) relevance of the previously dened model and control laws relies
on the possibility of investigating different state equations through
where fi is a small value (e.g. fi 0.001) and Ts is the set tem- the virial coefcients obtained from the simulation results.
perature, which will be larger than the critical temperature of the
gas. The initial conditions x01 and x02 will be used to investigate
the gas behavior around the equilibrium points P1 and P3 re- 3. Analysis of the chaotic behavior through the rst Lyapunov
spectively, whereas x03 will be used for an arbitrary initial piston value
position. It should be remarked that at t0 the heat uxes at coils
C and C1 (see Fig. 1) are the corresponding steady-state values In this section we shall investigate a procedure to obtain
Qs KsFse and Qs1  KsFse (Eqs. (13) and (15)) respectively. Next, chaotic behavior for the gas pressures and volumes while keeping
the following steps are carried out: the gas temperature almost constant with small oscillations
around the set point. It should be noticed that the almost iso-
a) At t 0 all the deviation state variables given by Eq. (30) are thermal chaotic data obtained from the device of Fig. 1 must in-
known from the initial conditions given by Eq. (31). The initial volve great excursions for the gas pressures and volumes to cor-
values for the pressure Ps, temperature Ts and gas mole rectly estimate the virial coefcients for different state equations.
number n are used to obtain the specic volume from the Due to the decoupling between the mechanical and thermal sub-
state equation as well as to assure that the piston position systems (as discussed in the previous section), only the mechan-
remains within the limits d1 < x1( t ) < L c/2 (see Fig. 1). Thus, ical subsystem given by Eq. (24) will be considered assuming that
the following values are calculated: fp 1, so that points P1 and P3 of Fig. 2a) are weak focuses.
v( 0) = 1000 x1( 0) + Vs/n; It is well known that the stability of a weak focus depends on
the sign of the rst Lyapunov value (Guckenheimer and Holmes,
x1( 0) = x1( 0) + Vse/ST ( 0) = x3( 0) + Ts; 1983; Wiggins, 2000; Prez-Polo and Prez-Molina, 2014), which
P ( 0) = f T ( 0), v( 0); is calculated through the normal form of Eq. (24). For this purpose,
we obtain the Jordan canonical form of Eq. (24) by means of the
cv( 0) = fv T ( 0), P ( 0), v( 0) (32) eigenvector associated to the eigenvalue i to obtain the
transformation matrix Pt, which denes a coordinate transforma-
where f(.) denotes the gas state equation and fv(.) represents
tion as:
the calculation of Eq. (10).
1 0 z ( t ) x( t )
b) In the next integration step t T, all the state variables are 1 0
= P
1
calculated through Runge-Kutta integration method for the Pt = Pt1 =
0 0 1 z2( t ) t
y( t )
model Eqs. (6), (7), (17) and (18). In this step, all the (33)
488 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

Fig. 3. a) Gas pressure as a function of the time when the piston position varies as shown in Fig. 2b). b) Specic volume when the piston jumps from P3 to P1. c) Phase plane
of the piston position when the gas temperature is almost constant as shown in Fig. 2c). d) Variation of the compressibility as a function of the pressure indicating the
pressure jumps (parameter values are indicated at legend of Fig. 1).

Substituting Eq. (33) into Eq. (25) we obtain the normal form of indicated at the legend of Fig. 1 the values of q and at point P3 are
the mechanical subsystem as follows: qp = 3.7020104 > 0 and P3 = 6.9780 rad/s. Thus taking C0  500
3
x ( t ) x t it is clear that the rst Lyapunov value L1 is positive at P3, which is
= 0 ( ) +
0
2 3
thus an unstable weak focus. Similarly, at point P1 we have that
y ( t ) 0 y( t ) ( q/)x( t ) ( r /)x( t ) + C0x( t )y( t )
(34) qP = 3.8683104 < 0 and P1 = 7.4540 rad/s, so L1 o0 and thus P1
1

Introducing the notation: is a stable weak focus.


It should be remarked that taking C(t) 0 in Eq. (7) would have
f 1 x( t ), y( t ) = 0; implied that L1 0, thus making it impossible to determine the
stability of the weak focuses P1 and P3. This justies the choice of
f 2 x( t ), y( t ) = ( q/)x( t ) ( r /)x( t ) + C0x( t )y( t )
2 3
(35) the third term of Eq. (7), and taking into account the value of C(t)
the rst Lyapunov value can be calculated as: given in Eq. (22) the rst Lyapunov value takes the form:

1 1 2
q( C0 + C1 sin Lt )
L1 = 1
f + fxyy 2
+ fxxy + f yyy L1( t ) =
16 xxx 8 (38)
1 1 1 2
+
16 xy xx
(
f f + f 1yy fxy)
2 2
fxx ( 2
+ f yy 1 2
fxx )
fxx + f 1yy f yy (36)
Taking C0 0 and taking into account Eq. (22), the linear part of
Eq. (25) remains unaltered whereas the nonlinear part changes to:
1
where the subscripts denote partial derivatives (i.e. f xxx = 3f 1 /x 3 qz1 2( t ) rz1 3( t ) + C1 sin x5( t ) z1( t ) + kC z2( t ) (39)
and so on). All the partial derivatives are calculated at the bi-
furcation point, which is the origin (0,0) since we are using de- and thus the equilibrium points P1P3 have the same properties as
viation variables as per Eq. (25). Once the rst Lyapunov value L1 the ones analyzed in the previous section. Since the piston has
has been calculated, if L1 40 then the weak focus is unstable, and only two possible equilibrium points (P1 and P3), it will jump
conversely if L1 o0 then we have a stable weak focus. From Eqs. between P1 and P3 with large oscillations in the gas pressure and
(35) and (36) it is deduced that the rst Lyapunov value is a an almost constant temperature (recall Eqs. (17) and (18) for the
constant, i.e.: thermal subsystem). This feature provides a potential route for
C0q chaotic behavior in the system. It should be remarked that there is
L1 = no currently a denitive criterion for the appearance of chaotic
8 (37)
behavior, and thus we will use the sensitive dependence, the
From Eq. (37) it follows that when q40 we must choose C0 40 Lyapunov exponents and the power spectral density to argue that
to obtain a stable weak focus and C0 o0 to obtain an unstable weak the system behavior is chaotic for some values of C1 and L in Eq.
focus. Although the stability of a weak focus is solely determined by (22).
the sign of L1, if we choose a large value for C0 then the damping Fig. 4 shows the results of two simulations by using the SRK
will quickly decrease when moving away from the equilibrium state equation and methane as real gas. In such simulations, Eqs.
point and vice-versa. The previous considerations explain the be- (8), (17), (18), (22) and (30) have been used taking kL Sd1 and
havior shown in Fig. 2b), where according to the parameter values assuming that the initial conditions x30 of Eq. (31) with fi 0.001
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 489

Fig. 4. Simulation results for the SRK state equation and the methane, obtained by varying harmonically the rst Lyapunov value with C0 0, C1  500, L 35 rad/s. a)
Sensitive dependence for the gas pressures when the system is simulated with initial pressures differing in 10  5 atm. b) Pressure errors of Fig. 4a) as a function of the time. c)
Temperatures with very small oscillations corresponding to the pressures of Fig. 4a). d) Piston position as a function of the time for the pressures, specic volume and
temperatures plotted in Fig. 4a)c) respectively.

Fig. 5. a) Strange attractor in the phase plane of piston velocity versus piston position corresponding to the chaotic data plotted in Fig. 4. b) Piston position as a function of
the time when the piston motion is periodic. c) Orbit in the phase plane of the mobile piston with periodic behavior.

differ in 10  5 at t 0. Furthermore, the rst Lyapunov value has are completely different at approximately t200 s and thus the
been harmonically varied in accordance with Eq. (38) taking C0 0, system has sensitive dependence, which is corroborated in Fig. 4b)
C1 500 and L 35 rad/s. Fig. 4a) shows that the gas pressures by plotting the error of the gas pressure as a function of the time.
490 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

The gas temperatures in Fig. 4c) also show sensitive depen- Eq. (42) constitutes an indirect verication for the correctness
dence, although due to the effect of the PI controller both tem- of the numerical computations. In Fig. 6c), the calculated power
peratures remain almost constant with small oscillations around spectral density for the gas volume as a function of the time shows
the set point Ts 500 K. It should be remarked that the gas pres- a broadband spectrum with decreasing oscillations, which is a
sure exhibits great excursions, which will be used for the esti- characteristic feature of a chaotic signal (Lichtenberg and Lieber-
mation of virial coefcients. Fig. 4d) shows that the piston posi- man, 1992). In addition, the zone of low frequencies has been
tions have also sensitive dependence, which is manifested as a enlarged to show that the applied external disturbance of L 2/
great difference between xp(t) and xpd(t) when the piston jumps TC2/35 0.1795 rad/s clearly appears within the spectrum.
between the equilibrium points P1 and P3. Fig. 6d) shows the specic heats at constant volume cv(t) and
Fig. 5a) shows two strange attractors in the phase plane xp(t)  constant pressure cp(t) calculated through the SRK state
dxp(t)/dt with the same sensitive dependence as in Fig. 4, and the equation (Eq. (A2)), where cp*( t ) in Eq. (10) is dened as a function
chaotic behavior as well as the limitation in the left side of the of the temperature given by:
attractors due to the bumpers (see Fig. 1) can be appreciated. On
cp*( t ) = A + BT ( t ) + CT2( t ) + DT 3( t ) + ET 4( t ) (43)
the other hand, Fig. 5b) shows a simulation of the piston position
up to a time of 800 s with C1  1000. Unlike Fig. 4, in this case it being T(t) is the gas temperature (Yaws, 1999). Once cv(t) is known,
is clear that the piston jumps regularly between P1 and P3 and thus cp(t) is calculated from the coefcients of isobaric expansion and
the movement is periodic. In Fig. 5c) the phase portrait xp(t)  isothermal compressibility (Annamalai and Puri, 2002; Hougen
dxp(t)/dt has been plotted, thus corroborating the periodicity. et al., 1954). It should be remarked that the abrupt changes in cv(t)
The chaotic oscillations shown in Figs. 4 and 5a) are also cor- and cp(t) are due to the chaotic oscillations, whereas the thermo-
roborated by calculating all Lyapunov exponents of the system dynamic inequality cp(t) 4cv(t) is always fullled. Finally, it must
according to Eqs. (8), (17), (18), (22) and (30). The components of be taken into account that we have used the SRK state equation
the vector eld associated to the system equations can then be since it provides the smallest error compared to the state equation
written as: of high precision, as we will see in the next sections.
It should be remarked that our model relies on concentrated
dx1( t )
f1 = = x2( t ) parameters and that the chaotic behavior appears in the super-
dt critical zone (above the critical point) of the gas. An example of
K1 K 3
x1( t ) + Vse x ( t ) + V model based on partial differential equations which takes into
2
f2 = 1 se
m mS2 account trans-critical phenomena with the appearance of chaos
b K 2
can be found in Chen et al. (2012).
(
1 fp ) m
x2( t ) +
mS
x1( t ) + Vse

+C1 sin x5( t ) x1( t ) + Sd1x2( t )

4. Real gas in chaotic regime for different state equations and
Ks Ks
f3 = x3( t ) + x4 ( t )
virial coefcients
n n

1 Q sx3( t ) In this section we shall consider the volumetric and caloric
+ Ks +
cv( t ) n x4 ( t ) + Q s properties of some cubic and non-cubic state equations, and how
x ( t ) + T P these properties are related to the behavior of several non-polar
x4 ( t ) 3 s
+ x2( t );

real gases when they are in chaotic regime as it was analyzed in
ncv( t ) ncv( t ) T v Section 3.

KsKp
f4 = KsKpf3 x3; f5 = L
i (40) 4.1. Cubic state equations

Linearizing the vector eld of Eq. (40) along a trajectory and The general expression for a cubic state equation can be written
applying the Gram-Smidth orthogonalization method (Prez-Polo as (Poling et al., 2001):
and Albertos, 2007; Prez-Polo and Prez-Molina, 2014; Lichten-
( T )/RT v( v )
berg and Lieberman, 1992), the Lyapunov exponents are obtained Pv v
z= =
as function of time as shown in Fig. 6a). In particular, the whole set RT vb (
( v b) v2 + 1v + ) (44)
of Lyapunov exponents at t 400 s is given by Benettin et al.
(1980a, 1980b): where (T), , 1 and depend on the particular state equation, as
shown in the Appendix A. According to Eq. (44), the general vo-
L1 = [ 0.11951368 0.00935840 0.0050379306 0.107759160 0 ] (41) lumetric equation is given by:

RT 2 ( T )
Eq. (41) shows that there are two positive exponents (hy- ( T )
RT
perchaotic system) which are associated to the mechanical and v 3 + 1 b v + b1 1 + v
P P P P
thermal subsystems. This result is another indicator that the os-
cillations of Figs. 4 and 5a) are chaotic. RT
b =0
Fig. 6b) shows the sum of the Lyapunov exponents together P (45)
with the divergence of the vector eld given by Eq. (40). The sum For the state equations considered in this work we assume that
of Lyapunov exponents is 0.01508479 whereas the mean value of b and that the roots of Eq. (45) provide the specic volume as a
the vector eld divergence is 0.015084482, and thus the following function of the gas temperature and pressure. Since we consider
approximation is fullled (Guckenheimer and Holmes, 1983; temperatures above the critical one, Eq. (45) has two complex
Lichtenberg and Lieberman, 1992; Wiggins, 2000): conjugates roots and one real root which will be the sought spe-
5 cic volume of the gas. In all calculations, the following equili-
LYi div f brium thermodynamic condition is fullled (Annamalai and Puri,
i=1 (42) 2002; Hougen et al., 1954):
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 491

Fig. 6. Analysis of the chaotic behaviors depicted in Figs. 4 and 5a). a) Plot of all Lyapunov exponents as a function of the time, showing that two of them are positive. b)
Vector eld divergence and sum of Lyapunov exponents as a function of the time. c) Power spectral density for the piston position depicted in Fig. 4d). d) Specic heats at
constant pressure cp and at constant volume cv for the nitrogen as a function of the time.

v T P where the values of cp at low pressures are taken from Yaws


=1
T P P v (46) (1999). The empirical high precision state equation (HP) is dened
v T
as a function of the molar Hemlholtz energy, which is written as
As per Eq. (44), the isobaric expansion coefcient can be ob- an ideal part plus a residual part due to the gas non-ideality as
tained as c = ( 1/v)( v/T ) , whereas the isothermal compressi- follows (Span, 2000; Gmehling et al., 2012):
P
bility coefcient is given by c = ( 1/v)( v/P ) . The specic heats
T
at constant volume and pressure are deduced from Eqs. (10) and a( T , ) aid( T , ) + aR( T , )
= = id( T , ) + R( T , )
(44), which lead to the following general expressions (Mason and RT RT (50)
Spurling, 1968; Annamalai and Puri, 2002; Poling et al., 2001; where the superscripts id and R refer to the ideal and residual
Tassios, 1993; Hougen et al., 1954): parts respectively. The ideal part is dened as:
2 v dv Tvc2
cv = cp* R T
T2
2
v + 1v +
; cp cv =
c (47) id( T , ) =
1
T
T
cvid( T )dT
1
T
T
cvid( T )
dT
+ ln

RT 0 R 0 T 0

+
(
a T0, 0 )
4.2. Noncubic state equations (51)
RT

As noncubic state equations, we will consider the Beattie- where T0 and 0 are reference values for which the gas behavior
Bridgeman (BB) equation, the empirical high precision (HP) state can be considered to be ideal. The gas pressure and the residual
equation and the viral equations (Span, 2000; Gmehling et al., part can be determined for some nonpolar gases according to the
2012). The corresponding volumetric equation for the BB state following expressions:
equation is a fourth order equation of the form:
a( T , ) R( , )
v 4 ( 2/P )v 3 2 /P v2 2/P v ( 2/P ) = 02 = RT;
( ) ( ) P ( T , ) = FP = P ( T , ) RT 1 +

v
T
2 = A 0 + B0RT cR/T22

= 0; = ;
= aA 0 bB0RT cB0R/T2; c
2 = bcB0R/T2 (48) Tc R
= ( , ) = n1 0.25 + n21.125 + n31.5
T
where A0, a, B0, b and c are constants of the considered real gas. For
+ n4 21.375 + n5 3 0.25 + n67 0.875
temperatures above the critical one, Eq. (49) has two real roots
among which only the largest has physical signicance, whereas + n7 2 0.625exp( ) + n8 51.75exp( )
the other two roots are complex conjugate. From Eq. (48), the
corresponding expressions for the specic heat at constant volume
( )
+ n9 3.625exp 2 + n10 4 3.625exp 2 ( )
can be written as: ( )
+ n11 314.5exp 3 + n12 412exp 3 ( ) (52)
6cR v 1 B bB Tvc2
cv = cp* R 2 03 + 40 dv; cp cv = where c and Tc are the critical density and the critical tempera-
T3 v v v c (49) ture respectively, whereas ni (i1,,12) are empirical constants
492 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

which are tabulated for each real gas. In this context, it is clear that coefcients to obtain the compressibility factor z given in Eq. (54)
obtaining relations similar to the ones of Eqs. (45) or (49) is not and depicted in Fig. 3d).
feasible. However, for each temperature T and pressure P it is Once the chaotic data for the pressure P(t), temperature T(t)
possible obtain FP in Eq. (52) as a function of the specic volume, and specic volume v(t) are known, Eq. (54) is rewritten as:
so that for FP 0 we obtain the corresponding specic volume.
Pv C2( T ) C3( T ) Cn( T )
Taking into account the expression for P(T,) in Eq. (52) and dif- y = v 1 = C1( T ) + + + + n 1
RT v v2 v (56)
ferentiating at constant pressure and at constant temperature, the
isobaric expansion coefcient and the isothermal compressibility Therefore, by adjusting the simulation data as a function of the
coefcient can be respectively determined. gas density (x 1/v) through the left hand term of Eq. (56) with
On the other hand, taking into account the thermodynamic the least square polynomial of degree n  1, the virial coefcients
relations for the molar Hemlholtz energy, the specic heat at can be estimated. It is very important to remark that this proce-
constant volume can be deduced from Eqs. (51) and (52). Conse- dure provides accurate values only if the gas behavior is almost
quently, similar expressions to the ones of Eqs. (47) and (49) can isotherm, as it was discussed in Section 3.
be obtained as follows: Since only the coefcients B and C are sufcient to represent the
2 id 2 R( T , ) gas behavior at low pressures, a great excursion in the gas pressure

cv( T , ) = R 2 + cp( T , ) cv( T , )
values is necessary to investigate the effect of the virial higher or-

2
2
der coefcients on the gas properties. For this purpose, the system
2 has been numerically solved with some state equations considering
R T , 2 R( T , )
1 + ( ) an initial pressure of Ps 100 atm and two initial temperatures of

=R Ts 300 and Ts 700 K for the argon gas, whose virial coefcients
R T , 2 R( T , ) deduced from interpolation of a set of experimental data are (Dy-
1 + 2 ( ) 2
2 mond and Smith, 1980; Dymond et al., 2002): B300  1.52.10  2 l/
(53)
mol, C300 1.080.10  3 (l/mol)2, B700 1.51.10  2 l/mol and C700
The virial equation with n coefcients is written as: 0.6044.10  3 (l/mol)2. Fig. 7 shows the results of four simulations,
where the Redlich-Kwong (RK) state equation has been selected
Pv C1( T ) C2( T ) Cn( T )
z= =1+ + ++ + . due to the great excursion pressure that it provides. A comparative
RT v v2 vn (54)
analysis of all the state equations used in this work will be pre-
where Ci(T) (i1,,n) are the temperature dependent virial sented in the next section.
coefcients (it should be remarked that the virial coefcients are By applying Eq. (56) to the simulation data obtained from the
sometimes denoted as C1B, C2C, C3D, C4E and so on). Eq. (54) RK state equation, the rst ve virial coefcients are obtained as
allows to obtain a polynomial as a function of v whose degree follows:
depends on the number of virial coefcients, and its largest posi- C C C C C
1 2 3 4 5
T = 300
tive root is the specic volume with physical meaning. By calcu- s

1.5965102 1.0154103 3.9205105 2.3442106 6.7358108


( )
lating 2P /T 2 and recalling Eq. (10) it follows that:
v
C C C C C
n
d2Ci( T ) 1
1 2 3 4 5 T = 700
dCi( T ) s
cv = cp* R RT 2 +T ; 1.1089102 0.7116103 0.6644105 0.2031106 1.0544108 (57)
i=1
dT dT2 ivi
Tvc2 where each coefcient Ci is expressed in (l/mole)i. According to the
cp cv = previous results, the values of C1 B and C2 C are in good
c (55)
agreement with the experimental values B300 and C300 for
As in the previous state equations, the value of the specic heat Ts 300 K, whereas the discrepancies for Ts 700 K (B700 and C700)
at constant pressure can be determined from the values of and . are more remarkable.
It should be remarked that in this paper we consider pressures In Fig. 8a) and b), the specic volume and temperature are
between 30 atm and 2000 atm as well as temperatures between plotted for the initial conditions Ps 100 atm and Ts 300 K. It
250 K and 750 K in all cases (far above the critical point), for which should be noted that the specic volume remains oscillating be-
Eqs. (47), (49), (52), (53) and (55) are fullled. Besides, the control tween the two weak focuses shown in Fig. 2a) and b), whereas the
system keeps the gas with an almost constant temperature. Con- gas temperature remains almost constant with very small oscil-
sequently, the state equations provide a reasonably good approx- lations around the set point. Fig. 8c) shows an attractor in the
imation for the gas behavior even at high pressures. phase plane for the piston force-velocity F(t) dxp/dt, where the
presence of the weak focuses P1 and P3 as well as phase trajec-
4.3. Analysis of the required number of virial coefcients for a given tories suggesting a chaotic behavior can be corroborated.
temperature In Fig. 9a), Eq. (56) has been plotted by using the simulation
values indicated in Figs. 7a), 8a) and b) as a function of the gas
From the previous considerations and the gas chaotic behavior density , where the value of the rst virial coefcient can be
examined in Section 3, we shall investigate how the virial coef- determined when -0. In this case, the points marked with as-
cients for different real gases can be estimated. Since only the terisk are the values deduced from Eq. (56) taking n 5 (fth de-
second C1(B) and third C2(C) virial coefcients are experimentally gree polynomial). In addition, the simulation results are marked
known with a reasonable accurateness (Dymond and Smith, 1980; with dots that exhibit a chaotic pattern within a zone which is
Dymond, et al., 2002), the estimation of higher order coefcients is very tiny due to the almost isotherm gas behavior. Fig. 9b) shows
an important issue to investigate the behavior of a real gas at high the compressibility coefcients zB, zBC and zBCD obtained through
pressures (Holleran, 2007; Meng et al., 2004; Elliot and Daubert, one, two and three virial coefcients respectively, and assuming
1985; Belanger et al., 1994). It must be emphasized that the device the numerical values taken from Eq. (57) for Ts 300 K. It should
of Fig. 1 allows to reach very high pressures as it appears in be noted that the difference between zBC and zBCD is very small for
Fig. 4a), so we want to analyze the required number of virial pressures below approximately 600 atm.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 493

Fig. 7. Pressure simulation results for the cubic equations RK, SRK, PR and VDWt, obtained by using the same pressure Ps 100 atm and temperatures Ts 300 and Ts 700 K
for the argon (parameter values are indicated at legend of Fig. 1).

The effect of the number of virial coefcients on the gas be- coefcient with adequate precision. To corroborate the previous
havior is corroborated in Fig. 10. Fig. 10a) shows the plots of zBC assertion, Fig. 10b) shows the values of za deduced from Eq. (54)
and zBCDE for the values indicated in Eq. (57) for Ts 300 K and the and assuming ve virial coefcients in Eq. (57). In Fig. 10c) and d),
value of zs P(t)v(t)/R.T(t) deduced from the chaotic data of the errors in the compressibility coefcient clearly show the ran-
Figs. 7 and 8. It is clear that at high pressures only four virial ges of pressure for which a certain number of virial coefcients
coefcients could be sufcient to obtain the compressibility must be chosen.

Fig. 8. a) Specic volume as a function of the time corresponding to Fig. 7d). b) Temperature as a function of the time corresponding to Fig. 7d). c) Strange attractor in the
phase plane for the piston force versus piston velocity.
494 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

analyze the high precision state equation given by Eq. (52), al-
though the same considerations would apply for any of the pre-
viously considered state equations. The following steps have been
considered:

i) We choose an admissible set of specic volumes. The para-


meter b1 of the SRK state equation (see Appendix A), which is
dened as function of the critical properties of a particular gas,
can be adequate as a reference value. For example:
initial initial
vmin = 2b1; vmax = 1000b1 vinitial
= vmin
initial
. . . vmaxinitial
(58)
ii) From Eq. (58), the densities and the parameter of Eq. (52) are
determined as follows:

initial = min
initial initial
= 1/vmax . . . initial
max initial
= 1/vmin ;
Fig. 9. a) Adjustment of Eq. (56) for the chaotic simulation results depicted in
Figs. 7a), 8a) and b) by means of a fth-degree polynomial to estimate ve virial initial = vc /vinitial (59)
iii) We dene a set of temperatures T = T1 T2 . . Tn and a
coefcients. b) Variation of the compressibility coefcient for the argon as a
function of the pressure for one (zB) two (zBC) and three (zBCD) virial coefcients.
pressure Ps, so that for each temperature Tj the following
function is obtained:
4.4. Analysis of the number of virial coefcients required for a set of
predetermined temperatures
R ,
initial

RTj 1 + initial (j )
Once the virial coefcients for the RK state equation have been
FP = Ps

determined from the chaotic simulation data, we shall study the j (60)
accurateness of the state equations (Eqs. (44) and (48)) as a The value FP 0 leads to the density value and the cor- jinitial
function of the chosen number of virial coefcients by taking the responding specic volume vj = vc /jinitial .
high precision state equation (Eq. (52)) as reference. For this iv) From the value of vj and the gas volume Vs, the mole number
purpose, a set of temperatures and an initial pressure Ps will be nj = Vs/vj can be obtained for an arbitrary piston position. It
used to estimate the dependence of the virial coefcients with should be noted that the integral action of the temperature PI
temperature. controller can now be calculated through Eq. (29).
It should be taken into account that the piston position is v) Since the piston position is limited, the minimum specic gas
limited by the bumpers (see Fig. 1) and thus the gas mole number volume for the gas volume S.d1 will be v min j = Sd1/nj . With this
cannot be chosen arbitrarily, since negative pressures without minimum specic volume, the gas pressure is calculated again.
physical meaning might appear. To avoid this problem we shall If the obtained gas pressure is negative or takes too high

Fig. 10. a) Compressibility coefcient for the argon as a function of the pressure calculated with two and four virial coefcients (zBC and zBCDE respectively) estimated from
the data shown in Fig. 9a). b) Comparison between the compressibility coefcient za deduced from chaotic data and zBCDE as a function of the pressure. c) Error between the
different compressibility coefcients plotted in Fig. 10a). d) Error between different the compressibility coefcients plotted in Fig. 10b).
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 495

values, steps iii) to v) are repeated with a smaller value for Ps. concordance between the results for the PR and HP state equations
decreases when the initial pressure increases, which is due to the
The previous steps for the PR and HP state equations have been fact that the HP state equation is more accurate than the PR state
applied for the oxygen taking 11 temperatures in the range 200 equation at high pressures. Similar results have been found for the
650 K with an initial pressure of 20 atm. To obtain chaotic beha- RK, SRK, PRt, and VDWt state equations. However, the behavior of
vior, the same parameter values of the Section 3 are used. In the BB state equation is slightly different, since it is more difcult
Fig. 11a), the pressures obtained with the PR state equation are to obtain chaotic oscillations by varying the rst Lyapunov value.
plotted, and similar results for the HP state equation are obtained. For a given temperature, the results of Figs. 11 and 12 can be
In Fig. 11b), the corresponding specic volumes for the HP state used to investigate the pressure range within which a state
equation are plotted. It can be corroborated that all pressures and equation can be compared with the HP state equation as a function
specic volumes have physically meaningful values. of the number of virial coefcients. It should be recalled that the PI
Fig. 11c) and d) show the virial coefcients obtained through controller maintains the gas temperature almost constant (Alber-
the PR and HP state equations. To corroborate the calculations for
tos and Sala, 2004; Prez-Molina et al., 2016), as shown in Figs. 2c),
each state equation, the virial coefcients Ci are calculated by in-
4c) and 8b). In Figs. 13 and 14, the pressure error for the high
troducing the chaotic simulation data into Eq. (56), thus obtaining
precision (EHP), Peng-Robinson (EPR) Soave-Rechlich-Kwong
x1 and y1, which are adjusted by the least square polynomial to
(ESRK) and volume translated Van der Walls (EVDWt) state
obtain the values marked in the gure as PR1 and HP1. On the
equations are dened as follows:
other hand, with the specic volume and temperatures obtained
in the simulation, the gas pressure is calculated from the state ncv
PHP PHP ncv
PPR PPR ncv
PSRK PSRK
EHP = 100 %; EPR = 100 %ESRK = 100 %;
equation and thus x2, y2 are obtained from Eq. (56), for which the PHP PPR PSRK
corresponding virial coefcients are marked as PR2 and HP2. As ncv
P VDWt P VDWt
EVDWt = 100 %
expected, an exact concordance is obtained. P VDWt (61)
The experimental data for the coefcients B and C are also
plotted in Fig. 11. It should be noted that the values of the rst where PHP, PPR, PSRK and PVDWt are the respective pressures, and the
virial coefcient for the HP state equation are almost coincident superscript ncv indicates the number of virial coefcients.
with the experimental data regardless the number of estimated Fig. 13a) and b) show the relative pressure errors for the oxygen
virial coefcients. Furthermore, the second coefcient is also in dened by Eq. (61). It can be observed that with only two virial
good agreement with the experimental data when two virial coefcients calculated from the chaotic data, the error of the PR
coefcients are adjusted, but it presents a larger discrepancy when state equation is higher than in the HP state equation. However,
three or more viral coefcients are adjusted as shown in Fig. 11d). Fig. 13b) shows that for ncv 6 the pressure errors are small for the
This tendency has been corroborated for methane, nitrogen, argon PR state equation and negligible for the HP state equation. Fig. 13c)
and oxygen. and d) show the relative pressure errors for the methane dened
Fig. 12 shows the plots of the virial coefcients C3C6 for the PR by Eq. (61). For an initial pressure Ps of 80 atm the excursion
and HP state equations. It should be emphasized that the pressure is very high for ncv 2. It should be noted that there is a

Fig. 11. a) Variation of the pressure as a function of time for the oxygen, obtained through the PR state equation. b) Variation of the specic volume as a function of the time
for the oxygen, obtained through the HP state equation. c) Comparison between experimental and chaotic simulation data for the second virial coefcient obtained from the
PR and HP state equations. From the chaotic data, six virial coefcients are estimated. d) Comparison between experimental and chaotic simulation data for the third virial
coefcient obtained from the PR and HP state equations.
496 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

Fig. 12. Virial coefcients C3C6 for the oxygen estimated from the chaotic data depicted in Fig. 11a) and b) as a function of the temperature for the PR and HP state equations.

Fig. 13. Relative error between the pressure for the oxygen deduced from the PR and HP state equations and the one calculated from the chaotic data with a) two virial
coefcients and b) six virial coefcients. Relative error between the pressure for the methane deduced from the SRK and HP state equations and the one calculated from the
chaotic data with c) two virial coefcients and d) six virial coefcients.

range of pressures for which the HP state equation has a larger shown in Fig. 14a) and b). In this case, the RK state equation is not
error than the SRK state equation, which can be regarded as an accurate (except for a very small range of pressures) even for
unexpected result. On the other hand, Fig. 13d) shows that for ncv 6 virial coefcients, but the relative pressure error for the HP
ncv 6 the error of the HP state equation is negligible for all state equation is negligible. On the other hand, Fig. 14b) shows that
pressures, but the SRK state equation is accurate only at relatively both the VDWt and HP state equations exhibit an admissible re-
low pressures. lative error. Furthermore, it should be noted that the zoom of a
The relative pressure errors calculated for the nitrogen are small zone clearly shows that the pressures are chaotic within a
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 497

Fig. 14. a) Relative error between the pressure for the nitrogen deduced from the RK and HP state equations and the one calculated from the chaotic data with ve virial
coefcients. b) Relative error between the pressure for the nitrogen deduced from the VDWt and HP state equations and the one calculated from the chaotic data with two
virial coefcients. c) Variation of the gas temperatures as a function of the time obtained in the simulations of Fig. 14b). d) Heat uxes for the HP state equation and the
temperatures plotted in Fig. 14c).

narrow temperature range around Ts 250 K. Fig. 14c) shows the excursions), for which only the rst and second virial coefcients
range of the chosen temperatures for the VDWt state equation provide helpful information. It should be remarked that the model
used in the simulation of Fig. 14b), for which the PI controller equations remain unaltered with the change indicated in Eq. (62),
maintains all the temperatures approximately constant. Similarly, whereas the gas presents chaotic behavior for the values AF 0.02,
Fig. 14d) shows that for the HP state equation, the heat ux in the f 5.2 rad/s and assuming that fp 0 so that the friction it is not
coil C (see Fig. 1) remains in chaotic regime with small amplitudes compensated by the control law (62).
for all temperatures, which is due to the effect of the nonlinear Fig. 15 shows the simulation results obtained through the PRt
function given by Eq. (15). It must be emphasized that the previous state equation. As shown in Fig. 15a), a great pressure excursion for
results apply for the different gases and state equations. the values of Ts 300 K and Ps 100 atm is obtained, whereas the
temperature remains approximately constant as shown in
Fig. 15b). Nevertheless, it is apparent that the chaotic pressure
5. Discussion, extension to polar gases and stability oscillations are different than the ones shown in Figs. 4a), c), 7 and
11a). The strange attractor in the phase plane xp(t)  dxp(t)/dt is
In this section we shall analyze the previously obtained results, plotted in Fig. 15c), and once again it is evident that the chaotic
their extension to polar gases and the stability. behavior is different to the one of Fig. 5a). Analogous results are
obtained for the rest of the considered state equations except for
5.1. Analysis of the results the BB state equation, for which the gas exhibits non-chaotic os-
cillations for the values AF 0.02 and f 5.2 rad/s.
In Section 3, the chaotic behavior has been investigated as- Table 1 shows an estimation of the rst ve virial coefcients
suming that the rst Lyapunov value is harmonically varied as per for the argon, which have been calculated by using all the state
Eq. (38) and assuming that the equilibrium points P1 and P3 are equations considered in this work. The rst and second virial
weak focuses (see Fig. 2a)). Now we aim to elucidate whether the coefcients are reasonably in accordance with the data of Dymond
device shown in Fig. 1 can be used to estimate the virial coef- et al. (2002), Gosman et al. (1969) and Fayazi et al. (2014) for the
cients and analyze different state equations from another chaotic temperatures Ts 300 and Ts 700 K as well as for an initial
behaviors obtained through different procedures. To investigate pressure Ps 100 atm. In all cases two chaotic behaviors have been
this issue, Eq. (7) is modied as follows: assumed, which have been marked as Ly when Eq. (7) is used and
S S2 K 2 S2 AF when Eq. (7) is substituted by Eq. (62). It is clear that the HP,
F ( t ) + Fs = P ( t ) + Ps 2 V ( t ) + Vse + P1s SRK and RK state equations provide the best results for the rst
m m S m
and second virial coefcients compared to the experimental data.
b dV ( t )
fp + AF sin F t On the other hand, the theoretical device of Fig. 1 can be used to
m dt (62)
estimate the virial coefcients regardless the route to chaos used
where AF sin F t is an external harmonic disturbance applied to in the calculation of P(t), T(t) and v(t).
the piston. This issue has been investigated in Prez-Molina et al. To corroborate the previous assertions we shall calculate the
(2016) but at low pressures (rather than with large pressure fugacity coefcient for the methane by using the virial coefcients,
498 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

Fig. 15. Chaotic results for the argon obtained by applying an external harmonic disturbance and the PRt state equation: a) pressure and b) temperature. c) Strange attractor
in the phase plane consisting of the piston velocity versus piston displacement.

and we shall compare it with the fugacity coefcient calculated


Table 1
from the SRK state equation (Dymond et al., 2002; Soave, 1972; Virial coefcients Ci (l/mole) for different state equations.
Gosman et al., 1969; Fayazi et al., 2014). For this purpose, the fu-
gacity coefcient f/P is dened as: Ts 300 K C1.102 C2.103 C3.105 C4.106 C5.108
Ar  1.5200a 1.080a
f P RT
RT ln = 0 vdP  1.5965  2.3442
P P (63) RK Ly 1.0154 3.9205 6.7358
100 atm AF  1.5795 0.9264 5.2228  2.9932 7.7493
From Eqs. (54) and (63) it follows that: SRK Ly  1.2383 0.9029 4.3994  2.4533 6.7848
100 atm AF  1.2413 0.8920 4.8414  2.7441 7.3110

f P n C (T) PR Ly  1.8673 1.6232 0.8407  1.7286 6.2605


ln
P
= 0 ivi dPP 100 atm AF  1.8593 1.5727 1.6915  2.1871 7.0027
i=1 (64) PRt Ly  2.5937 6.4733  0.3033 7.2405  3.5305
100 atm AF  2.4413 6.3082  0.2576 4.5672 2.4046
On the other hand, from the virial state Eq. (54) it is deduced VDWt Ly  3.5020 1.8578  5.4036 0.7642  0.4192
100 atm AF  1.0563 0.6267 8.0107  4.2456 0.1052
that:
BB Ly  1.5434 1.1880  0.7198 0.3326  0.4627
100 atm AFb  0.8635  1.5086 0.3155  0.1615 0.3017
dP
=
RT ( 1
v2
n
i = 2
vi + 1 )
i C i( T )
dv HP
100 atm
Ly
AF
 1.5642
 1.5709
1.4658
1.4917
7.7976
7.5036
 1.8525
 1.7247
5.4314
5.2474
P RT ( 1
v
n
+ i = 2
( )
Ci T
vi ) (65) Ts 700 K C1.102
Ar 1.5100a
C2.103
0.6044a
C3.105 C4.106 C5.108

Substituting Eq. (65) into Eq. (64) it is possible to carry out the
RK Ly 1.1089 0.7116 0.6644 0.2031 1.0544
integration once dP/P has been expanded into an arbitrary number
100 atm AF 1.1071 0.7222 0.4867 0.3236 0.7452
of virial terms. Thus considering only the virial coefcients C1C4, SRK Ly 1.7264 0.5777 0.9216 0.1836 0.9843
the fugacity coefcient can be approximated as: 100 atm AF 1.7248 0.5879 0.7475 0.2993 0.7106
PR Ly 1.3875 0.7884  0.2713 0.6150 0.2039
f C C2 + C 3C C C13 + C3 100 atm AF 1.3954 0.7991  0.4101 0.6638 0.2237
ln 1 + 1 22 + 12
P v 2v 3v 3 PRt Ly 1.5452 0.9536 0.1093  0.1226 0.4307
100 atm AF 1.5416 0.9806 0.1022  0.1152 0.4103
C14 + 4C1C2 4C12C2 + 2C22 C4 VDWt Ly 1.8355 0.5942 1.1898 0.1642 1.3348
+
4v 4 (66) 100 atm AF 1.8338 0.6023 1.0920 0.1771 1.4705
BBb Ly 1.6741 0.4290 3.2677  5.1652 0.2975
Eq. (66) has been used for the methane once the virial coef- 100 atm AFb 1.6887 0.3013 6.9775  9.4213 0.4599
cients have been calculated from the SRK state equation for HP Ly 1.5398 0.7716 5.9163  0.2220 0.5041
100 atm AF 1.5382 0.7785 5.8762  0.2761 0.8987
Ts 300 K and Ts 700 K as well as from low to high pressures by
using the route to chaos indicated as Ly in Table 1. The fugacity Ly Chaotic behavior with the rst Lyapunov value.
coefcients obtained through chaotic behavior have been com- AF Chaotic behavior with harmonic disturbance.
a
pared with the ones calculated through the SRK state Data obtained from experimental values.
b
equation (Soave, 1972, 1984; Span, 2000), which are shown in Values obtained from non-chaotic oscillations.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 499

Fig. 16 as black points. In addition, several reduced temperatures exhibit a similar response to that of Fig. 11a) and b). On the other
below the critical temperature and the saturation curve have been hand, the pressure for the acetone is calculated through the spe-
plotted with the purpose of contextualizing the simulation data. It cic volume and temperatures obtained in the simulation by using
can be observed that the coincidence between the simulations the state equations given in Eqs. (A6) and (67), which respectively
obtained through Eq. (66) and the ones calculated with the SRK lead to the virial coefcients SOA2 and HP2 by means of Eq. (56). As
state equation at T 300 K is slightly worse than at T 700 K. In- expected, we obtain an exact agreement between SOA1 and SOA2
deed, this result is in accordance with the fact that the pressure as well as between HP1 and HP2. It is interesting to remark that our
error given by Eq. (61) decreases as the temperature increases. procedure allows to estimate the virial coefcients in a region
It is interesting to remark that the thermal-physical properties where experimental data do not exist, and that it can also be ap-
of uids (specic heat and density) may exhibit great variations plied to strongly polar gases.
near the critical point. However, for all the cases analyzed in the Fig. 18 shows the simulation results for the ammonia. The virial
paper the virial coefcients are estimated in a zone far above the coefcients have been calculated for the same temperatures as in
critical point, and thus the thermal-physical properties are not the previous case of the acetone, but taking a pressure of 130 atm
affected by trans-critical phenomena. This can be appreciated in so that the excursion of pressures is now higher. It should be re-
Fig. 16, where the calculation of the fugacity based on the esti- marked that the state equation of High Precision leads to values
mation of the virial coefcients is far away the saturation curve. that are almost coincident with the experimental values for coef-
cient B, whereas the state equation of Soave leads to a higher
5.2. Extension to polar gases deviation for the coefcient B (Fig. 18a)). In Fig. 18b) the C coef-
cient shows a higher deviation with respect to the experimental
To demonstrate that our methodology also works properly for data, which is logical since there is more uncertainty in the ex-
polar gases, we shall analyze the acetone and the ammonia. For perimental data for the C coefcient.
this purpose, we shall use the High Precision (HP) state equation Fig. 18c) and d) respectively show the relative error for the
for polar gases given by: pressure obtained from the Soave and High precision state equa-
a( T , ) R( , ) tions and the virial expansions taking two and ve coefcients. It
P ( T , ) = FP = P ( T , ) RT 1 +
should be noted that a range of pressures (between 130 atm and
v
T 400 atm) with a very small error for the High Precision state
equation appears when the number of virial coefcients increases.
= 0; = ;
c Similar results are obtained for the oxygen but taking six virial
Tc R coefcients, as shown in Fig. 13d).
= ( , ) = n1 0.25 + n21.25 + n31.5 + n4 3 0.25 In Fig. 19 the virial coefcients C3C6 are plotted for the SOA and HP
T
state equations. It should be noted that there is not a good agreement
+ n57 0.875 + n6 2.375exp( ) + n7 2 2exp( )
between the results for the SOA and HP state equations due to the
+ n8 5 2.125exp( ) + n9 3.5exp 2 ( ) high initial pressure (Ps 130 atm), since the HP state equation is more
accurate than the SOA state equation at high pressures.
6.5
+ n10 exp ( )+n2
11 exp( )
4 4.75
2

+ n12 212.5 exp( ) 3


(67) 5.3. Stability analysis

as well as the Soave (SOA) state equation given in Eq. (A6) of the In this section we shall corroborate the stability of the control
Appendix A. Fig. 17 shows the results obtained for the acetone structure, and in addition we shall discuss the apparent con-
following the same steps of Section 4 with 10 temperatures be- vergence-divergence of the pressures, specic volumes and piston
tween 550 K and 750 K as well as an initial pressure of 30 atm to positions that appear in Figs. 4a)d), 7, 8a) and 11a)b).
obtain chaotic behavior with the same parameter values of Section
3. The results marked with SOA1 and HP1 have been respectively
obtained through Eqs. (A6) and (67) assuming that six virial
coefcients have been estimated from Eq. (56). These results

Fig. 17. a) Comparison between experimental and chaotic simulation data for the
second virial coefcient obtained from the SOA and HP state equations for the
acetone. From the chaotic data, six virial coefcients are estimated. b) Comparison
between experimental and chaotic simulation data for the third virial coefcient
obtained from the SOA and HP state equations for the acetone. The simulation
results have been obtained by varying harmonically the rst Lyapunov value with
Fig. 16. Variation of the fugacity coefcient for the methane as a function of the C0 0, C1  500 and L 35 rad/s. The initial pressure is Ps 30 atm and the
reduced pressure, obtained at 300 K and 700 K. temperature is between 550 K and 750 K.
500 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

Fig. 18. Estimation of six virial coefcients from the chaotic data. a) Comparison between experimental and chaotic simulation data for the second virial coefcient obtained
from the SOA and HP state equations for the ammonia. b) Comparison between experimental and chaotic simulation data for the third virial coefcient obtained from the
SOA and HP state equations for the ammonia. The simulation results have been obtained by varying harmonically the rst Lyapunov value with C0 0, C1  500 and
L 35 rad/s. The initial pressure is Ps 30 atm and the temperature is between 550 K and 750 K. c) Relative error between the pressure obtained from the SOA and HP state
equations and the one calculated from the chaotic data with two virial coefcients. d) Same as c) but with ve virial coefcients.

Fig. 19. Virial coefcients C3C6 for the ammonia estimated from the chaotic data depicted in Figs. 17, 18a) and b) as a function of the temperature for the SOA and HP state
equations.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 501

The control force on the mobile piston dened in Eq. (7) with force with the purpose of decoupling the mechanical and thermal
fp 1 leads to three equilibrium points for the piston position with subsystems. The thermal subsystem is formed by two heating coils,
respect to the end of the cylinder: P1 (0.2352 m), P2 (0.5154 m) and a linear PI controller and another nonlinear control law with the
P3 (0.7612 m). On one hand, the equilibrium point P2 is always a purpose of stabilizing the gas temperature at a prescribed set point.
unstable saddle (see Fig. 2) that cannot be reached. On the other It has been demonstrated that there are three equilibrium
hand, the equilibrium points P1 and P3 are weak focuses. Conse- points for the piston position, among which two are weak focuses
quently, the stability of P1 and P3 depends on the signs of their rst whereas the third one is always an unstable saddle. This cong-
Lyapunov values: a positive sign for the Lyapunov value implies an uration has been used for determining the rst Lyapunov value in
instable equilibrium point while a negative one implies a stable the mechanical subsystem. By varying harmonically the sign of the
equilibrium point. rst Lyapunov value we have obtained chaotic behavior with large
In order to obtain a chaotic behavior, the C0 parameter of the pressure excursions and with an almost constant gas temperature
mechanical subsystem is varied harmonically with respect to time due to the thermal control law.
(see Eq. (38)). This implies that the rst Lyapunov values of P1 and The chaotic behavior has been corroborated through the sen-
P3 vary harmonically with respect to time in counterphase, i.e. sitive dependence, Lyapunov exponents and the spectral power
when the rst Lyapunov value of P1 is positive the rst Lyapunov density by using cubic (RK, SRK, PR, PRt, VDWt) and non-cubic (BB,
value of P3 is negative and conversely. Consequently, P1 is stable HP) state equations. To corroborate the correctness of the calcu-
when P3 is unstable and conversely, so the behaviors of P1 and P3 lations, it has been checked that the sum of Lyapunov exponents is
are periodically alternating between stable/unstable due to the almost coincident with the mean value of the divergence of the
harmonic variation of their rst Lyapunov values. This behavior vector eld associated to the system. Under the same simulation
can be appreciated in Fig. 20, which shows the (scaled) rst Lya- conditions and parameters, all the state equations lead to chaotic
punov values L1P1(t)/8.108 and L1P3(t)/8.108 corresponding to P1 behavior except the BB equation, for which the simulation para-
and P3 respectively. In addition, Fig. 20 shows the piston position meters must be changed to obtain chaotic oscillations. The almost
xp(t), which has been obtained with the refrigerant R22 (CHClF2)
constant chaotic temperatures are within a narrow range which
as a polar gas and the simulation parameters indicated at legends
been used to adjust a desired number of virial coefcients through
of Figs. 1 and 4.
the least square polynomial.
At t0 the piston position is at P3, and since L1P3(t)/8.108 40 the
From the procedure shown in this paper, it has also been cor-
piston cannot stay at this point and remains with increasing oscil-
roborated that when only the rst and second virial coefcients
lations until it eventually jumps to the equilibrium point P1, which
are adjusted, their values are in very good agreement with the
is stable because its rst Lyapunov value is negative (blue curve). At
experimental data (specially the rst coefcient) for all the in-
approximately tt1 the rst Lyapunov value of P1 becomes positive
vestigated state equations except for the BB state equation. These
whereas the rst Lyapunov value of P3 becomes negative, so the
results indicate that the accuracy and reliability of the obtained
piston cannot stay at P1 and tends to jump to P3 (which occurs at
results depend on the precision of the state equation used for each
tt2). Since this motion is chaotic, it is impossible to predict the
gas in a certain range of pressures and temperatures. However,
exact time for the occurrence of a jump. For these reasons, there are
when three or more virial coefcients are simultaneously adjusted,
transients in the pressure and specic gas volume that sometimes
the accurateness with respect to experimental data decreases only
seem to diverge and sometimes seem to converge.
in the second coefcient.
The estimation of virial coefcients from different state equations
shows that with only two virial coefcients at low temperatures
6. Conclusions
(above the critical one) and high pressures, the relative pressure error
for any state equation (except for BB) is very high. However, as the
In this paper we have presented a mechanical-thermal device
number of virial coefcients increases, the error decreases and be-
from which it is possible to investigate the accurateness of a state
comes acceptable for practical purposes. At high temperatures and
equation for nonpolar real gases through the virial expansion at
high pressures. The mechanical subsystem is formed by a cylinder pressures, the number of virial coefcients can be decreased to ob-
with a mobile piston anchored with a nonlinear spring and a vis- tain a reasonable precision in the gas pressure in comparison with
cous damper, which is actuated by an external nonlinear control the values directly obtained from the state equation.
Finally, we have presented a brief discussion comparing an-
other method to obtain chaotic behavior and how to use it to es-
timate the virial coefcients, as well as an extension to polar gases
and a stability analysis. It has been concluded that the device
analyzed in this work can be used with different chaotic behaviors
to analyze different state equations. In addition, we have obtained
an easy procedure to verify the accurateness of a state equation
expressed in terms of virial coefcients for real gases at high
pressures. As an example, the fugacity coefcient for the methane
has been calculated with ve virial coefcients from the SRK state
equation, showing consistent results in accordance with the
methodology discussed in the manuscript.
As a concluding remark, the main advantages of our metho-
dology can be summarized as follows: (i) it can be applied to es-
timate an arbitrary number of virial coefcients (beyond the
coefcients B and C known experimentally), (ii) it allows to obtain
the virial expansion even at high pressures through induced
Fig. 20. Piston position and scaled rst Lyapunov values L1P1 and L1P3 of the chaotic oscillations and (iii) it allows to elucidate a pressure range
equilibrium points P1 and P3 as a function of the time for the refrigerant R22. for the applicability of a particular state equation.
502 M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503

Appendix A 2
27 ( RTc ) 1 RTc
= a( Tr ); a= ; b= ;
64 Pc 8 Pc
In this appendix we shall dene the parameters of the cubic
equations given by Eq. (44). In all equations, Tr T/Tc and Pr P/Pc mi = 0.48533 + 1.62400 0.218842( Tr )
2
respectively denote the reduced temperature and reduced pres- 0.5
= a 1 mi ( 1 Tr ) ;
sure, whereas Tc and Pc are the critical temperature and critical
pressure respectively. RTc
t0 = (0.0348 + 0.0937 0.16612 + 0.12503)t1
i) State equation of Redlich-Kwong (RK) Pc
RT 3
= c zc ;
( T ) = a( Tr ); 1 = b: = 0; a = 0.42748
( RTc )2 ; Pc 8
Pc zc = 0.2890 0.0701 0.02072;
RTc a = 10.244700 28.631200; t
b = 0.08664 ( Tr ) = 0.5
Pc Tr (A1)
= t0 + (t1 t0)exp( 1 Tc ); 1 = 2( t + b); = Vt2 (A5)

ii) State equation Soave-Redlich-Kwong (SRK) vi) State equation of Soave (SOA)
2
( RTc ) RTc
( T ) = a( Tr ); 1 = b: = 0; a = 0.42748
( RTc )2 ; ( T ) = a( Tr ); 1 = b ; a = 0.42118
Pc
b = 0.08333
Pc
;
Pc
RT 2
RT = 0.001736 c ( Tr )
b = 0.08664 c ( Tr ) Pc
Pc 2

= 1 + 0.48 + 1.574 0.1762 1 Tr0.5
( )(
2
) (
= 1 + 0.4998 + 1.5928 0.195632 + 0.0253 )( 1 T )
0.5
r (A6)
(A2)

iii) State equation Peng-Robinson (PR) References

Abbott, M.M., 1979. Cubic Equation of state: an interpretive review. In: Chao, K.C.,
Robinson Jr., R.L. (Eds.), Equations of State in Engineering and Research, Ad-
( T ) = a( Tr ); 1 = 2b: = b2 ; vances in Chemistry Series 182. American Chemical Society, Washington,
pp. 4770.
a = 0.45724
( RTc )2 ; Albertos, P., Sala, A., 2004. Multivariable Control Systems. Springer, London.
Pc Annamalai, K., Puri, I.K., 2002. Advanced Thermodynamics Engineering, second ed.
CRC Press, Boca Raton, Florida.
RT
b = 0.0778 c ( Tr ) Beattie, J.A., Bridgeman, O.C., 1927. A new equation of state for solids. Am. Chem.
Pc Soc. J. 49, 16651667.
2
Belanger, P.W., Singley, C.D., Misovich, M.J., 1994. Coexistence curve predicted by
= 1 + 0.37464 + 1.5423 0.26692 1 Tr0.5
( )( ) (A3)
the soave-Redlich-Kwong equation in the critical limit. Chem. Eng. Sci. 49,
37873789.
Benettin, G., Galgani, L., Giorgilly, A., Strelcyn, J.M., 1980a. Lyapunov characteristic
exponents for smooth dynamical systems and for Hamiltonian systems: a
method for computing all of them, part I: theory. Meccanica 15, 920.
iv) State equation Peng-Robinson with translation volume (PRt) Benettin, G., Galgani, L., Giorgilly, A., Strelcyn, J.M., 1980b. Lyapunov characteristic
exponents for smooth dynamical systems and for Hamiltonian systems: a
method for computing all of them, part II: numerical applications. Meccanica

= a( Tr ) ; a = 0.45724
( RTc )2 ; 15, 2130.
Chen, L., Zhang, X.R., Cao, S., Bai, H., 2012. Study of trans-critical CO2 natural con-
Pc vective ow with unsteady heat input and its implications on system control, I,
RT J. Heat Mass Transf. 55, 71197132.
b = 0.0778 c mi = 0.384401 + 1.522760 Dymond, J.H., Smith, E.B., 1980. The Virial Coefcients of Pure Gases and Mixtures:
Pc A Critical Compilation. Clarendon Press, Oxford.
0.2138082 + 0.0346163 0.0019764( Tr ) Dymond, J.H., Marsh, K.N., Wilhoit, R.C., Wong, K.C., 2002. Virial Coefcients of Pure
Gases and Mixtures. Springer_Verlag, Berlin.
2
0.5 Elliot, J.R., Daubert, T.E., 1985. Revised procedures for phase equilibrium calcula-
= a 1 mi ( 1 Tr ) t0 tions with the Soave equation of state. Ind. Eng. Chem. Process Des. Dev. 24,
743753.
RTc Fayazi, A., Arabloo, M., Mohammadi, A.H., 2014. Efcient estimation of natural gas
= ( 0.014471 + 0.067498 0.0848522
Pc compressibility factor using a rigorous method. J. Nat. Gas Sci. Eng. 16, 817.
Gmehling, J., Kolbe, B., Kleiber, M., Rarey, J., 2012. Chemical Thermodynamics.
RT 3 Wiley-VCH Verlag, Weinheim, Germany.
+ 0.0672983 0.0173664 )t1 = c zc ;
Pc 8 Goodwin, A.R.H., Sengres, J.V., Peters, C.J. (Eds.), 2010. Applied Thermodynamics of
Fluids. RSC Publishing, Cambridge.
= 10.244700 28.631200; Gosman, A.I., McCarty, R.D., Hust, J.G., 1969. Thermodynamic Properties of Argon.
From the Triple Point to 300 K at Pressures up to 1000 atm, Cryogenic Division.
t = t0 + (t1 t0)exp( 1 Tc ); 1 = 2( t + b); = Vt2 (A4) Institute for Basic Standars NSRDS, pp. 132.
Guckenheimer, J., Holmes, P., 1983. Nonlinear Oscillations, Dynamical Systems and
Bifurcations of Vector Fields. Springer, New York.
where Vt is the translated volume, zc is the critical compressibility Holleran, E., 2007. Improved virial coefcients. Fluid Phase Equilibr. 251, 2932.
coefcient and is the acentric factor. Hougen, O.A., Watson, K.M., Ragatz, R.A., 1954. Industrial Chemical Calculations,
Vol. II Thermodynamics, second ed. John Wiley & Sons, New York.
v) State equation of Van der Waals with translation volume Lichtenberg, A.J., Lieberman, M.A., 1992. Regular and Chaotic Dynamics, second ed.
(VDWt) Springer-Verlag, New York.
M.F. Prez-Polo et al. / Chemical Engineering Science 155 (2016) 482503 503

Mason, E.A., Spurling, T.H., 1968. The Virial Equation of State. Pergamon, New York. Meeting of the American Chemical Society, Portland, Oregon, September 1314.
Meng, L., Duan, Y.-Y., Li, L., 2004. Correlations for second and third virial coefcients Soave, G., 1972. Equilibrium constants from a modied Redlich-Kwong equation of
of pure uids. Fluid Phase Equilibr. 226, 109120. state. Chem. Eng. Sci. 27, 11971203.
Peng, D.-Y., Robinson, D., B., 1976. A new two-constant equation of state. Ind. Eng. Soave, G., 1984. Improvement of the Van Der Waals equation of state. Chem. Eng.
Chem. Fundam. 15, 5964. Sci. 39, 357369.
Prez-Molina, M., Gil-Chica, J., Fernndez-Var, E., Prez-Polo, M.F., 2016. Steady Span, R., 2000. Multiparameter Equations of State. An Accurate Source of Ther-
state, oscillations and chaotic behavior of a gas inside a cylinder with a mobile modynamic Property Data. Springer-Verlag, Berlin, Heidelberg.
piston controlled by PI and nonlinear control. Commun. Nonlinear Sci. Numer. Su, G.-J., Chang, C.-H., 1946. Generized Beattie-Bridgeman equation of state for real
Simul. 36, 468495. gases. J. Am. Chem. Soc. 68, 10801083.
Prez-Polo, M.F., Albertos, P., 2007. Nonisothermal stirred- tank reactor with irre- Tassios, D., 1993. Applied Chemical Engineering Thermodynamics. Springer-Verlag,
versible exothermic reaction A-B: nonlinear phenomena. In: Mndez-Acosta, Berlin.
H.O., Femat, R., Gnzalez lvarez, V. (Eds.), Lecture Notes in Control and In- Tsonopoulos, C., Heidman, J.L., 1985. From Redlich-Kwong to the present. Fluid
formation Sciences vol. 361. Springer-Verlag, Berlin, Heilderberg, pp. 276279. Phase Equilib. 24, 115.
Prez-Polo, M.F., Prez-Molina, M., 2014. Steady-state self oscillations and chaotic Valderrama, J.O., 1990. A generalized Patel-Teja equation of state for polar and
behavior of a controlled electromechanical device by using the rst Lyapunov
nonpolar uids and mixtures. J. Chem. Eng. Jpn. 23, 8791.
value and the Melnikov theory. J. Sound Vib. 333, 11631181.
Valderrama, J.O., 2003. The state of the cubic equations of state. Ind. Eng. Chem.
Poling, B.E., Prausnitz, J.M., Connell, J.P.O., 2001. The Properties of Gases and Liquids,
Res. 42, 16031618.
fth ed. Mc-Graw Hill, New York.
Wei, Y.S., Sadus, R.J., 2000. Equations of state for the calculation of uid-phase
Prausnitz, J.M., Lichtenthaler, R.N., Gomes de Azevedo, E., 2000. Molecular Ther-
equilibria. AIChE J. 46, 160196.
modynamics of Fluid-Phase Equilibria, third ed. Prentice Hall, New York.
Wiggins, S., 2000. Introduction to Applied Nonlinear Dynamical Systems and Chaos,
Redlich, O., Kwong, J., N., S., 1948. On the thermodinamics of solutions. V: an
equation of state. fugacities of gaseous solutions, In: Proceedings of the Sym- second ed. Springer, New York.
posium on Thermodynamics and Molecular Structure of Solutions, 114th Yaws, C.L., 1999. Chemical Properties Handbook. McGraw-Hill, New York.

You might also like