I made an open source program that simulates a battle in any version of A&A (except D-Day) 100,000 times and displays the results as to who won what percentage of the time.  This is a very early version and I plan to include more things that can be useful like average number of units lost and the such.  Please take a look at it and if you have any suggestions leave them here or email me.  I also have the source available for anyone other coders out there (its C# .NET 2.0), though I will go ahead and warn you its not well commented right now and the code is pretty messy.  I do plan on cleaning it up though.

Thanks!

Program - http://www.justynhunter.com/files/BattleSim.zip
Source - http://www.justynhunter.com/files/BattleSim.Source.zip

You will need the .NET framework 2.0 which you can get here: http://www.microsoft.com/downloads/details.aspx?FamilyID=B7ADC595-717C-4EF7-817B-BDEFD6947019&displaylang=en