More actions
mNo edit summary |
mNo edit summary |
||
| Line 206: | Line 206: | ||
The scale of the infrastructure increases linearly with the radius of the planet. As such, the distance between two factories also increases linearly. After experimental testing, | The scale of the infrastructure increases linearly with the radius of the planet. As such, the distance between two factories also increases linearly. After experimental testing, | ||
* The Minimum Link distance (ml) on a planet of radius r is : ml = 0,012008578×r (with ml and r in km). This the distance between the center of two pins. | * The Minimum Link distance (ml) on a planet of radius r is : ml(r) = 0,012008578×r (with ml and r in km). This the minimal distance between the center of two pins. | ||
* The PG cost of a link of distance l is : p(l) = 10+0.15×l | * The PG cost of a link of distance l is : p(l) = 10+0.15×l | ||
* The CPU cost of a link of distance l is : c(l) = 15+0.2×l | * The CPU cost of a link of distance l is : c(l) = 15+0.2×l | ||
We can then express the links | ===== Links usage of a plan ===== | ||
We can then express the links of a planetary installation independently of the planet size, as the couple (n,k) with | |||
* ''n'' the number of started links and | |||
* ''k'' the ratio of total length compared to minimum length, <math>k=\sum_{link} link.length/ml </math>. | |||
Basically, n is the number of real links, while k is the number of minimal size segments the links run over. | |||
* if the infrastructures are only a launchpad and 6 high-tech production plants (HP), with the launchpad in the middle, we have 6 links and total 6 minimal segments | * if the infrastructures are only a launchpad and 6 high-tech production plants (HP), with the launchpad in the middle, we have 6 links and total 6 minimal segments | ||
* if we add 12 HP around the 6 existing | * if we add 12 HP around the 6 existing | ||
** if we link them directly to the launchpad, half of them will require 2 segments (those just after another HP) and the other half will require <math>\sqrt 3</math> segments. Therefore the total number of links is 18 , the total length is <math>6×1+6×2+6×\sqrt 3 = 28.4</math> minimal segments. | ** if we link them directly to the launchpad, half of them will require 2 segments (those just after another HP) and the other half will require <math>\sqrt 3</math> segments. Therefore the total number of links (n) is 18 , the total length (k) is <math>6×1+6×2+6×\sqrt 3 = 28.4</math> minimal segments. | ||
** if we link them to the closest HP, then we add one minimal segment per new HP, total length is 18 | ** if we link them to the closest HP, then we add one minimal segment per new HP, total length is 18 so n=k=18. | ||
===== Plan consumption per planet ===== | |||
Once this is done, we have the cost of links on a planet depending on those values and ''r'' the radius of that planet | Once this is done, we have the cost of links on a planet depending on those values and ''r'' the radius of that planet | ||
* PG cost p(r,n,k) = 10×n+0,001801287×r×k | * PG cost p(r,n,k) = 10×n+0,001801287×r×k | ||
* CPU cost c(r,n,k) = 15×n+0,002401716×r×k | * CPU cost c(r,n,k) = 15×n+0,002401716×r×k | ||
Then we can add the (constant) pins usage to those values. | |||
=== Industry === | === Industry === | ||