R&D Investment Returns

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
PaxMondo
Posts: 11311
Joined: Fri Jun 06, 2008 3:23 pm

RE: R&D Investment Returns

Post 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.
Pax
User avatar
Dan Nichols
Posts: 863
Joined: Mon Aug 29, 2011 11:32 pm

RE: R&D Investment Returns

Post 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?
I think that the two obligations you have are to be good at what you do and then to pass on your knowledge to a younger person
sanderz
Posts: 867
Joined: Thu Jan 08, 2009 2:39 pm
Location: Devon, England

RE: R&D Investment Returns

Post by sanderz »

Is that the beta version of Tracker 1.9?
User avatar
nashvillen
Posts: 3835
Joined: Mon Jul 03, 2006 3:07 am
Location: Christiana, TN

RE: R&D Investment Returns

Post 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]
Image
User avatar
ny59giants
Posts: 9902
Joined: Mon Jan 10, 2005 12:02 pm

RE: R&D Investment Returns

Post by ny59giants »

I'm working on a mod with Damian, so I got an advance file of Tracker. One of the "perks." [;)]

Image
Attachments
Engines.jpg
Engines.jpg (232.18 KiB) Viewed 793 times
[center]Image[/center]
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: R&D Investment Returns

Post 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
Attachments
RD.jpg
RD.jpg (150.47 KiB) Viewed 792 times
User avatar
rader
Posts: 1241
Joined: Mon Sep 13, 2004 6:06 pm

RE: R&D Investment Returns

Post 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.
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: R&D Investment Returns

Post 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.
User avatar
SuluSea
Posts: 2414
Joined: Fri Nov 17, 2006 2:13 pm

RE: R&D Investment Returns

Post 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.
"There’s no such thing as a bitter person who keeps the bitterness to himself.” ~ Erwin Lutzer
awaw
Posts: 147
Joined: Mon Jan 11, 2010 9:47 pm

RE: R&D Investment Returns

Post 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?
Alfred
Posts: 6683
Joined: Thu Sep 28, 2006 7:56 am

RE: R&D Investment Returns

Post 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
alimentary
Posts: 142
Joined: Mon Mar 22, 2010 6:56 pm

RE: R&D Investment Returns

Post 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.
kmitahj
Posts: 100
Joined: Sun Apr 24, 2011 10:31 pm

RE: R&D Investment Returns

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

alimentary
Posts: 142
Joined: Mon Mar 22, 2010 6:56 pm

RE: R&D Investment Returns

Post 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.
User avatar
Mike Solli
Posts: 16792
Joined: Wed Oct 18, 2000 8:00 am
Location: the flight deck of the Zuikaku

RE: R&D Investment Returns

Post 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.


Image
Created by the amazing Dixie
User avatar
BigBadWolf
Posts: 584
Joined: Wed Aug 08, 2007 7:01 am
Location: Serbia

RE: R&D Investment Returns

Post 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]
Image
kmitahj
Posts: 100
Joined: Sun Apr 24, 2011 10:31 pm

RE: R&D Investment Returns

Post 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!
User avatar
Kitakami
Posts: 1324
Joined: Thu May 02, 2002 11:08 pm
Location: The bridge of the DNTK Kitakami

RE: R&D Investment Returns

Post 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.
Tenno Heika Banzai!
alimentary
Posts: 142
Joined: Mon Mar 22, 2010 6:56 pm

RE: R&D Investment Returns

Post 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.
Attachments
ae-research.pl.txt
(5.44 KiB) Downloaded 98 times
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: R&D Investment Returns

Post 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) ?
Post Reply

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