ASSUMING
infinite mass, and infinite build power and +20/s energy to begin with:
what is the fastest build order to achieve +30k power/s?
note: you must also account for energy capacity, and may choose any faction.
Forged Alliance Forever Forums
Moderators: FtXCommando, Ze Dogfather
Blackheart wrote:Assumptions:
- Infinite mass
- Infinite buildpower in the sense that all power structures are built instantly
- No space issues or walking time
- No tech upgrades required (can be added, shouldnt do more than delay t2 pgen a little)
Observations:
1) Only t1,t2,t3 pgens need to be considered. RAS gives less power than t3 pgen and costs more power than a t3 pgen, hence is dominated strictly under infinite mass and can be eliminated. Same goes for SCU ras. No other e income exists, so we are left with the pgens.
2) If you decide to ever build higher tier, you wont ever build lower tech pgens afterwards (this is assuming open ended income cap, but holds true in this case for almost the entire time. I didnt consider the small margin close to the 30k mark where you might want to make a few t1 pgens to go from 29900-30k for example).
3) It is strictly necessary to build at least t2 pgens, since a full t1 approach can be beaten using higher tech (t1 pgen only takes 295,87 sec, a time that can easily be beaten)
4) A fastest t2 pgen time (achieved with 14,489 t1 pgens taking 161,91 sec, or with 14 /15 t1 pgen taking 161,93 sec respectively, attained by minimizing 75/2 *(16/(1+n) + H_n) where n is the number of t1 pgens and H_n is the n-th harmonic number) does not yield the fastest 30k income time, neither does a payback-time based approach (proven heuristically).
5) Storage is irrelevant, since we will be stalling the entire time. I assumed 0 starting storage.
Since the problem didnt yield to the obvious described methods, i decided to stop thinking and be lazy and code a brute-force approach using the no-return-to-lower-tech assumption. This resulted in 25 t1 pgens, 49 t2 pgens, 2 t3 pgens yielding 30020 power income and taking 253,479 seconds. Note that those pgen numbers stay consistent if you increase the power requirement, so reaching >60k power income just adds t3 pgens to those numbers (60k taking 269,93 seconds).
Im relatively sure that this is very close to the optimal time, the only way i see to improve it would maybe be moving an earlier t1 pgen to the back of the buildorder, but that would, if it gains any time, amount to an extremely small difference. If anyone has better ideas, tell me!
Users browsing this forum: No registered users and 1 guest