ORIGINAL: n01487477
Would you mind if I borrowed/adapted this formula for later iterations of Tracker - not 1.9 as it is about due but 2.0(as an estimate of repairs to R&D factories) ?
Please feel free.
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
Post by alimentary »
ORIGINAL: n01487477
Would you mind if I borrowed/adapted this formula for later iterations of Tracker - not 1.9 as it is about due but 2.0(as an estimate of repairs to R&D factories) ?
Post by Hanzberger »
ORIGINAL: n01487477
Would you mind if I borrowed/adapted this formula for later iterations of Tracker - not 1.9 as it is about due but 2.0(as an estimate of repairs to R&D factories) ?
Yes, I agree. That is what I used to aim at in old WitP: make a plan, setup research factories early and then... be patient. Very patient. At the beginning tempo of repair for late-war planes will be agonizingly slow which - as you said - has a good side effect of beeing light on supply usage.ORIGINAL: Kitakami
If it is so, then it makes MUCH sense to set a few factories to research the late fighters... they will come online slowly, so the economic impact should not be felt as much, but 37% of many months is a LOT of research time... a couple of airframes could be accelerated quite a bit. I guess the Frank is a given, but as I see things, there are enough R&D factories to research another late (maybe IJN?) fighter.
Just my 2 centavos.
Thanks for taking the challenge. To be honest I can't say anything (at least anything consistent) pro or contra regarding correctnies of your approximation. I see it reduces nicely when $facilities=1 but that's it - beyond that my intuition simply refuses to cooperate with me [;)]ORIGINAL: alimentary
The approach I took on the latter challenge was to model the possibility of an
advance in availability date (and the resulting increase in factory repair rate)
by taking the expected value of the research to date _from all of the "other"
factories_. When that exceeds 100 points, availability moves up and repair
rates increase to match.
If you are estimating for 1 factory, this correction has no effect.
If you are estimating for 30 factories, I _think_ that this results
in an unbiased estimator.
# First, figure the number of research points per factory per turn
# complete repairs.
$p = ($maxsize+1)/30;
if ( $p > 30 ) { <--here: $p > 1
$p = 1;
};
Post by alimentary »
ORIGINAL: kmitahj
ORIGINAL: Kitakami
Btw, before I forget: I think there is a typo in the script in place marked below:# First, figure the number of research points per factory per turn
# complete repairs.
$p = ($maxsize+1)/30;
if ( $p > 30 ) { <--here: $p > 1
$p = 1;
};
Post by Hanzberger »
ORIGINAL: Mike Solli
ORIGINAL: alimentary
ORIGINAL: kmitahj
Interesting result! Did you reach that DOA*(1-exp(-1)) in analytical way? If so you seem to be one of that few human beeings left which are adept in an ancient art of mathematics [&o]. When I was working on it I limited myself to running series of simulations on large number of input data (DOA & fab sizes) and was happy to see that no matter what was the starting point all results seem to converge to single factor which I estimated at about 0.63 of DOA. (or in other words 37% of DOA time left for r/d pts generation when starting from fully damaged factory). Your results seem to confirm my rough estimations which made me happy [:)]
Let me see if I can reconstruct the logic...
The formula for R&D factory repair is that the probability of repair is
such that you get a fraction 1/(days_to_nominal_arrival) of the
factory's total fully-repaired size repaired each day.
100 days to arrival, factory size 1 = 1% chance of 1 repair
100 days to arrival, factory size 30 = 30% chance of 1 repair
1000 days to arrival, factory size 30 = 3% chance of 1 repair
In general, if you go 10% of the way to the scheduled arrival
date, you get 10% of the capacity repaired. Or if you go
1% of the way to the schedule arrival date, you get 1% of
the capacity repaired.
So the first 10% of the repairs will take the time remaining
down to 90% of the original time remaining. [As a crude
estimate]
Or the first 1% of the repairs will take the time remaining
down to 99% of the original time remaining. [As a better
estimate]
And the next 1% of the repairs will take the time remaining
down to 99% of _that_.
If you count it out in 10% increments then the formula is
(1 - 1/10) ** 10
If you count it out in 1% increments then the formula is
(1 - 1/100) ** 100
As the number of days to nominal availability increases
without bound, you get
lim x->oo (1 - 1/x) ** x
Now for x very large there is an approximation that applies
here:
1 - 1/x ~= 1 / (1 + 1/x)
[e.g. .99 ~= 1/1.01]
so the above limit is equal to:
lim x->oo 1/(1 + 1/x) ** x
Which is equal to
1 / lim x->oo (1 + 1/x) ** x
Which is clearly equal to 1/e
If that's the fraction of time remaining left at the moment of
full repairs then the time to full repair is 1 - 1/e of the way
through the interval.
Q.E.D.

Return to “War in the Pacific: Admiral's Edition”

