Page 2 of 3

RE: R&D Investment Returns

Posted: Sun Jan 29, 2012 8:16 pm
by PaxMondo
ORIGINAL: SuluSea

Guys , I was under the impression that the engine bonus was an idea Micheal had considered and did not make it into a beta patch.
Not aware that it has gone into the patch. Michael considered it, but I don't beleive it was been added.


I would like to see an AAR with someone pursuing this production strategy though (putting a horde of R&D onto just one air frame to try and maximize its advance). I think it would put to rest a lot of threads on this topic.

RE: R&D Investment Returns

Posted: Sun Jan 29, 2012 8:19 pm
by Dan Nichols
ORIGINAL: ny59giants

Here are my Franks for the last few weeks. You can see the 4 points per day.

What version of the game are you using?

What do your Nakajima Ha-45 factories look like?

RE: R&D Investment Returns

Posted: Sun Jan 29, 2012 8:26 pm
by sanderz
Is that the beta version of Tracker 1.9?

RE: R&D Investment Returns

Posted: Sun Jan 29, 2012 8:34 pm
by nashvillen
ORIGINAL: sanderz

Is that the beta version of Tracker 1.9?

I can't get 1.8 to do that... Must be!

Tracker 1.9 [&o][&o][&o]

RE: R&D Investment Returns

Posted: Sun Jan 29, 2012 9:35 pm
by ny59giants
I'm working on a mod with Damian, so I got an advance file of Tracker. One of the "perks." [;)]

Image

RE: R&D Investment Returns

Posted: Mon Jan 30, 2012 1:50 am
by n01487477
Thanks Guys for the compliments.

The Engine bonus is still there. Here is my test under the latest beta. Note when Engines hit 500, the R&D bonus kicks in. I'll come back later and say what I'd like done to the R&D model (again) [;)] (as you all know I'm advocating a much stricter ability). Gotta head out for a bit ...

Image

RE: R&D Investment Returns

Posted: Mon Jan 30, 2012 8:41 pm
by rader
ORIGINAL: SuluSea

I think if a game is played with the current research rules, it is not viable for the jap player to accelerate ki83 and shindens by that much. Tonys yes, but not the rest. Yours is a separate case where rader had the advantage of a wrong formula in the mid-game. Even then, as we can see it is still a uphill struggle for Japan.

I doubt it made much difference. We used this patch for all of 3 turns, and were one of the first groups to point out problems with it...

Try putting 17 size 30+ factories on Shinden R&D (with tons of Ha-43 engines) and start your research on December 7, 1941. A year or so is exactly what you get.

RE: R&D Investment Returns

Posted: Mon Jan 30, 2012 8:47 pm
by n01487477
ORIGINAL: rader
ORIGINAL: SuluSea

I think if a game is played with the current research rules, it is not viable for the jap player to accelerate ki83 and shindens by that much. Tonys yes, but not the rest. Yours is a separate case where rader had the advantage of a wrong formula in the mid-game. Even then, as we can see it is still a uphill struggle for Japan.

I doubt it made much difference. We used this patch for all of 3 turns, and were one of the first groups to point out problems with it...

Try putting 17 size 30+ factories on Shinden R&D (with tons of Ha-43 engines) and start your research on December 7, 1941. A year or so is exactly what you get.
Exactly what I thought you had done...a lot of investment for a good return. Remember people -> The opportunity cost is high to achieve these results.

RE: R&D Investment Returns

Posted: Mon Jan 30, 2012 9:39 pm
by SuluSea
ORIGINAL: rader

ORIGINAL: SuluSea

I think if a game is played with the current research rules, it is not viable for the jap player to accelerate ki83 and shindens by that much. Tonys yes, but not the rest. Yours is a separate case where rader had the advantage of a wrong formula in the mid-game. Even then, as we can see it is still a uphill struggle for Japan.

I doubt it made much difference. We used this patch for all of 3 turns, and were one of the first groups to point out problems with it...

Try putting 17 size 30+ factories on Shinden R&D (with tons of Ha-43 engines) and start your research on December 7, 1941. A year or so is exactly what you get.

Actually those are awaw's words but I agreed with it with the below. [:)]
This is exactly correct , who knows how many months he advanced because of the bugged part of the game. The continuing posting of how far rader accelerated his late war airframes is misleading to some if information about the bug is not included.

I'd be surprised if someone could bump up the Shinden that far but I'd note if they did it be at the expense of other valuable assets in the Nippon war chest.


Rader, I'm glad you chimed in - According to my math you invested 22% of your starting R&D facilities on that airframe IMO there should be no complaints about you having it.

RE: R&D Investment Returns

Posted: Tue Jan 31, 2012 12:15 am
by awaw
Try putting 17 size 30+ factories on Shinden R&D (with tons of Ha-43 engines) and start your research on December 7, 1941. A year or so is exactly what you get.

17 factory x size 30 = 500,000 supply for repairs, that is half the starting supply that Japan gets in scenario 1 (I am a scen 1 guy, not sure what that translates to in scen 2) That is a HUGE commitment. This is where I presume the extra supply from India made a difference, it allowed for a more bigger research base than what a "normal" Japanese perimeter would have been able to support.

I hope fow is not an issue here, but a 2nd point I will like to clarify is, with the above research plan, what was the date when the first factory is FULLY REPAIRED? By that same date, how many "advances" of Shinden have you collected?

RE: R&D Investment Returns

Posted: Tue Jan 31, 2012 3:43 pm
by Alfred
The supply cost is not frontloaded. So the demand on the December 7th supply stocks in the Home islands is considerably less.

Alfred

RE: R&D Investment Returns

Posted: Thu May 03, 2012 7:38 pm
by alimentary
ORIGINAL: awaw
I hope fow is not an issue here, but a 2nd point I will like to clarify is, with the above research plan, what was the date when the first factory is FULLY REPAIRED? By that same date, how many "advances" of Shinden have you collected?

I have a program to estimate this.

From 12/41 to 12/45 (nominal arrival date of the Shinden) is roughly 1455 days.

By day 787 you should have a 10% chance of full repairs on any given factory
By day 914 you should have a 50% chance of full repairs on any given factory
By day 1032 you should have a 90% chance of full repairs on any given factory

That's February of 1943 for the 10% level, June of 1943 for the 50% level and
October of 1943 for the 90% level.

This careful estimate matches well with the naive estimate:

days to full repair = days to availability * (1 - 1/e)

Where e is Euler's number, 2.71828 = lim x->oo ( 1 + 1/x ) ** x

The program explicitly computes the probability distribution of possible
repaired factory sizes on every day from the starting day to the
arrival day and reports the probability of full repairs on each day.

RE: R&D Investment Returns

Posted: Thu May 03, 2012 8:58 pm
by kmitahj
This careful estimate matches well with the naive estimate:

days to full repair = days to availability * (1 - 1/e)

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 [:)]


RE: R&D Investment Returns

Posted: Thu May 03, 2012 9:36 pm
by alimentary
ORIGINAL: kmitahj
This careful estimate matches well with the naive estimate:

days to full repair = days to availability * (1 - 1/e)

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.

RE: R&D Investment Returns

Posted: Thu May 03, 2012 11:55 pm
by Mike Solli
ORIGINAL: alimentary
ORIGINAL: kmitahj
This careful estimate matches well with the naive estimate:

days to full repair = days to availability * (1 - 1/e)

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.



RE: R&D Investment Returns

Posted: Fri May 04, 2012 6:51 am
by BigBadWolf
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.



And than you hear AFBs complain about Japanese R&D. You need PhD in math just to comprehend the damn thing, let alone make it work [:D]

RE: R&D Investment Returns

Posted: Fri May 04, 2012 1:37 pm
by kmitahj
ORIGINAL: alimentary
Let me see if I can reconstruct the logic...

[...]

Q.E.D.

Thanks, I'm convinced now. Mathematics has spoken, the case is closed! [:D].
It's refreshing to see somebody still able to use pencil and his brain instead of depending on the computer at every occcasion.

For your perl script there is one minor change you may consider:
# A factory generates research if it was fully repaired at the start of the day.
$p = ($maxsize+1)/30;
Reason for that "+1" is that production formula is (or at least was last time I've checked): (RepairedSize+RAND1(30))/30 which result on average in one "bonus" production point every 30 days. Minor fix and relevant only to small facilities (maxsize<30) which are suboptimal anyway.
More interesting from practical point of view may be taking into accout for research results estimation (as an option?) new (mis?)feature of of engine bonus which was discovered by Damian (n01487477).
Another - and really challenging task I think - may be taking into account in your script that number of days till availability ($days) isn't really a fixed number but random variable. Every day there is a nonzero probability p that total of 100 r/d pts is reached is a day when $days variable is reduced by 30 (well, actually by length of calendar month which introduces minor variability) with probability p or stay unchanged with probability (1-p). Such "quantum" leaps potentially influence further calculations of distribution as well as limit number of days over which research points can be cumulated. This of course does not matter that much when we have only one factory ($facilities=1) beacuse in this case whole distribution must be already condensed on the last (maxsize) column but when having many factories some of them will repair and start generating r/d pts earlier and will influence probabilities of repair process for slower factories.
ORIGINAL: BigBadWolf
And than you hear AFBs complain about Japanese R&D. You need PhD in math just to comprehend the damn thing, let alone make it work

Hey, it is not so bad as it looks. First practical result from alimentary work is solid estimation of time needed to repair fully damaged r/d factory: 63% of initial time till availability will be on average needed for repair with only slightly more then 1/3 of that initial time left for research points generation. It is just first approximation and you may expect serious dispersion of repair time for single factories around this value but using probability distribution so nicely generated by script provided by alimentary you can - when you really care - find precise answer on more complicated questions (like: what is an exact chance that my factory will repair after given fixed number of days). And the script is also helpful when you start with only partially damaged factory.

As for AFB complains one thing is clear. Due to mentioned already in that thread new features like engine bonus and the trick (or rather cheat) of damage-free transition of r/d factories along aircraft upgrade path aircraft research is currently much, much, much easier in AE then it was in classic WitP. And contrary to OP you could achieve really decent research results in classic WitP if you knew what you were doing!

RE: R&D Investment Returns

Posted: Fri May 04, 2012 5:22 pm
by Kitakami
ORIGINAL: kmitahj
<snip>
Hey, it is not so bad as it looks. First practical result from alimentary work is solid estimation of time needed to repair fully damaged r/d factory: 63% of initial time till availability will be on average needed for repair with only slightly more then 1/3 of that initial time left for research points generation. It is just first approximation and you may expect serious dispersion of repair time for single factories around this value but using probability distribution so nicely generated by script provided by alimentary you can - when you really care - find precise answer on more complicated questions (like: what is an exact chance that my factory will repair after given fixed number of days). And the script is also helpful when you start with only partially damaged factory.
<snip>

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.

RE: R&D Investment Returns

Posted: Fri May 04, 2012 7:51 pm
by alimentary
ORIGINAL: kmitahj


For your perl script there is one minor change you may consider:
# A factory generates research if it was fully repaired at the start of the day.
$p = ($maxsize+1)/30;
Reason for that "+1" is that production formula is (or at least was last time I've checked): (RepairedSize+RAND1(30))/30 which result on average in one "bonus" production point every 30 days. Minor fix and relevant only to small facilities (maxsize<30) which are suboptimal anyway.

Another - and really challenging task I think - may be taking into account in your script that number of days till availability ($days) isn't really a fixed number but random variable. Every day there is a nonzero probability p that total of 100 r/d pts is reached is a day when $days variable is reduced by 30 (well, actually by length of calendar month which introduces minor variability) with probability p or stay unchanged with probability (1-p). Such "quantum" leaps potentially influence further calculations of distribution as well as limit number of days over which research points can be cumulated. This of course does not matter that much when we have only one factory ($facilities=1) beacuse in this case whole distribution must be already condensed on the last (maxsize) column but when having many factories some of them will repair and start generating r/d pts earlier and will influence probabilities of repair process for slower factories.

Both of your comments on the script are apt. I have incorporated corrections. The result is far from adequately tested but is provided here for your use. I have removed the earlier code version from the previous reply.

EDIT: Far from adequately tested was an understatement. Several errors corrected

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.

RE: R&D Investment Returns

Posted: Sat May 05, 2012 12:38 am
by 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) ?