Lithological and petrophysical modeling of oil and gas complexes