So the forum has been pretty slow lately, I thought I'd get everyone's opinions on some numbers I've been crunching in regards to Stables vs. TG's.
**Warning! Calculus ahead!**
I started with just trying some different ratios and determined there is (sometimes) an optimum balance between the two.
Starting with a few definitions:
raw = the raw OPA from elites/specs/soldiers
per = the percent of land available for stables/TG's
be = building efficiency
tg = percentage of land to devote to Training Grounds
st = (per-tg) = percentage of land to devote to Stables
So,
OPA = (raw + (60*st))*(1+(1.5*be*tg*(1-tg)))
substituting (per-tg) for 'st', we get
OPA = (raw + (60*(per-tg)))*(1+(1.5*be*tg*(1-tg)))
Now, to find the optimum, I differentiate with respect to 'tg'
dOPA/dtg =((raw + (60*(per - tg)))*(1.5*be*(1 - tg) - (1.5*be*tg))) -
(60*(1 + 1.5*be*(1 - tg)*tg))
. . . and set the derivative equal to 0
0 = ((raw + (60*(per - tg)))*(1.5*be*(1 - tg) - (1.5*be*tg))) -
(60*(1 + 1.5*be*(1 - tg)*tg))
Here's where it gets complicated. The optimum 'tg/st' ratio is a function of 3 variables (raw, per, and be). As an example, I'll use typical values for 'raw' and 'be', and give the optimum 'tg' and 'st' values as functions of 'per'.
So, letting be = 1, and raw = 60, we get
tg = 0.00185185*(360 + (180*per) - (180*Sqrt[3 + per + per^2]))
(the other solution is nonsensical)
Looking at this equation, it is clear that if 'per' is less than 11% it doesn't make sense to use any stables at all. However, as 'per' increases, the optimum percentage of stables increases (at per = 25%, tg =14% and st = 11%).
Of course, as 'be' or 'raw' increases, the solution will yield more TG"s, as they benefit from higher BE and higher raw OPA.
Likewise, the Artisan personality will yield more stables in the solution.
I'd love some input from the community, i.e. ideas, things I've overlooked, etc.