The old Mage spreadsheet comes out, as I'm at a point where I'm contemplating spec choices again.
http://www.sigilguild.net/hamlet/Mage2.xls
Not very user-friendly yet, but should be very functional for people looking to examine deep theorycraft. Just point out any mistakes. So far, it's based on the info people gave me on the TBC Mage Theorycraft thread.
EDIT: User-friendliness update. Basic usage:
Shaded areas are for user editing.
1) In either column 1 or 2 (or both, if you want to compare two setups), enter your gear bonuses, spell choice (Fire, Frost, or Arcane), talents, and buffs.
2) In the box labeled "miscellaneous," there are a few more parameters, most notably an estimate of your casting lag.
3) In the box on the right "Fight length" you can choose which fight durations you want to compute for, and whether to account for evocation, gems, or Major Mana Potions.
4) In the same box, read the computed DPS numbers for both setups over all of the fight durations.
General note:
Accurately estimating caster DPS from first principles is quite hard; there are a number of odd factors at play. The resulting inaccuracy is much greater than for, say, Rogue DPS. However, the relative information (comparison of different builds, behavior of a particular setup over different fight durations, the marginal values of different talents, etc.) should be very accurate, and that's the main function of the chart.
------------
Not currently in:
--Timers (trinkets/combust/WE/etc.)
--non-Clearcasting builds (will work on that; it's kind of baked-in right now).
------------
More advanced:
The confusing part is "casting cycles." These are the basis of my Mage theory. Basically, a casting cycle is a mode of operation, defined by:
1) What to I do on a Clearcast?
2) What to I do on a non-Clearcast?
If you look in the middle of pages 2 and 3, there's a block of 16 cycles, with DPS and MPS computed for each (cycle 1 is Frostbolt/Frostbolt, cycle 16 is wanding). Many of them may be obsolete now, due to the downranking nerf.
It's expected that, in a given fight, you will use two cycles to maximize your damage while running mana precisely to 0 (usually, one high-mana cycle and one low-mana or regen cycle). The mathematical justification for this is here:
http://forums.elitistjerks.com/viewtopic.php?id=7742.
The chart lets you input four such pairs of cycles for each setup, and will return the highest DPS of the four. You input the cycles you want to try out on page 1.
If it becomes clear that Mage downranking is definitely obsolete, I can simplify it a lot.
Example:
In the currently uploaded version, I have my current Fire setup in column 1, and my planned Frost setup for tomorrow in column 2. The gear/talents are input into each column.
In the block labelled "cycle pairs," I've input four pairs of cycles that might be reasonable to compute for each build. In the Fire build, the first is 10/11, where 10 is Scorch/Fireball, and 11 is Fireball/Fireball. The fourth is 12/16, where 12 is Fireball/Missiles, and 16 is wanding. If you look at the block on the right of page 2 or 3, it will compute the DPS of each your four cycle pairs for each fight length, and return the highest one to the front page. So if you ever want to see which spell choice is responsible for the reported DPS on the front page, you have to check that block.
Some things the posted chart is telling me right now:
--My maximum DPS over a 60s period will drop by about 34 tomorrow, when I respec Frost.
--My maximum DPS over a 180s period without Evocation will increase by about 41. If I examine pages 2 and 3, I can find out why. In the Frost build, I can chaincast Frostbolt for nearly the full 3 minutes, but in the Fire build, I've reverted to a Scorch-based cycle over 70% of the time.
--In a Patchwerk situation (6min/evoc/3gem/3pot), I can expect to chain Frostbolt the entire time. Right now, I'm on cycle 10 (scorch-based) 45% of the time.
------------
For simpler usage, you can input one or two setups, ignore the whole "cycle pairs" thing, and just look on pages 2 and 3 to see the DPS and MPS of every cycle. That's a good quick way to evaluate different setups without the whole segment that automatically relates mana usage to fight length.