Characterization of petroleum fractions