Fun you ask this.

There once was a guy at Schlumberger who I met briefly who was do just this. He wrote the program in Visual Basic but I do not have it. The idea was to look for infill drilling opportunities. However this is all I can offer as since then I hardly saw this in use. Why? Because large companies ran simulations to try to answer this question.

[link Point to another website Only the registered members can access]

[link Point to another website Only the registered members can access]

[link Point to another website Only the registered members can access]
Enjoy :-)