KORE simulator

The numbers from the book, recalculated

Here the KORE mission model recalculates the decisions from the book. Every value on this page is produced when the site is built, by the same calculation that the numbers in the book are checked against.

The KORE simulator, which lets you recompute the numbers in the book, will be released as open source together with the book.

First version: the journey in watts, germination rates until arrival and six tools with the inputs from the book. The full mission simulation with three strategies is on the Mission page.

The journey in watts

KORE runs on a Pu-238 source whose output halves every 87.7 years. Solar power is only available in Earth orbit and during departure; after almost four years the darkness begins. The chart therefore shows the output of the source.

Deep planning costs 400 W on top of the base load. Once the curve drops below the thinking limit, deep planning no longer fits during the day.

Output of the Pu-238 source over 313 yearsThe output falls steadily from 2,000 W at launch. It reaches the thinking limit of 470 W in year 183.2; at arrival in year 300, 187 W remain. Dots mark the stations of the chapters.DarknessProxima b05001,0001,5002,000050100150200250300WYears since launchThinking limit 470 WThinking limit 470 W, reached in year 183.2Year 0: 2,000 W, chapter 4–6Ch. 4–6Year 20: 1,708 W, chapter 7Ch. 7Year 118: 787 W, chapter 8Ch. 8Year 183: 471 W, chapter 9Ch. 9Year 240: 300 W, chapter 10Ch. 10Year 300: 187 W, chapter 11–15Ch. 11–15Year 313: 169 W, chapter 11–15Year 0: 2,000 WYear 5: 1,924 WYear 10: 1,850 WYear 15: 1,779 WYear 20: 1,705 WYear 25: 1,640 WYear 30: 1,577 WYear 35: 1,517 WYear 40: 1,459 WYear 45: 1,403 WYear 50: 1,350 WYear 55: 1,293 WYear 60: 1,244 WYear 65: 1,196 WYear 70: 1,150 WYear 75: 1,106 WYear 80: 1,064 WYear 85: 1,023 WYear 90: 981 WYear 95: 943 WYear 100: 907 WYear 105: 872 WYear 110: 839 WYear 115: 807 WYear 120: 776 WYear 125: 744 WYear 130: 715 WYear 135: 688 WYear 140: 662 WYear 145: 636 WYear 150: 612 WYear 155: 586 WYear 160: 564 WYear 165: 542 WYear 170: 522 WYear 175: 502 WYear 180: 483 WYear 185: 464 WYear 190: 445 WYear 195: 428 WYear 200: 411 WYear 205: 396 WYear 210: 381 WYear 215: 366 WYear 220: 352 WYear 225: 337 WYear 230: 324 WYear 235: 312 WYear 240: 300 WYear 245: 289 WYear 250: 278 WYear 255: 267 WYear 260: 256 WYear 265: 246 WYear 270: 237 WYear 275: 228 WYear 280: 219 WYear 285: 211 WYear 290: 202 WYear 295: 194 WYear 300: 187 WYear 305: 179 WYear 310: 173 WOutput of the Pu-238 source over 313 yearsThe output falls steadily from 2,000 W at launch. It reaches the thinking limit of 470 W in year 183.2; at arrival in year 300, 187 W remain. Dots mark the stations of the chapters.DarknessProxima b05001,0001,5002,0000100200300WYears since launchThinking limit 470 WThinking limit 470 W, reached in year 183.2Year 0: 2,000 W, chapter 4–64–6Year 20: 1,708 W, chapter 77Year 118: 787 W, chapter 88Year 183: 471 W, chapter 99Year 240: 300 W, chapter 1010Year 300: 187 W, chapter 11–1511–15Year 313: 169 W, chapter 11–15Year 0: 2,000 WYear 5: 1,924 WYear 10: 1,850 WYear 15: 1,779 WYear 20: 1,705 WYear 25: 1,640 WYear 30: 1,577 WYear 35: 1,517 WYear 40: 1,459 WYear 45: 1,403 WYear 50: 1,350 WYear 55: 1,293 WYear 60: 1,244 WYear 65: 1,196 WYear 70: 1,150 WYear 75: 1,106 WYear 80: 1,064 WYear 85: 1,023 WYear 90: 981 WYear 95: 943 WYear 100: 907 WYear 105: 872 WYear 110: 839 WYear 115: 807 WYear 120: 776 WYear 125: 744 WYear 130: 715 WYear 135: 688 WYear 140: 662 WYear 145: 636 WYear 150: 612 WYear 155: 586 WYear 160: 564 WYear 165: 542 WYear 170: 522 WYear 175: 502 WYear 180: 483 WYear 185: 464 WYear 190: 445 WYear 195: 428 WYear 200: 411 WYear 205: 396 WYear 210: 381 WYear 215: 366 WYear 220: 352 WYear 225: 337 WYear 230: 324 WYear 235: 312 WYear 240: 300 WYear 245: 289 WYear 250: 278 WYear 255: 267 WYear 260: 256 WYear 265: 246 WYear 270: 237 WYear 275: 228 WYear 280: 219 WYear 285: 211 WYear 290: 202 WYear 295: 194 WYear 300: 187 WYear 305: 179 WYear 310: 173 W
The numbers at the dots are chapters. Calculated per cycle of 30 days. The first almost four years with solar power are not drawn. Hover over the curve to see year and output.
Values as a table
YearOutput of the source
02,000 W
251,641 W
501,347 W
751,106 W
100907 W
125745 W
150611 W
175502 W
200412 W
225338 W
250277 W
275228 W
300187 W
313169 W
Output at launchLevel of knowledge: Fiction
2,000 W
Half-life of Pu-238Level of knowledge: Fact
87.7 years
Thinking limit during the dayLevel of knowledge: Model
470 W, reached in year 183.2
Deep planning at night, when the crops need no lightLevel of knowledge: Model
until year 185.0
Output at arrivalLevel of knowledge: Model
187 W in year 300

Germination until arrival

Level of knowledge: ModelLevel of knowledge: Fiction

Stored seeds lose their ability to germinate over time, each archetype with its own half-life. A refresh grows fresh seeds and resets the rate. The table works through the refresh plan from chapter 7. The goal is at least 50% at arrival and never less than 25% on the way.

Refresh plan from chapter 7
ArchetypeHalf-lifeRefreshes from yearLowest rateAt arrival
Storer400 yearsnone60%60%
Red-light harvester120 years18236%51%
Guardian200 years16057%62%
Shadow walker60 years120, 240 (without deep planning)25%51%
Pioneer40 years75, 150, 225 (without deep planning), 262 (without deep planning)27%52%
Recycler150 yearsruns continuously as a culture25%25%

From year 185.0 the power no longer covers deep planning even at night. Later refreshes run without it. For the recycler the values refer to the stored reserve.

Six tools

Each tool is a small, general calculation. Here it runs with the inputs from its chapter, and you can change them.

Chapter 1

Checking the density rule

Level of knowledge: FactLevel of knowledge: Model

Packing by value per kilogram is fast, but not always best.

In the book: 10 kg of space, A weighs 6 kg and is worth 7, B and C weigh 5 kg each and are worth 5. Plus the number of ways to split 41 kg of seeds.

Packed by density
A: value 7, 4 kg free
Best possible choice
B and C: value 10, 0 kg free
Gap of the density rule
3 value points (30%)
Ways to split 41 kg in steps of 0.5 kg across 6 classes
36,949,857
Calculation
  1. Density per item

    d: value per kilogram, v: value, w: weight.

    di=viwidA=76≈1.17,dB=55=1,dC=55=1
  2. Packed by density

    Take items by falling density as long as they fit. Taken: A.

    Vdensity=∑takenviVdensity=7Vdensity=7
  3. Best possible choice

    Highest total value whose weight fits the space W; x is 1 for a taken item, otherwise 0.

    max∑ivixi subject to ∑iwixi≤WVopt=5+5 at weight 5+5≤10Vopt=10
  4. Gap of the density rule

    Δ: value the density rule gives away, absolute and as a share of the best value.

    Δ=Vopt−VdensityΔVoptΔ=10−7=3310Δ=330%
  5. Number of allocations

    n: number of steps in the total weight, k: number of classes.

    n=totalstep(n+k−1k−1)n=410.5=82(82+6−16−1)allocations=36,949,857
Change inputs
Change inputs

Chapter 3

Independent copies

Level of knowledge: ModelLevel of knowledge: Fiction

A second copy only protects you if it does not share the same risk.

In the book: Calculated over 300 years with two hazards: a meteoroid hitting a slot (2.5%) and the failure of a cooling loop (3.0%).

Probability of losing every copy
LayoutTotal loss in the period
One slot5.4%
Two slots, one loop3.0%
Two slots, two loops0.29%
Three slots, one loop3.0%
Three slots, two loops0.16%

Single hazards in the period: hit on a slot 2.5%, cooling failure 3.0%

Calculation
  1. Probability of loss: cooling loop

    u: probability per year, T: period in years; the same chance every year.

    Pcooling loop=1−(1−u)Tu=λ=0.0001Pcooling loop=1−(1−0.0001)300Pcooling loop≈2.96%
  2. Probability of loss: micrometeorite

    u: rate per unit hit and year (λ rate, s share, m number of targets), T: period in years; random hits over time.

    Pmicrometeorite=1−e−uTu=λ·sm=0.002·0.512≈0.00008333Pmicrometeorite=1−e−0.00008333·300Pmicrometeorite≈2.47%
  3. Total loss: One slot

    Per group a common cause q (such as a loop) or the loss of all copies p; multiplied over the groups.

    P=∏g(qg+(1−qg)·∏cpc)P=(0.029556+(1−0.029556)·0.02469)P≈5.35%

    The other allocations use the same formula; their results are in the table.

Change inputs
Change inputs

Chapter 6

Planning backwards

Level of knowledge: ModelLevel of knowledge: Fiction

Tasks share one resource and run one after another. The order decides how much slack is left before the deadlines.

In the book: From month 9, three cultures grow one after another in the same chamber, each before its deadline at the end of the light. Each task can slip by one month with probability 1/3.

Earliest deadline first
CultureMonthsDeadlineSlack
Storer9–213817
Red-light harvester21–37403
Shadow walker37–5347may overrun
All deadlines kept despite delays: 100%
Most important first
CultureMonthsDeadlineSlack
Red-light harvester9–254015
Storer25–37381
Shadow walker37–5347may overrun
All deadlines kept despite delays: 44%
Calculation
  1. Plan: Earliest deadline first

    e: end, s: start, d: duration, F: deadline, b: buffer; the next task starts at the end of the previous one. Months.

    ej=sj+djbj=Fj−ejStorer: 21=9+12, 17=38−21Red-light harvester: 37=21+16, 3=40−37Shadow walker: 53=37+16, −6=47−53smallest buffer=3
  2. Plan: Most important first

    e: end, s: start, d: duration, F: deadline, b: buffer; the next task starts at the end of the previous one. Months.

    ej=sj+djbj=Fj−ejRed-light harvester: 25=9+16, 15=40−25Storer: 37=25+12, 1=38−37Shadow walker: 53=37+16, −6=47−53smallest buffer=1
  3. Probability of finishing on time

    Each task can be delayed with p (δ = 1) or not (δ = 0). The sum runs over all cases in which every fixed deadline holds with the required buffer.

    P=∑on time∏jpδj(1−p)1−δjp=33.3%8 casesEarliest deadline first: 100%Most important first: 44.4%
Change inputs
Change inputs

Chapter 7

Backwards from the goal

Level of knowledge: ModelLevel of knowledge: Fiction

A value decays with a half-life, and a refresh resets it. Working back from the goal gives the earliest end of the last refresh, a shrinking budget gives the latest.

In the book: The red-light harvester should still germinate at 50% on arrival in year 300; its half-life is 120 years. The budget is the output of the Pu-238 source, and deep planning needs 470 W.

Last refresh finished at the earliest
year 180.0
Budget covers deep planning until
year 183.2
Window
3.2 years
Without refresh in the target year
18%
Threshold rule: refresh as soon as the rate drops below the threshold
years 123.0, 243.0 (without deep planning), in the target year 72%
Longest interval before reaching the floor
240.0 years
Calculation
  1. Germination without refresh

    g: share that still germinates, t₀: last refresh, T½: half-life. Years.

    g(t)=2−t−t0T½g(300)=2−300−3.04120g(300)≈18%
  2. Earliest completion of the last refresh

    The last refresh may not end later, or g falls below the target value by the target time.

    tmin=ttarget−T½·log2(1gtarget)tmin=300−120·log2(10.5)tmin=180
  3. Budget limit

    Until then the power P of the source covers the need; Tₚ: half-life of the power.

    tB=TP·log2(P0Pneed)tB=87.7·log2(2,000470)tB≈183.2
  4. Window

    Time between earliest completion and budget limit.

    tB−tmin183.2−180≈3.2 years
  5. Longest gap between refreshes

    This long g stays above the floor gₘᵢₙ.

    T½·log2(1gmin)120·log2(10.25)=240 years
  6. Threshold rule

    Refresh as soon as g falls below the threshold θ: at intervals of a.

    a=T½·log2(1θ)a=120·log2(10.5)=120Refreshes in year 123,243g(300)≈72%
Change inputs
Change inputs

Chapter 10

Flying blind

Level of knowledge: ModelLevel of knowledge: Fiction

If you do not know which world you are in, compare plans across all possible worlds: by expected value, worst case and largest regret.

In the book: Without a moisture sensor, KORE cannot tell whether the soil is normal (75%), too dry (10%) or too wet (15%). Two irrigation plans, rated by the survival of the culture in percent.

Survival of the culture in percent
PlanExpected valueWorst caseLargest regret
Routine89.755025
Robust86.257511

The robust plan also leads on expected value once the normal case is less than 63% likely.

Calculation
  1. Expected value

    p: probability of world i, x: success of action a in world i (in percent).

    Ea=∑ipixa,iRoutine:0.75·99+0.1·50+0.15·70Robust:0.75·88+0.1·75+0.15·85Routine=89.75Robust=86.25
  2. Worst case

    The smallest success over all worlds.

    minixa,iRoutine:min(99,50,70)Robust:min(88,75,85)Routine=50Robust=75
  3. Largest regret

    Per world the distance to the best action in that world, the largest of them.

    Ra=maxi(maxbxb,i−xa,i)Routine:max(99−99,75−50,85−70)Robust:max(99−88,75−75,85−85)Routine=25Robust=11
  4. Tipping point: probability of the world normal

    From p* on both actions are equally good in expectation; the other worlds keep their ratio.

    p*=brest−arest(aw−bw)−(arest−brest)p*=81−62(99−88)−(62−81)p*≈63.3%

    a, b: the two actions; w: the world; rest: expected value over the other worlds, weighted by their share of the rest.

Change inputs
Change inputs

Chapter 14

Loop balance

Level of knowledge: ModelLevel of knowledge: Fiction

A stock loses a little in every pass. The balance shows the largest leak, how long the stock lasts and how long a declining power supply still covers the demand.

In the book: a loop with a nutrient stock of 1,400 g and four losses per 30-day cycle. The energy comes from a Pu-238 source; base load and heating need 85 W.

Loss per cycle
4.0 g
Largest leak
Recycler (53%)
How long the stock lasts
28.7 years
With an improved loop (1.5 g per cycle)
76.7 years
Recovery rate of the recycler at 93%
2.4 g per cycle, without deposits 1.3 g
Source delivers at least 85 W
until 399.6 years after the source starts
Calculation
  1. Loss per cycle

    L: sum of the single losses l. Grams.

    L=∑iliL=2.1+1.1+0.5+0.3L=4 g
  2. Reach

    R: number of cycles until the stock B is used up; converted to years.

    R=BLR·30365.25R=1,4004=350350·30365.25≈28.7 years
  3. Better recycler

    l′: new loss of the recycler at higher recovery r; L′: new loss per cycle.

    l′=l·1−rnew1−roldl′=2.1·1−0.931−0.7l′≈0.49 gL′≈2.39 g
  4. Second clock: power

    Year in which the power P falls to the need Pₘᵢₙ; T½: half-life of the power.

    t=T½·log2(P0Pmin)t=87.7·log2(2,00085)t≈399.6 years
Change inputs
Change inputs

State of the calculation