From 664e1421ac5868d76a47af52556736f658c427fe Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 25 Nov 2026 17:17:36 -0700 Subject: [PATCH] Map: the fallout simulator, its targets, winds and weather subscription --- docs/index.md | 1 + docs/modules/map/fallout.md | 168 ++++++++++++++++++++++++++++++++++++ docs/modules/map/index.md | 15 +++- 3 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 docs/modules/map/fallout.md diff --git a/docs/index.md b/docs/index.md index afe3bf7..b1e4438 100644 --- a/docs/index.md +++ b/docs/index.md @@ -46,6 +46,7 @@ Information about the parts of the WROLPi interface. * [Terrain](modules/map/terrain.md) * [Overlays](modules/map/overlays.md) * [Exporting a Map as a PDF](modules/map/export.md) + * [Fallout Simulator](modules/map/fallout.md) * [Zim](modules/zim/index.md) * [Repos](modules/repos/index.md) * [Bookmarks](modules/bookmarks/index.md) diff --git a/docs/modules/map/fallout.md b/docs/modules/map/fallout.md new file mode 100644 index 0000000..1e40f65 --- /dev/null +++ b/docs/modules/map/fallout.md @@ -0,0 +1,168 @@ +# Fallout Simulator + +The fallout simulator draws where the fallout of nuclear surface bursts would land, how strong it +would be hour by hour, and the dose someone outdoors would take over two weeks. It runs in your +browser from the targets you choose and the wind, and works without the Internet once a forecast +(or a month of past winds) is on your WROLPi. + +**Warning!** This is an estimate, not a forecast. It is a prototype: on six Nevada test bursts it +showed about 4 times the areas measured (from 2 to 8 times), more than was measured on every one. +Real fallout depends on the weapon, the height of the burst, the ground, and rain, which no map can +know ahead of time. Use it to understand which way fallout goes and how fast it weakens, not to +decide that a place is safe. + +## The Steps + +> To simulate fallout, click the ☢ button at the top-right of the map, add one or more targets, +> click **Next: the wind**, choose the wind, then click **Next: the fallout**. + +The panel walks you through four steps, shown at its top: + +1. **Nuclear**: click the ☢ button. The map is in nuclear mode (the button turns yellow) and the panel + opens. Click it again to leave nuclear mode. +2. **Targets**: where the bursts are, and the weapon at each. +3. **Wind**: what carries the fallout. +4. **Fallout**: the map of the fallout, and its legend. + +**Back** returns to the step before. The fallout is calculated only on the last step; going back and +forward again without changing anything shows it again at once. + +## Targets + +Every burst is a surface burst, the case with the most local fallout. + +> To add a target, click **Add a target**, then click the map where the target is. Name it and +> choose its weapon. + +Right-clicking the map (or long-pressing on mobile) and choosing **Add Target Here** adds one too. +While you are placing a target the cursor is a crosshair; **Stop** or Escape stops placing. + +Each target in the list shows its weapon: **change** picks another, **remove** takes it off the +list. With more than one target, **Set every target's weapon** gives them all the same weapon. + +### Trying Targets Out, and Saving Them + +Targets you add are tried out, not saved, until you click **Save Targets**. Unsaved targets have a +dashed border on the map. This lets you see the fallout of one target, or a few, without touching +your saved targets. + +| Button | What it does | +|--------|--------------| +| **Load Saved Targets (N)** | Adds your saved targets to the list. Shown when you have saved targets that are not loaded. | +| **Save Targets** | Saves the list as your targets, replacing the ones saved before. | + +**Warning!** Saving replaces the saved targets. So that you can not lose them by accident, **Save +Targets** is disabled while you have saved targets that are not loaded: load them first, then add +to them or remove from them, then save. + +Saved targets are kept in `map_nuclear.yaml` in your media directory, apart from your pins. They are +listed in the **Nuclear Targets** table on the [Pins tab](index.md#pins-tab), where you can delete +one. + +### Weapons + +The weapons are those deployed or in active stockpiles, by country, with their yields quoted from +SIPRI and the Bulletin of the Atomic Scientists (2024–2026), and FEMA's improvised nuclear device +planning scenarios (1 kt and 10 kt). **A yield of my own** takes any yield and fission share. + +Each weapon shows its yield and its fission share, e.g. "W88 (Trident II D5), 455 kt, half +fission". Only fission makes fallout. No public source gives the fission share of a warhead, so a +two-stage thermonuclear weapon is assumed to be half fission, and a fission or boosted-fission +weapon all fission (as Glasstone and Dolan plan for). Where the sources give a range of yields, the +top of it is used: the case with the most fallout. + +## Wind + +| Wind | What it does | +|------|--------------| +| **Forecast winds aloft** | The forecast winds at every height, hour by hour, where the fallout is. The most realistic. Needs a forecast downloaded by the [weather subscription](#the-weather-subscription). | +| **Past days of a month** | No forecast needed. The bursts are run in the winds of 30 past days of a month, and the map shows on how many days the fallout reached each place. | +| **One wind at every height** | A direction (where the wind blows **from**, in degrees) and a speed you type. Simple, and always available. | + +When the forecast on your WROLPi covers bursts now until all their fallout is down (48 hours), the +wind starts at **Forecast winds aloft**; otherwise at **One wind at every height**. + +**Follow the terrain** lands the fallout on the hills and valleys of your +[terrain files](terrain.md), rather than on flat ground. + +### Forecast Winds Aloft + +Choose the **Hour of the bursts**; the hour nearest now is marked. The fallout is carried by the +wind where it is, as the wind changes hour by hour. The panel warns you when: + +- The forecast is out of date: its winds are past ones, not today's. Download a new one, or use one + wind at every height. +- The forecast ends before all the fallout is down: its last hour's winds are held from then on. +- A target is outside the forecast's winds: the nearest are used. The forecast is downloaded around + your **saved** targets, so save a target to have its winds the next time. +- Rain is forecast near a burst. Rain washes fallout out of the air where it falls; the map shows + this roughly, and real rain is patchier, with hotter spots. + +If the weather subscription is off, the Wind step offers **Download the forecast every day**. + +### Past Days of a Month + +Choose a **Month**, and the dose rate a day is counted at (**Count days with**, e.g. 100+ R/hr at +H+1). The map shows where the fallout reached that rate on half the days or more, a quarter, a +tenth, or any of the days. The days are one from each year, 1991 to 2020, from NOAA's reanalysis. +Real winds vary from day to day: a place outside the bands can still be reached. + +The months are downloaded once, automatically, while your WROLPi has the Internet, and checked +before they are used. This choice is listed only once at least one month is on your WROLPi. + +## Fallout + +The map is colored by one of two views. + +### Hour by Hour + +The dose rate in R/hr (roentgens an hour, about 10 mSv each) at a time after the bursts, from 1 hour +to 2 weeks. Move the slider, or press ▶ to play the hours in turn. Only the fallout which has landed +by then is shown, as strong as it is then: + +- Near the bursts it lands in the first hour. Downwind it lands hours later. +- Everywhere it weakens: about 10 times for every 7 times longer since the bursts. The panel says + how much weaker each time is than 1 hour after (about 45 times weaker at 1 day, and about 1,000 times at 2 weeks). Real fallout + can decay faster or slower, which only readings can tell. + +| Color band | Dose rate | +|------------|-----------| +| Darkest red | 1,000+ R/hr | +| Red | 100+ R/hr | +| Orange | 10+ R/hr | +| Yellow | 1+ R/hr | +| Pale yellow | 0.1+ R/hr | + +### Total Dose + +The dose of someone outdoors the whole time in the first two weeks, from when the fallout arrives, +in R. Indoors is less: about 2 to 3 times less in a house, 10 times or more in a basement. + +| Total dose | What it does to a person (taken over days) | +|------------|--------------------------------------------| +| 1,000+ R | Nearly everyone dies | +| 450+ R | About half die without care | +| 100+ R | Radiation sickness | +| 25+ R | No sickness; a higher cancer risk | +| 5+ R | A radiation worker's yearly limit | + +A calculation with many targets takes a few seconds; **Cancel** stops it. + +## The Weather Subscription + +The forecast winds aloft are downloaded by the weather subscription, on the map's +[Manage tab](files.md#manage-tab) under **Weather**. + +> To download the forecast, open the map's **Manage** tab and turn on **Download the weather +> forecast from Open-Meteo every day**. + +- It downloads the winds aloft, hour by hour for four days, from [Open-Meteo](https://open-meteo.com/) + around your saved nuclear targets. With no saved targets there is nothing to download. +- Open-Meteo is told only places on whole degrees around your targets, never a target itself. The + closer together your targets, the finer the places (from every 1° to every 10°). +- It downloads once a day, inside your [download window](../downloads/index.md#download-settings) if you have one, + and takes a few minutes. **Download now** downloads it at once. +- Only the newest forecast is kept: an old one is no use for bursts now. It is kept in + `map/.fallout-winds/` in your media directory. +- The section says when it last downloaded, when it downloads next, why a download failed, and + whether the forecast kept still covers bursts now until their fallout is down. diff --git a/docs/modules/map/index.md b/docs/modules/map/index.md index 33a76b5..daf030c 100644 --- a/docs/modules/map/index.md +++ b/docs/modules/map/index.md @@ -14,6 +14,7 @@ self-hosting vector maps from a single PMTiles file. | [Terrain](terrain.md) | Hillshade and contour lines. | | [Overlays](overlays.md) | Drawing your own data over the map: power lines, trails, imagery, and their styles and icons. | | [Exporting a Map as a PDF](export.md) | Printing a 1:24,000 topographic sheet, or carrying it on a phone. | +| [Fallout Simulator](fallout.md) | Where the fallout of nuclear bursts would land, hour by hour, and the weather forecast it uses. | ## Map Tab @@ -27,6 +28,8 @@ The Map tab displays an interactive map with the following controls: - **Fullscreen** (top-right) — Expand the map to fill the entire screen. - **Export** (top-right, the printer) — Make a PDF of a 1:24,000 topographic sheet. See [Exporting a Map as a PDF](export.md). +- **Nuclear** (top-right, ☢) — Simulate the fallout of nuclear bursts. See + [Fallout Simulator](fallout.md). - **Scale Bar** (bottom-left) — Distance scale. Click to toggle between metric and imperial. - **Dark/Light Mode** — The map automatically matches your WROLPi theme. @@ -39,7 +42,8 @@ Right-click (or long-press on mobile) anywhere on the map to open the context me The filename includes the GPS coordinates of the center of the map. - **Export a 1:24,000 map** — Start a [PDF export](export.md) with the quadrangle you clicked already chosen. -- **Add Pin** — Place a named pin at that location. +- **Add Pin Here** — Place a named pin at that location. In nuclear mode this is **Add Target Here**, + which adds a [fallout target](fallout.md#targets). ### Sharing Coordinates @@ -90,9 +94,16 @@ The Pins tab shows a table of all your pins with: - **Edit** — Change the pin's name or description - **Delete** — Remove the pin +### Nuclear Targets + +The targets saved by the [fallout simulator](fallout.md) are listed in their own table below your +pins, with each target's weapon, coordinates, and when it was saved. Click the coordinates to fly the +map there, or delete a target. They are kept in `map_nuclear.yaml`, apart from your pins. + ## Manage Tab -The Manage tab lists your map files and your map subscriptions. See [Map Files](files.md). +The Manage tab lists your map files and your map subscriptions (see [Map Files](files.md)), and the +weather forecast the [fallout simulator](fallout.md#the-weather-subscription) uses. ## Global Search