1 Introduction

Astronomical observations suggest that our universe is expanding, in fact, the observational data from the type-I supernovae proposes that our universe is expanding in an accelerating rate [1,2,3]. Theoretically, this accelerated expansion is due to the creation of a negative pressure implying a positive vacuum energy density which is caused due to a cosmological constant term in the Einstein’s field equation. Such a cosmological constant can be associated with the zero point energy of quantum field theories, however, the value of the cosmological constant obtained from the quantum field theoretical calculations is several orders of magnitude greater than that arising from the observational astronomy. Various models have been proposed to explain the origin of the cosmological constant [4,5,6] including some large distance modifications of general relativity [7]. All of these modifications are mainly constrained in such a way that they are compatible with the theory of general relativity at a scale at which general relativity has been observed [8, 9]. Alternative schemes also exist, for instance, it is possible to obtain a long distance infrared modification of the general relativity along with massive gravitons, where the mass of the graviton can be obtained from the observational data [10]. It may be noted that by adding a small Fierz–Pauli like mass term to the action of general relativity, we do not obtain a stable theory consistent with the zero mass limit [11]. In fact, such type of straightforward modified theories are not physical as they violate the known experimental bounds obtained from solar system tests [8, 9]. The inclusion of non-linearities in some theories, where the Vainshtein mechanism helps to recover General Relativity at the solar system scales [12, 13], gives rise to the Boulware–Deser ghost [14], which can be removed by introducing higher-order terms in the massive action as it was done in the case of the dRGT theory of Massive gravity [15], where a subclass of massive potentials is considered [16, 17]. Within this framework, the higher order-term when grouped with the ghost like term becomes a total derivative and, thus, the action is resumed having two free parameters.

Mass terms can be produced by using many other mechanisms, for instance, by breaking the Lorentz symmetry of the system [18]. Nevertheless, mass terms are very useful and they have been utilized to study various interesting models; such as, in Gauss–Bonnet massive gravity [19]. It has been observed that the massive gravitons can lead to interesting modification of black hole thermodynamics. The modification to the behavior of black hole by the inclusion of graviton mass has also been analyzed in the extended phase space [10] in order to study the phase transition of black holes [20]. Besides, the cosmological solutions [21] and the initial value constraint [22], etc., have been explored in the context of massive gravity.

BTZ black hole is another interesting object which was introduced [23]. It is possible to construct a BTZ black hole in massive gravity. In fact, an asymptotically AdS charged BTZ black hole has been constructed in a massive theory of gravity and various different aspects of such a solution have been studied [24]. In this work, we study both the dynamical and thermodynamical aspects of such a solution. In fact, using the geometrical thermodynamic approaches Weinhold, Ruppeiner and Quevedo metrics have been studied for this system. We analyze the Hawking radiation [25] for such a system using the tunneling formalism [26,27,28,29]. We also analyze the black hole chemistry for this BTZ black hole [30, 31]. This is done by relating each black hole parameter with a chemical equivalent using the first law of thermodynamics. The cosmological constant is considered a thermodynamic parameter related to the pressure of the system [30, 31]. Subsequently, using the pressure-volume terms, we study the heat engines and their efficiency [32, 33].

2 Massive gravity

Let us start by recollecting the notions of three dimensional massive gravity [15]. First, we define the constants for massive gravity \(c_i\) and the symmetric polynomials of the eigenvalues \(\mathcal {U}_i\) of the \(d\times d\) matrix \(\mathcal {K}^\mu _\nu =\sqrt{g^{\mu \alpha }f_{\alpha \nu }}\)

$$\begin{aligned} \mathcal {U}_{1}= & {} [\mathcal {K}],\nonumber \\ \mathcal {U}_{2}= & {} [\mathcal {K}]^2 -[\mathcal {K}^2],\nonumber \\ \mathcal {U}_{3}= & {} [\mathcal {K}]^3 -3[\mathcal {K}][\mathcal {K}^2] + 2[\mathcal {K}^3],\nonumber \\ \mathcal {U}_{4}= & {} [\mathcal {K}]^4 -6[\mathcal {K}^2][\mathcal {K}]^2 + 8[\mathcal {K}^3][\mathcal {K}]+3[\mathcal {K}^2]^2 -6[\mathcal {K}^4],\nonumber \\ \end{aligned}$$
(2.1)

with \([\mathcal {K}]=\mathcal {K}^\mu _\mu \) and \((\sqrt{A})^\mu _\nu (\sqrt{A})^\nu _\lambda =A^\mu _\lambda \). The three dimensional action of massive gravity with an abelian U(1) gauge field and negative cosmological constant is known to have the form [24]

$$\begin{aligned} S= & {} -\frac{1}{16\pi }\int d^{3}x \sqrt{-g} \left[ \mathcal {R}-2\Lambda +L(\mathcal {F}) \phantom {\sum _{i=1}^{4}} \right. \nonumber \\&\quad \left. +\tilde{M}^{2}\sum _{i=1}^{4} c_i\mathcal{U}_i(g, f)\right] , \end{aligned}$$
(2.2)

where \(L(\mathcal {F})\) is the Lagrangian for the vector gauge field, \(\Lambda \) stands for the cosmological constant, \(\mathcal {R}\) represents the scalar curvature and \(\tilde{M},f\) are the mass term and fixed symmetric tensor, respectively. Also, \(\mathcal {F}=F_{\mu \nu }F^{\mu \nu }\) is the Maxwell invariant, with \(F_{\mu \nu }=\partial _\mu A_\nu -\partial _\nu A_\mu \) being the Faraday tensor and \(A_\mu \) being the gauge potential. By using the action (2.2), one can utilize the variational principle to obtain the field equations for gravitation, as computed in [24]. Nevertheless, in order to obtain a static solution of the charged AdS black hole in 3D, we can start with the following ansatz for the metric [24, 34]

$$\begin{aligned} ds^2= -f(r)dt^2 +\frac{dr^2}{f(r)}+r^2 d\phi ^2, \end{aligned}$$
(2.3)

where f(r) is an arbitrary function of the radial coordinate. An exact solution of the metric (2.3) can be obtained by choosing a reference metric as given by

$$\begin{aligned} f_{\mu \nu }=\text {diag}(0,0,c^2h_{ij}), \end{aligned}$$
(2.4)

with c being a positive constant. With the given ansatz (2.4), \(\mathcal {U}_i\)’s can easily be computed as \(\mathcal {U}_1=c/r, \mathcal {U}_2=\mathcal {U}_3=\mathcal {U}_4=0\), which indicates that the contribution of massive gravity is arising only from the \(\mathcal {U}_1\). Furthermore, keeping in mind that we are going to study a linearly charged BTZ black hole, we can choose the Lagrangian of Maxwell field as \(L(\mathcal {F})=-\mathcal {F}\). In addition, by considering a gauge potential related to the radial electric field to be of the form \(A_\mu =h(r)\delta _\mu ^t\), and by following the procedure explained in [24], one obtains an exact form of the radial function f(r) as given by [24]

$$\begin{aligned} f(r)=-\Lambda r^2-m-2q^{2}\ln {\left( \frac{r}{l}\right) }+\tilde{M}^{2}c c_{1} r, \end{aligned}$$
(2.5)

from which one obtains the exact expression of the metric for the massive gravity in the given scenario. Here \(m = 8M\) and \(q = 2Q\), with MQ being the mass and electric charge of the black hole, respectively. Here, l is an arbitrary constant having the dimension of the length, which is arising from the fact that the logarithmic arguments should be dimensionless. In what follows, we shall consider the cosmological constant \(\Lambda =-1/l^2\), since \(\Lambda \) has a dimension of inverse squared length. However, it should be noted that the metric corresponding to (2.5) can also be constructed by using other methods available in the literature. For instance, in [35,36,37,38], the authors have explored a procedure by using the Stückelberg method, where the Stückelberg fields can be considered to be in a unitary gauge, so that the corresponding fiducial metric becomes the Minkowskian. This is the simplest case that one can consider. However, the fiducial metric coming out of such theories may not be unique, as it depends on the choice of the gauge field. If the Stückelberg fields are not in unitary gauge then one obtains an associated fiducial metric also but it is not a Minkowskian anymore. This method is quite simple and, surely, it has its own beauty, however, in this paper, we have constructed the metric from a slightly different procedure as explained earlier in this section, where we have used a reference metric for the purpose.

3 Hawking radiation as tunneling

Among many approaches of analyzing the Hawking radiation of a black hole, in this manuscript we consider the method of quantum tunneling [26,27,28,29]. There are many reasons for this. For instance, other approaches for deriving Hawking radiation deal with the principle of detailed balance, the background geometry is considered fixed and the energy conservation is not enforced during the emission process in general cases. More precisely, in a general cases like massive gravity, the energy conservation is not valid in the usual sense, however, this is because the time-like Killing vector in massive gravity is not defined in the same direction of the ordinary time-coordinate. Actually, the fact is that the black-hole radiation is related to the way how one defines the time (vacuum), therefore, in order to restore the notion of energy conservation for those cases, one can redefine the time, as indicated in [35]. There are many ways to redefine such time coordinate, such as, the path integral method [36, 37], Bogolibov method [38], etc. However, in tunneling formalism the energy conservation is utilized to obtain non-thermal corrections to the spectrum of particles and, thus, this method shows the conservation of energy in a more explicit way. Moreover, as the tunneling process takes place at the horizon, the coordinate system is required to be non-singular at the horizon. Thus, Painlevé coordinates are useful for such analysis [39]. In this formalism it is argued that when a classical stable system becomes quantum mechanically unstable, it is natural to consider tunneling. The Hawking radiation occurs due to the tunneling of virtual particles. The idea is to consider the vacuum fluctuations near the horizon which creates a pair of particle and anti-particle. When a pair is created just inside the horizon, the positive energy particle tunnels across the horizon and escapes to infinity as a Hawking radiation. While the black hole absorbs the negative energy particle and its mass is decreased. Similarly, for the pair which is created outside the horizon, the anti-particle tunnels inside the black hole before it is annihilated. Thus, in both of the cases the black hole absorbs the negative energy particle by decreasing its mass, while the positive energy particle escapes to infinity to be observed as Hawking radiation. Under this formalism, the probability of tunneling is given as [26]

$$\begin{aligned} \Gamma \sim e^{-2 Im \mathfrak {S}}, \end{aligned}$$
(3.1)

where \(\mathfrak {S}\) is the action of the trajectory. The barrier for the tunneling is provided by the outgoing particle itself. Black holes lose energy due to the radiation and, thus, it shrinks in order to conserve the energy. Consequently, the horizon is contracted with respect to its original size and the amount of contraction depends on the energy of the outgoing particle. In this way, the outgoing particle itself provides the barrier. Now, for the case of a massive BTZ black hole the form of the metric is given by (2.3), which reduces to a form with [24]

$$\begin{aligned} f(r)= & {} r^{2}-m-2q^{2}ln(r)-\tilde{M}^{2}c c_{1}r \nonumber \\\simeq & {} r^{2}-m-2q^{2}(r-1)-\tilde{M}^{2}c c_{1}r, \end{aligned}$$
(3.2)

for a constant value of \(l=1\). The horizon for this metric is at

$$\begin{aligned} r_{\pm }=\frac{2q^{2}+\tilde{M}^{2}c c_{1}\pm \sqrt{(2q^{2}+\tilde{M}^{2}c c_{1})^{2}-4(2q^{2}-m)}}{2}, \end{aligned}$$
(3.3)

so that we can write the metric (2.3) in the following modified form

$$\begin{aligned}&ds^2 = -(r^{2}-m-2q^{2}(r-1)-\tilde{M}^{2}c c_{1}r)dt^2\nonumber \\&\quad +(r^{2}-m-2q^{2}(r-1)-\tilde{M}^{2}c c_{1}r)^{-1}dr^2+r^2d\phi ^2.\nonumber \\ \end{aligned}$$
(3.4)

Notice that, at \(r_+\) there is a coordinate singularity, therefore, in order to study the physics across the horizon we need to change the coordinate system again such that the metric is well behaved at the horizon. Therefore, we use the Painlevé time t [39], which defines a new time coordinate with respect to the Schwarzschild time \(t_s\) with an arbitrary function \(\tilde{R}(r)\)

$$\begin{aligned} t&=t_s-\tilde{R}(r),\quad dt=dt_s-\tilde{R}'(r)dr,\nonumber \\ dt^2&=dt^{2}_{s}+\tilde{R}'^2(r)dr^2-2\tilde{R}'(r)drdt_s, \end{aligned}$$
(3.5)

with which we can rewrite (3.4) as follows

$$\begin{aligned} ds^2= & {} -f(r)dt^{2}_{s}+ [f^{-1}(r)-f(r)\tilde{R}'^2(r)]dr^2\nonumber \\&\quad +2f(r)\tilde{R}'(r)drdt_{s}+r^2d\phi ^2. \end{aligned}$$
(3.6)

Since, \(\tilde{R}(r)\) has been considered as an arbitrary function, we have the freedom to specify it in such a way that the coefficient of \(dr^2\) in (3.6) becomes unity and, thus, \(\tilde{R}'(r)=\sqrt{1-f(r)}/f(r)\), so that (3.6) further reduces to

$$\begin{aligned} ds^2=-f(r)dt^{2}_{s}+2\sqrt{1-f(r)}drdt_{s}+dr^2+r^2d\phi ^2.\nonumber \\ \end{aligned}$$
(3.7)

Correspondingly, the radial null geodesic is given by

$$\begin{aligned} 0&=-f(r)dt^{2}_{s}+2\sqrt{1-f(r)}drdt_{s}+dr^2\nonumber \\ 0&=-f(r)+2\sqrt{1-f(r)}\frac{dr}{dt_{s}}+\left( \frac{dr}{dt_{s}}\right) ^2, \end{aligned}$$
(3.8)

so that

$$\begin{aligned} \dot{r}=\pm 1-\sqrt{1-f(r)}, \end{aligned}$$
(3.9)

where the upper (lower) sign corresponds to the outgoing (ingoing) geodesics with the assumption that the time increases towards the future. Let us now consider the pair production inside the horizon at \(r_{in}\simeq r_{+}\). If, \(\omega \) be the energy of the particle created, the mass of the black hole after the emission of the particle becomes \(m-\omega \) and, hence, the horizon contracts from \(r_{in}=\big [2q^{2}+\tilde{M}^{2}cc_1 + \sqrt{(2q^{2}+\tilde{M}^{2}cc_1)^{2}-4(2q^{2}-m)}\big ]/2\) to \(r_{out}= \big [2q^{2}+\tilde{M}^{2}cc_1 + \sqrt{(2q^{2}+\tilde{M}^{2}cc_1)^{2}-4(2q^{2}-m+\omega )}\big ]/2\). The difference between \(r_{out}\) and \(r_{in}\) acts as a barrier of potential \(\mathcal {V}\) for the particle tunneling. In this region, \(\omega < \mathcal {V}\) and, therefore, the action is imaginary which can be written as follows

$$\begin{aligned} \text {Im}\mathfrak {S}= & {} \text {Im}\int _{r_{in}}^{r_{out}} p_{r} dr = \text {Im}\int _{r_{in}}^{r_{out}} \int _{0}^{p_{r}}dp'_{r} dr\nonumber \\= & {} \text {Im}\int _{r_{in}}^{r_{out}}\int _{m}^{m-\omega }\frac{dH}{\dot{r}} dr, \end{aligned}$$
(3.10)

where we use the Hamilton’s equation to replace \(dp'_{r}\) by \(dH/\dot{r}\), followed by a change of variable from momentum to energy. Subsequently, by considering the case of outgoing geodesic in (3.9) we obtain

$$\begin{aligned}&\text {Im}\mathfrak {S} =\text {Im}\int _{r_{in}}^{r_{out}}\int _{0}^{\omega }\frac{-d\omega '}{1-\sqrt{1-f(r)}} dr \end{aligned}$$
(3.11)
$$\begin{aligned}&\quad = \text {Im} \int _{r_{in}}^{r_{out}}\int _{0}^{\omega }\frac{-d\omega '}{1-\sqrt{1-r^{2}+m+2q^{2}(r-1)+\tilde{M}^{2}cc_1r-\omega '}} dr, \end{aligned}$$
(3.12)

where \(H=m-\omega '\). Note that while the self-gravitation of the system is taken into account, the mass of the black hole decreases from m to \(m-\omega '\) and, thus, we replace m by \(m-\omega '\) in (3.12). Now, considering \(u=1-r^{2}+m+2q^{2}(r-1)+\tilde{M}^{2}cc_1r-\omega '\), we have \(du=-d\omega '\), therefore, we can write

$$\begin{aligned} \text {Im}\mathfrak {S}&=Im \int _{r_{in}}^{r_{out}}\int _{u(0)}^{u(\omega )}\frac{du}{(1-\sqrt{u})} dr, \end{aligned}$$
(3.13)

which has a simple pole at \(u=1\) and, thus, the residue at \(u=1\) is \(-2\). Therefore, (3.13) becomes

$$\begin{aligned} \text {Im}\mathfrak {S} =-\text {Im} \int _{r_{in}}^{r_{out}}4\pi dr =-4\pi (r_{out}-r_{in}). \end{aligned}$$
(3.14)

Correspondingly, the transmission probability is given by

$$\begin{aligned} \Gamma (\omega )&\simeq e^{-2 \text {Im}\mathfrak {S}}= e^{8\pi (r_{out}-r_{in})}= e^{8\pi \sigma }, \end{aligned}$$
(3.15)

with

$$\begin{aligned} \sigma =r_{out}-r_{in}&=\frac{-4\omega }{\sqrt{(2q^{2}+\tilde{M}^{2}cc_1)^{2}-4(2q^{2}-m)}}\nonumber \\&\quad +\frac{8\omega ^{2}}{[(2q^{2}+\tilde{M}^{2}cc_1)^{2}-4(2q^{2}-m)]^{3/2}}, \end{aligned}$$
(3.16)

where we have considered the binomial series upto second order in \(\omega \). The second term in the exponential in (3.15) is the non-thermal correction to Hawking radiation, whereas the first order term corresponds to the Boltzmann factor \(exp[-\frac{\omega }{T}]\), such that the Hawking temperature \(T_H\) turns out to be

$$\begin{aligned} T_{H}&=\frac{\sqrt{(2q^{2}+\tilde{M}^{2}cc_1)^{2}-4(2q^{2}-m)}}{32\pi }\nonumber \\&=\frac{2r_{+}-2q^2-\tilde{M}^{2}cc_1}{32\pi }, \end{aligned}$$
(3.17)

where the effect of the massive parameter is clearly visible.

4 Black hole chemistry

It is customary that every black hole parameter is associated with a chemical equivalent compatible with the first law of thermodynamics [30, 31]. Therefore, we can write

$$\begin{aligned} dE&=TdS+VdP+ \text {work terms}, \end{aligned}$$
(4.1)
$$\begin{aligned} dM&=\frac{\kappa }{8\pi }dA+\Omega dJ+\Phi dq, \end{aligned}$$
(4.2)

and compare the mass M with the internal energy E, surface gravity \(\kappa \) with the temperature T and the horizon area A with entropy S, however, we do not have any gravitational analogue for pressure P and volume V in space-time with \(\Lambda =0\). But, for space-time with non-zero cosmological constant it is possible to find an analogue to pressure-volume terms. The basic idea of black hole chemistry is to regard \(\Lambda \) as a thermodynamical variable in analogy to the pressure in the first law. The mass M is then considered to be the gravitational analogue of chemical enthalpy, which we denote by \(M'\). Under this framework, the pressure P is related to cosmological constant \(\Lambda \) as

$$\begin{aligned} P&=-\frac{\Lambda }{8\pi }=\frac{(D-2)(D-1)}{16\pi l^{2}}, \end{aligned}$$
(4.3)

where D is the dimension of the system. The most general Smarr formula [40] for \(D< 4\) for a charged singly-rotating black hole is given by [30, 31]

$$\begin{aligned} (D-3)G_{D}M&=(D-2)TS+(D-2)\Omega J\nonumber \\&\quad -2VP+(D-3)\Phi q, \end{aligned}$$
(4.4)

where J is the angular momentum, \(\Omega \) represents angular velocity and \(G_{D}\) stands for the D-dimensional Newton’s constant. For the case of charged non-massive black holes, (4.4) and the first law of thermodynamics

$$\begin{aligned} dM'=TdS+VdP+\Phi dq, \end{aligned}$$
(4.5)

hold [30], however, our motivation is to test whether both of them are satisfied for the charged massive BTZ black hole with mass term \(\tilde{M}\). Since, in this case, the metric is given by (2.3), we obtain the temperature as follows [30]

$$\begin{aligned} T&=\frac{f'(r_{+})}{2\pi }=\frac{r_{+}}{\pi l^{2}}-\frac{q^{2}}{\pi r_{+}}-\frac{\tilde{M}^{2}cc_1}{2\pi }. \end{aligned}$$
(4.6)

We also compute the entropy S, pressure P and enthalpy \(M'\) as given in the following

$$\begin{aligned} S&=\frac{1}{2}\pi r_{+}, \quad P=\frac{1}{8\pi l^{2}}, \end{aligned}$$
(4.7)
$$\begin{aligned} M'&=\frac{r^{2}_{+}}{4l^{2}}-\frac{q^2}{2}\ln \bigg (\frac{r_{+}}{l}\bigg )-\frac{\tilde{M}^{2}cc_1r_{+}}{4}. \end{aligned}$$
(4.8)

By using the above equations (4.7) and (4.8), we can rewrite the enthalpy as

$$\begin{aligned} M'(S,P,q)=\frac{8S^{2}P}{\pi }-\frac{q^{2}}{4}\ln \bigg (\frac{32PS^{2}}{\pi }\bigg )-4l^{2}\tilde{M}^{2}cc_1SP, \end{aligned}$$
(4.9)

so that the volume V and the electric potential \(\Phi \) turn out to be

$$\begin{aligned} V= & {} \frac{dM'}{dP}\bigg |_{(S,q)}=2\pi r_{+}^{2}-2q^{2}\pi l^{2} -2\pi r_{+}l^{2}\tilde{M}^{2}cc_1, \end{aligned}$$
(4.10)
$$\begin{aligned} \Phi= & {} \frac{dM'}{dq}\bigg |_{(S,P)}=-q\ln \bigg (\frac{r_{+}}{l}\bigg ). \end{aligned}$$
(4.11)

Note that, the volume defined by (4.10) is a thermodynamical volume and is not the usual geometrical volume. Nevertheless, it is easy to cross check that all of our results satisfy the first law of thermodynamics (4.5), which ensure the fact that all of our calculations are indeed correct. However, the Smarr relation (4.4) is not satisfied in the given case as expected and it is indicated already in some articles, for instance in [24, 30], that for massive black holes the usual Smarr relation may be violated and one may need to modify it accordingly. In order to preserve the Smarr relation let us introduce an extra parameter \(\mathcal {G}\) in the Enthalpy \(M'\) (4.8) as follows

$$\begin{aligned} M'= & {} \frac{r^{2}_{+}}{4l^{2}}-\frac{q^2}{2}\ln \bigg (\frac{r_{+}}{l}\bigg )-\frac{\tilde{M}^{2}cc_1r_{+}}{4\mathcal {G}}=\frac{8S^{2}P}{\pi }\nonumber \\&-\frac{q^{2}}{4}\ln \bigg (\frac{32PS^{2}}{\pi }\bigg )-\frac{4l^{2}\tilde{M}^{2}cc_1SP}{\mathcal {G}}, \end{aligned}$$
(4.12)

so that the electric potential remains the same as given by (4.11), however, the volume is modified as

$$\begin{aligned} V= & {} \frac{dM'}{dP}\bigg |_{(S,q,\mathcal {G})}=2\pi r_{+}^{2}-2q^{2}\pi l^{2} -\frac{2\pi r_{+}l^{2}\tilde{M}^{2}cc_1}{\mathcal {G}}\nonumber \\= & {} \frac{8S^2}{\pi }-\frac{q^2}{4P}-\frac{\tilde{M}^2cc_1S}{2\pi P\mathcal {G}}. \end{aligned}$$
(4.13)

Because of the insertion of \(\mathcal {G}\), we are forced to introduce another parameter K

$$\begin{aligned} K=\frac{dM'}{d\mathcal {G}}\bigg |_{(S,P,q)}=\frac{\tilde{M}^2cc_1r_+}{4\mathcal {G}^2}, \end{aligned}$$
(4.14)

which is the thermodynamic conjugate to \(\mathcal {G}\). In order to conserve the first law of thermodynamics, (4.12) enforces us to introduce the parameter \(\mathcal {G}\) into the metric (2.3) also, so that (2.5) is modified to

$$\begin{aligned} f(r)=-\Lambda r^2-m-2q^{2}\ln {\left( \frac{r}{l}\right) }+\frac{\tilde{M}^{2}c c_{1} r}{\mathcal {G}}, \end{aligned}$$
(4.15)

and, thus, the temperature obtains a new form

$$\begin{aligned} T=\frac{f'(r_{+})}{2\pi }=\frac{r_{+}}{\pi l^{2}}-\frac{q^{2}}{\pi r_{+}}-\frac{\tilde{M}^{2}cc_1}{2\pi \mathcal {G}}. \end{aligned}$$
(4.16)

With these new formalism, we propose a generalization of the Smarr formula (4.4)

$$\begin{aligned} (D-3)G_{D}M= & {} (D-2)TS+(D-2)\Omega J-2VP\nonumber \\&-2K\mathcal {G}+(D-3)\Phi q, \end{aligned}$$
(4.17)

which can be applied to the BTZ black holes including the massive case in \(D<4\). It is straightforward to verify that the generalized Smarr relation (4.17) is satisfied with the expressions given in (4.7), (4.12), (4.13), (4.14) and (4.16). Surely, the new results satisfy the first law of thermodynamics (4.5), which ensures that there is no violation of the basic principle even after introducing the new parameter \(\mathcal {G}\). Let us now set out to calculate the Gibbs free energy and its derivative with respect to \(r_+\)

$$\begin{aligned}&G=M'-TS=-\frac{r^{2}_{+}}{4l^{2}}-\frac{q^2}{2}\ln \bigg (\frac{r_{+}}{l}\bigg )+\frac{q^{2}}{2}, \end{aligned}$$
(4.18)
$$\begin{aligned}&\frac{dG}{dr_{+}}=-\frac{r^{2}_{+}+q^{2}l^{2}}{2r_{+}l^{2}} <0. \end{aligned}$$
(4.19)

Note that the Gibbs free energy G does not have any additional effect arising from the new parameter \(\mathcal {G}\), viz., (4.18) remains invariant with any of the formalisms considered, and so the second equation (4.19). In rest of the article we shall only explore the case where the parameter \(\mathcal {G}\) is considered, since the other case does not satisfy the Smarr relation and we consider that case to be non-physical. Nevertheless, the second equation (4.19) implies that the massive charged BTZ black hole does not admit any critical Van der Waals behavior. While verifying the validity of the Reverse Isoperimetric Inequality [30], we find

$$\begin{aligned} \mathfrak {R}= & {} \frac{2\pi }{A}\sqrt{\frac{V}{2\pi }}=\sqrt{1-\frac{q^{2}l^{2}}{r_{+}^{2}}-\frac{l^{2}\tilde{M}^{2}cc_1}{\mathcal {G}r_{+}}} < 1,\nonumber \\&\quad {\text {with}}~ A=4S, \end{aligned}$$
(4.20)

which means that in our case for all non-zero q and \(\tilde{M}\) the Reverse Isoperimetric Inequality (4.20) is violated and, hence, the entropy exceeds the expected thermodynamic maximum giving rise to a super-entropic black hole. People sometimes try to restore the Reverse Isoperimetric Inequality by introducing a new thermodynamical variable, for instance, in [30] the authors include a renormalization length scale to make the isoperimetric ratio \(\mathfrak {R}\ge 1\). However, in our case we notice that because of the presence of the massive parameter \(\tilde{M}\) it is never possible to make \(\mathfrak {R}\ge 1\) and, thus, the BTZ black hole in massive gravity remains super-entropic always. It should be noted that the super-entropic solution is sometimes even more interesting than the ordinary AdS black holes satisfying Reverse Isoperimetric Inequality. They give rise to non-compact event horizons with finite area, for further details on the interesting facts about the super-entropic black holes, one may see, for instance [41].

5 Heat engines

In this section, we explore the behavior of a massive charged BTZ black hole (4.4) as a heat engine [32, 33]. Our main interest is to calculate the efficiency \(\eta \) of the cycle

$$\begin{aligned} \eta&=\frac{W}{Q_{H}}=1-\frac{Q_{C}}{Q_{H}}, \end{aligned}$$
(5.1)

where W is the net output work and \(Q_{H},Q_{C}\) are the net input and output heat flow, respectively. We will now consider a rectangular cycle in the \(P-V\) plane, which is familiar as the Carnot cycle. This rectangle will be in (PV) coordinates with the corner points described by \((P_{i},V_{j})\), where \(i=T,B\) stand for top and bottom and \(j=L,R\) denote the left and right. The efficiency of the Carnot cycle is [32]

$$\begin{aligned} \eta&=\frac{W}{Q_{H}}=\frac{(P_{T}-P_{B})(V_{R}-V_{L})}{M'(P_{T},V_{R})-M'(P_{B},V_{L})-V_{L}(P_{T}-P_{B})}. \end{aligned}$$
(5.2)

The total amount of work done is given by the area enclosed by the rectangle. As we see that S in (4.7) and V in (4.13) are not independent, thus, the adiabats and isochores are the same [33]. Consequently, the Carnot and the Stirling cycles coincide. Nevertheless, in order to compute the efficiency (5.2), we first solve S from (4.13) as \(S=(\tilde{M}^2cc_1\pm A_1)/(32P\mathcal {G})\), with \(A_1(P,V)=\sqrt{\tilde{M}^4c^2c_1^2+32\pi P\mathcal {G}(q^2+4PV)}\) and then substitute the solution in (4.12), so that we obtain the enthalpy as

$$\begin{aligned} M'(P,V)= & {} PV+\frac{q^2}{4}\left\{ 1+ln(32\pi P)+2ln\left( \frac{\mathcal {G}}{A_1\pm \tilde{M}^2cc_1}\right) \right\} \nonumber \\&\mp \frac{\tilde{M}^2cc_1 (A_1\pm \tilde{M}^2cc_1)(8\pi Pl^2\mathcal {G}-1)}{64\pi P\mathcal {G}^2}. \end{aligned}$$
(5.3)

Now, \(M'(P_{T},V_{R})\) and \(M'(P_{B},V_{L})\) can be obtained by replacing P by \(P_T,P_B\) and V by \(V_R,V_L\) in (5.3), respectively, so that we can compute the efficiency (5.2) as

$$\begin{aligned} \eta =\frac{64\pi P_TP_B\mathcal {G}^2(P_{T}-P_{B})(V_{L}-V_{R})}{\mathcal {N}}, \end{aligned}$$
(5.4)

with

$$\begin{aligned} \mathcal {N}&=16\pi P_TP_B\mathcal {G}^2 \left[ 4P_T(V_L-V_R)+q^2ln\left\{ \frac{P_B(A_2\pm \tilde{M}^2cc_1)^2}{P_T(A_3\pm \tilde{M}^2cc_1)^2}\right\} \right] \nonumber \\&\quad +\tilde{M}^4c^2c_1^2(P_T-P_B) \nonumber \\&\quad +\tilde{M}^2cc_1 \{P_B [\pm 8\pi l^2P_T\mathcal {G}(A_2-A_3)\mp A_2]\pm A_3P_T \}, \end{aligned}$$
(5.5)

where \(A_2=A_1(P_T,V_R)\) and \(A_3=A_1(P_B,V_L)\). Therefore, we notice that the mass term \(\tilde{M}\) has a significant effect on the efficiency of the heat engine. The form of the efficiency in (5.4) along with (5.5) stands for a complete general expression for the massive BTZ black hole, which one can analyze further.

6 Concluding remarks

We have studied a black hole solution of a charged massive BTZ black hole by using the Vainshtein and dRGT mechanism and analyzed the effects of such black hole in different scenarios. In particular, we have studied the Hawking radiation form this solution by utilizing the tunneling formalism. The solution that we obtain violates the Reverse Isoperimetric Inequality and, thus, they are super-entropic. They also do not admit any critical Van der Walls behavior. Moreover, we have explored the black hole chemistry followed by the efficiency of a heat engine from the PV diagram for this system. Our results show that unlike the ordinary BTZ black holes, the thermal fluctuation is absent in the massive gravity case. Thus, the BTZ black holes in massive gravity scenario are free from instabilities which is perhaps one of the greatest shortcomings for ordinary BTZ black holes. Furthermore, since the thermal fluctuations may be interpreted as quantum effects, the massive gravity does not feel important quantum effects.

There are many interesting aspects which can be followed from our results. Firstly, it would be interesting to analyze the holographic entanglement entropy and holographic complexity dual to the BTZ AdS black hole. Secondly, the holographic conductivity has also been analyzed in certain aspects of massive gravity [42]. Therefore, it would be interesting to analyze such effects in our case also. Finally, our solution can be used to construct a CFT dual by using the standard formulation of AdS/CFT correspondence [43,44,45,46,47].