prototype thesis for petroleum engineering