def calculate_integral_over_T(self, T1, T2, method):
if method == PERRY151:<EOL><INDENT>S2 = (self.PERRY151_const*log(T2) + self.PERRY151_lin*T2 <EOL>- self.PERRY151_quadinv/(<NUM_LIT>*T2**<NUM_LIT:2>) + <NUM_LIT:0.5>*self.PERRY151_quad*T2**<NUM_LIT:2>)<EOL>S1 = (self.PERRY151_const*log(T1) + self.PERRY151_lin*T1<EOL>- self.PERRY151_quadinv/(<NUM_LIT>*T1**<NUM_LIT:2>) + <NUM_LIT:0.5>*self.PERRY151_quad*T1**<NUM_LIT:2>)<EOL>return (S2 - S1)*calorie<EOL><DEDENT>elif method == CRCSTD:<EOL><INDENT>S2 = self.CRCSTD_Cp*log(T2)<EOL>S1 = self.CRCSTD_Cp*log(T1)<EOL>return (S2 - S1)<EOL><DEDENT>elif method == LASTOVKA_S:<EOL><INDENT>dS = (Lastovka_solid_integral_over_T(T2, self.similarity_variable)<EOL>- Lastovka_solid_integral_over_T(T1, self.similarity_variable))<EOL>return property_mass_to_molar(dS, self.MW)<EOL><DEDENT>elif method in self.tabular_data:<EOL><INDENT>return float(quad(lambda T: self.calculate(T, method)/T, T1, T2)[<NUM_LIT:0>])<EOL><DEDENT>else:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>
r'''Method to calculate the integral of a property over temperature
        with respect to temperature, using a specified method. Implements the 
        analytical integrals of all available methods except for tabular data.

        Parameters
        ----------
        T1 : float
            Lower limit of integration, [K]
        T2 : float
            Upper limit of integration, [K]
        method : str
            Method for which to find the integral

        Returns
        -------
        integral : float
            Calculated integral of the property over the given range, 
            [`units`]