Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Welcome to FARIS

FARIS, the Fusion Analysis and Reactor Integration Simulator, follows a fusion plant from 3D neutron transport to thirty years of operation. It shows how a blanket and shield design changes tritium breeding, magnet exposure, component replacements and net electricity year by year, and how sure those numbers are.

This handbook covers FARIS 0.2.0.

This release is a demo

FARIS 0.2.0 is a deliberately narrow demonstration, complete for one study: an ARC-inspired tokamak in four arrangements, from transport to thirty years of operation with uncertainty. New in 0.2: replacement outages computed from activation decay heat, with a recorded result for the four arrangements (Computed maintenance durations). The full product widens the geometry and adds peak magnet fluence and shutdown dose. Where FARIS is going lists what comes next.

Research screening only

FARIS results are not a licensing, safety or design basis. Every number is labelled as calculated, authored, literature, conditional or not evaluated. Reading the numbers explains each label. The statement is in the bottom bar of every step and in every export.

What the demo studies

One compact D-T tokamak, ARC-inspired, with 525 MW of fusion power, in four arrangements:

  • Two blanket/shield allocations inside the same radial build.
  • For each allocation, a finite outboard service port, and a matched port-free control.

The study asks one question: what changes when you move thickness from the neutron shield to the breeding blanket?

PartWhat you get
TransportCoupled neutron/photon OpenMC results: tritium production, heating, flux spectra, a 3D flux map, and fast-neutron flux on three regions of the magnet, each with its Monte Carlo standard error.
OperationA 30-year history that recalculates in about a second as you move sliders: tritium inventory, fuel-limited stops, planned outages, replacements and net electricity.
UncertaintyHundreds of histories on transport rates sampled from the recorded covariance. Every output gets a median, a 90 % range and event probabilities.
CompareThe four arrangements side by side with two-sigma flags, a paired comparison of the ensembles, and a seven-point allocation sweep.
EvidenceAvila Core receipts, a .faris file that holds the whole study, and export to a PDF brief, CSV tables and charts.

Start here

Download and verify the package for Linux, Windows or macOS, then take the tour. You do not need OpenMC, nuclear data or a network connection to explore the recorded study.

Then read one chapter for each step of the workspace: Design, Simulate, Operate, Compare and Evidence. Read Reading the numbers and Scope and limits before you quote any result.

Find help

Use the search button or press / to search this handbook. Troubleshooting covers the messages the app shows. Report reproducible problems through GitHub issues, with your version and the message you saw.

Download and verify

Requirements

  • A desktop session with working graphics drivers: Linux, Windows or macOS.
  • No temporary space is needed to open the study, with or without the evidence pack: the app reads the saved Core evidence straight from the evidence store in the package folder.
  • For verify.sh only: Linux, python3, the evidence pack and about 100 MB of free space (it works in a hidden folder beside the package, using hard links instead of copies; it measured 0.1 MB of new data there plus 18 MB of temporary space for one recomputed history). If the package folder is read-only or on a file system without hard links it copies the files instead, which needs about 260 MB more. It checks the amount before it starts; if space is short it says how much is needed and you can free space or point TMPDIR at a folder with more room.

Python is not needed to open the study. You do not need OpenMC, nuclear data or network access to explore the recorded study.

Every platform’s programs are built by CI from the release commit; the study evidence was recorded on Linux on the reference laptop. The Linux programs need glibc 2.35 or newer: Ubuntu 22.04 or later, Debian 12 or later. The app also needs a desktop session (X11 or Wayland) with libxkbcommon and a Vulkan or OpenGL driver, which desktop installs include. On a minimal install, add libxkbcommon-x11-0 (Debian, Ubuntu) or libxkbcommon-x11 (Fedora); without it the app stops at launch with a panic in xkbcommon-dl. Windows and macOS builds have been available since 0.1.1. Report problems on GitHub issues.

What to download

FARIS 0.2.0 is the same demo study as 0.1.1, plus a recorded computed maintenance result. The download is split in two. Get the files from the 0.2.0 release:

FileWhat it is
FARIS-0.2.0-linux-x86_64.tar.gzThe app for Linux (about 35 MB). Needs glibc 2.35 or newer.
FARIS-0.2.0-windows-x86_64.zipThe app for Windows.
FARIS-0.2.0-macos-aarch64.tar.gzThe app for a Mac with Apple silicon.
FARIS-0.2.0-macos-x86_64.tar.gzThe app for an Intel Mac.
FARIS-0.2.0-evidence.tar.gzOptional. The Core receipts, held in one evidence store, and the files verify.sh checks (about 10 MB). The same for every platform.
SHA256SUMSThe SHA-256 of every file above.

Download the app for your platform, and SHA256SUMS. The app download alone opens the whole study: the four recorded arrangements and the allocation sweep. The evidence pack adds the Avila Core receipts to the Evidence step.

Each archive unpacks to a folder FARIS-0.2.0/. Unpack the evidence pack into the same place, so that its files merge into FARIS-0.2.0/.

Open the recorded study

Double-click bin/faris-app (bin\faris-app.exe on Windows), or run it from a terminal. The app finds the study beside its bin folder, checks the SHA-256 of every file it needs, and opens the four recorded arrangements and the sweep. To open a package somewhere else, run faris-app --package DIR.

If a check fails, the app opens with nothing loaded and says why and what to do: download the files again and check them against SHA256SUMS.

The programs are not signed. A matching hash shows the bytes are the ones recorded in the package. It does not show who made them.

Linux

Check the archives, unpack them and open the app:

sha256sum -c SHA256SUMS --ignore-missing
tar xzf FARIS-0.2.0-linux-x86_64.tar.gz
tar xzf FARIS-0.2.0-evidence.tar.gz    # optional
FARIS-0.2.0/bin/faris-app

To recheck every recorded byte and the Core receipts, run ./verify.sh from the package folder. It needs python3 and the evidence pack. It checks the package from a relocated copy, recomputes the sixteen recorded 30-year histories with the package’s own faris (they are not stored; each must match its recorded SHA-256 and size), takes a while, and confirms that a deliberately changed copy is rejected.

Windows

Check FARIS-0.2.0-windows-x86_64.zip against SHA256SUMS: in PowerShell, Get-FileHash FARIS-0.2.0-windows-x86_64.zip prints the SHA-256, which must equal that file’s line in SHA256SUMS. Then unpack it with Extract All. If you want the Core receipts, unpack the evidence pack into the same place: in the folder that holds FARIS-0.2.0, run tar -xzf FARIS-0.2.0-evidence.tar.gz in a terminal (Windows 10 and 11 include tar). Then double-click bin\faris-app.exe.

Windows SmartScreen may warn, because the programs are not signed. Choose More info, then Run anyway. The app opens without a console window. verify.sh does not run on Windows. The app checks the package itself at launch.

macOS

Use FARIS-0.2.0-macos-aarch64.tar.gz on a Mac with Apple silicon and FARIS-0.2.0-macos-x86_64.tar.gz on an Intel Mac. Check it with shasum -a 256 -c SHA256SUMS --ignore-missing and unpack it, with the evidence pack if you want it, into the same place. The programs are neither signed nor notarized, so macOS blocks them at first. After unpacking, run this once in Terminal:

xattr -dr com.apple.quarantine FARIS-0.2.0

Then double-click bin/faris-app. Or open it first and allow it under System Settings, Privacy & Security, Open Anyway. verify.sh does not run on macOS. The app checks the package itself at launch.

Without the evidence pack

Everything works except the saved receipts. The Evidence step says “Core receipts not included”, why, and the next step: download the evidence pack, unpack it into the folder, and reopen FARIS. See Troubleshooting.

Where FARIS keeps your files

Nothing is written inside the package. Runs that FARIS generates go to a folder for your user:

SystemRuns folder
Linux$XDG_STATE_HOME/faris/recorded-demo-runs/<folder>, or ~/.local/state/faris/recorded-demo-runs/<folder> if unset
macOS~/Library/Application Support/FARIS/recorded-demo-runs/<folder>
Windows%LOCALAPPDATA%\FARIS\recorded-demo-runs\<folder>

--runs-directory DIR chooses another folder. It must be outside the package.

Build from source

You can build FARIS yourself with Rust. The repository README has the pinned toolchain, the build commands and the Linux packages the graphics stack needs. A source build opens an embedded geometry demo unless you give it a study. The recorded study comes with the package.

Next: take the tour.

Supported platforms

Each row names the CI job that is its evidence. scripts/platform_table.py --check fails the build when a row names a job that does not exist in .github/workflows, or a runner label that job does not use. A row marked NONE has no hosted runner; the reason is stated and nothing is claimed for it.

Tier 1 is built, tested and supported. Tier 2 is built and tested, with fixes as time allows. Tier 3 (other distributions and versions) is best effort and has no evidence. The versions are choices made before the first public release and may change.

What the jobs do: ci.yml:check builds the whole workspace and runs every Rust and Python test. platforms.yml:native builds the command line and the desktop app and runs the Rust tests of the command-line crates, then runs faris --version, faris validate and faris doctor. The desktop app is built there but not started, because hosted runners have no display; the packaged app is started by the release smoke test, which runs on a release, not on every push. platforms.yml:linux-old-glibc builds the command line on Ubuntu 20.04 (glibc 2.31) and runs it in four distributions.

PlatformTierRunnerEvidenceWhat it shows
Ubuntu 24.04 LTS, x86_641ubuntu-latestci.yml:checkWhole workspace builds and passes its tests. The label ubuntu-latest is Ubuntu 24.04 today.
Ubuntu 26.04 LTS, x86_641ubuntu:26.04platforms.yml:linux-old-glibcThe command-line binary runs in an Ubuntu 26.04 container. No hosted 26.04 runner exists, so it is not built or tested there.
Linux, glibc 2.31 floor1ubuntu:20.04platforms.yml:linux-old-glibcThe command line is built on Ubuntu 20.04 (glibc 2.31) and runs on Debian 11, Ubuntu 20.04, 24.04 and 26.04 (Debian 11 is a run-only check). The desktop app is built on Ubuntu 22.04 (desktop.yml) and needs glibc 2.35; it is not yet held to the 2.31 floor.
Windows 11, x86_641windows-2025platforms.yml:nativeCommand line and app build, Rust tests run. The runner is Windows Server 2025, which shares Windows 11’s code base but is not Windows 11.
Windows 10 22H2, x86_641noneNONE: GitHub offers no Windows 10 runner. Windows Server 2022 (windows-2022, platforms.yml:native) is the nearest.Nothing is claimed for Windows 10.
macOS 14, Apple silicon1macos-14platforms.yml:nativeCommand line and app build, Rust tests run.
macOS 15, Apple silicon1macos-15platforms.yml:nativeSame, on the newer release.
Linux aarch64 (Ubuntu 24.04)2ubuntu-24.04-armplatforms.yml:nativeCommand line and app build, Rust tests run.
macOS 15, Intel2macos-15-intelplatforms.yml:nativeCommand line and app build, Rust tests run.

The browser version

The browser version of FARIS runs at faris.avilalabs.org. It opens the recorded demo study in a browser tab, with nothing to download or install.

What it is

It is an explorer of recorded results. The study that the desktop app opens from its release package opens on page load. Nothing in the browser version starts a new calculation.

What you can do

  • Look at the plant in 3D, and follow the guided tour.
  • Read the recorded transport results for the four arrangements, and the recorded maintenance result.
  • Move the 30-year history sliders and see the uncertainty ranges. The ranges were calculated beforehand with 200 samples per arrangement; the browser reads them and does not calculate new ones.
  • Compare the four arrangements and read the allocation sweep.
  • Search the commands with Ctrl+K (Cmd+K on a Mac), and read this handbook at faris.avilalabs.org/docs.
  • Open your own .faris study with the file picker or by dropping it on the page.
  • Export a brief, tables and charts. The browser saves them as one zip download.

What needs the desktop app

  • Transport runs. They start OpenMC, which runs as a program on your computer.
  • CAD design check. It starts the CAD helper, which a browser cannot start.
  • Weight windows. They are built by transport runs.
  • Saving a .faris study. The browser version can open a study but not write one back. Use the export for a copy of the results.
  • Saved Avila Core evidence and recorded design reports. The packaged Core evidence store and the design transport and design check windows are not in the browser version.
  • Uncertainty with 1000 samples, and any study whose ranges were not calculated beforehand. These show as unavailable with the reason.
  • ACTINV maintenance runs. They start ACTINV as a program.
  • Compile study. It starts Avila Core as a program.

In the browser version these are hidden, or shown as unavailable with the reason and a link to the desktop app. Download the desktop app to use them; the files are on the releases page.

Your files

Your files stay in the browser tab. FARIS does not upload them. When you close the tab they are gone, so save what you want to keep.

Signing in

Signing in with an Avila Labs account is optional. Every part of the browser version works without it. See Avila Labs account.

Which browsers

The 3D view needs WebGPU or WebGL2. Recent versions of Chrome, Edge, Firefox and Safari have at least one of them. If your browser has neither, the page says so and points you to the desktop app.

First visit

The first time you open the page, a card titled “About this browser version” explains these points: the page shows recorded results, it cannot run new transport, check CAD designs or run ACTINV or Avila Core, your files stay in the tab, and signing in is optional. The guided tour follows. It is shown once. You can open it again from the command palette or from “About this browser version”.

Take the tour

Start the app

Open bin/faris-app from the package folder (see Download and verify). The first time the app starts without a study file, it plays a 12-stop tour of the recorded study. It takes about a minute.

Use Next (or the Right arrow, or Enter) and Back (Left arrow) to move. Choose Skip tour (or press Esc) to leave. Finishing or skipping writes a marker file, so the tour does not play again. The marker is tour-completed. On Linux it is in a faris folder under $XDG_CONFIG_HOME, or under ~/.config when that is not set. On macOS it is in ~/Library/Application Support/FARIS, and on Windows in %APPDATA%\FARIS.

Choose Tour in the top bar to replay it. Start the app with --tour always or --tour never to override the default.

The five steps

The workspace has five steps. The top bar has one button for each, and the keys 1 to 5 switch between them.

KeyStepWhat you do there
1DesignLook at the plant in 3D. Choose the port and the blanket/shield allocation.
2SimulateRead the transport results and colour the 3D model with flux, heating or fluence.
3OperateChange the operating assumptions and watch the 30-year timeline. Run an uncertainty ensemble.
4ComparePut the four arrangements side by side. Slide through the allocation sweep.
5EvidenceSee what was run, with which inputs and receipts, and what is not evaluated.

The left panel shows the controls of the current step. The right panel is the Outliner, where you show or hide components, and the Properties of the selected component. The centre is the 3D viewport. The bottom panel is the timeline, or the comparison on step 4.

Move in the viewport

  • Drag to orbit.
  • Shift-drag to pan.
  • Scroll to zoom.
  • Click a component to select it.

Frame scene resets the camera. Cutaway is a display option only. It does not change the model or any reported volume.

Change the interface size

Choose Interface size in the top bar. It offers 100, 125, 150, 175 and 200 per cent, and scales text, controls, panels and plots together. Ctrl/Cmd + and − adjust it; Ctrl/Cmd 0 resets it. The 100 per cent setting follows your desktop’s display scaling. To start larger, pass --interface-scale 1.25. The allowed range is 0.75 to 2.

Try three things

  1. Press 3. Move Magnet service limit and watch the timeline.
  2. Press 4. Read What changes first, then the flags.
  3. Press 5. Read why the scientific verdict reads NOT_EVALUATED.

Next: Design: the plant in 3D.

Keyboard

Every action in FARIS can be reached and run from the keyboard. This page lists the keys. On macOS, read Ctrl as Cmd.

The command palette

Press Ctrl+K anywhere to open the command palette. Type to filter (any word of the command’s name or a related word matches, so “transport” finds Simulate), press Up and Down to choose, Enter to run and Esc to close. A command that cannot run now is shown with the reason, and running it puts the reason in the status line instead of doing nothing.

Commands

Each row is a palette entry. Where a key is shown it also works on its own, without opening the palette. The digit keys do not act while you are typing in a text field or while the tour is playing.

CommandKey
Open the command paletteCtrl+K
Go to step 1: Design1
Go to step 2: Simulate2
Go to step 3: Operate3
Go to step 4: Compare4
Go to step 5: Evidence5
Open a study file…Ctrl+O
Save the studyCtrl+S
Save the study as…Ctrl+Shift+S
Store the Core evidence inside the saved file (toggle)none, use the palette
Export the brief, tables and charts…none, use the palette
About this browser version (browser version only)none, use the palette
Focus the 3D viewport (arrows orbit, Shift+arrows pan, + and − zoom, 0 resets, Enter reads out)none, use the palette
Reset the 3D view (frame scene)none, use the palette
Cutaway on or off (toggle)none, use the palette
Select the next componentnone, use the palette
Select the previous componentnone, use the palette
Show or hide the selected component (toggle)none, use the palette
Switch to the next blanket and shield allocationnone, use the palette
Switch between the port and no-port arrangementnone, use the palette
Timeline: one year laternone, use the palette
Timeline: one year earliernone, use the palette
Timeline: go to year 0none, use the palette
Timeline: go to the end of the horizonnone, use the palette
Read out the tritium breeding ratio and its errornone, use the palette
Explain why a value is NOT_EVALUATED and what would settle itnone, use the palette
Maintenance window (toggle)none, use the palette
Design check window (toggle)none, use the palette
Design flux window (toggle)none, use the palette
Replay the guided tournone, use the palette
Interface size: largernone, use the palette
Interface size: smallernone, use the palette
Interface size: 100%none, use the palette

The interface size also answers to the keys your desktop gives every window: Ctrl and + or −, and Ctrl 0.

Tab and the controls in each panel

Tab and Shift+Tab move between controls. Space or Enter presses a button or toggles a checkbox, arrows change a slider or move in an open list, and a text field takes typing. This covers the run settings and Run buttons, the what-if, sensitivity and ensemble controls, the Core stage buttons, the allocation sweep controls, the timeline’s plot choice, series buttons, year slider and event list, and the fields and buttons of the Maintenance, Design check and Design flux windows.

The 3D viewport and the timeline plot

Two drawings take the keys themselves once they have focus. Press Tab until a frame appears around the drawing, or run “Focus the 3D viewport” from the palette. Scrolling with the mouse wheel or trackpad over the timeline plot does nothing; use the keys or drag inside it.

WhereKeysWhat it does
3D viewportArrow keysOrbit
3D viewportShift+Arrow keysPan
3D viewport+ or =Zoom in
3D viewport-Zoom out
3D viewport0Reset the view
3D viewportEnter or SpaceRead out what is at the centre of the view
Timeline plotLeft or RightMove the cursor year by 0.1
Timeline plotShift+Left or Shift+RightMove the cursor year by 1
Timeline plotPage Up or Page DownMove the cursor year by 5
Timeline plotHome or EndGo to the start or end

Enter or Space in the 3D viewport selects the component at the centre of the view, shown by a small cross, and writes what it shows into the status line at the bottom of the window. In the flux slice view it writes the bin’s value and standard error. While the timeline plot has focus, a text line under it gives the cursor year and each arrangement’s value there. Both drawings have a text description for screen readers.

What is not covered yet

The guided tour is operated by Right or Enter, Left and Esc. The file and folder dialogs are the desktop’s own and have their own keyboard use. The optional account controls are not in the command palette.

Design: the plant in 3D

Press 1 to open the Design step.

The model

The viewport shows the plant as concentric shells from the first wall to the magnets. In FARIS the 3D view is the transport model: what you see is what the transport calculation used. The geometry is idealised. It is a full torus of concentric layers with one outboard port, not the published ARC design. Scope and limits says what that leaves out.

The plant has a major radius of 3.3 m and a radial build of 1.20 m. Fusion power is 525 MW.

Choose the arrangement

Port has two choices:

  • With outboard port. One finite outboard service port, a 0.30 m × 0.30 m rectangular duct through the whole radial build. It has no shield plug. It is a bounding streaming case, and it is the 3D feature the magnets behind it feel most.
  • No port (matched control). The same plant without the port.

Allocation lists the blanket/shield splits of the recorded study. The two arrangements you compare throughout the handbook are:

NameBlanketShield
Reference0.45 m0.45 m
Breeder-heavy0.55 m0.35 m

A radial-build bar shows the layers. Outlined layers are the ones that change between allocations. Look at it first.

Inspect a component

Click a component in the viewport, or select it in the Outliner, to see its Properties. Tick or clear the boxes in the Outliner to show or hide components.

Plant inputs (major radius, radial build, fusion power) carry the badge authored. They are assumptions written for this scenario. Sources and assumptions lists the cited literature and the authored assumptions behind them.

Next: Simulate: transport results.

Simulate: transport results

Press 2 to open the Simulate step.

Read the transport card

For the selected arrangement, the transport card shows:

  • Tritium breeding: H3 atoms per source neutron.
  • Magnet-region mean flux.
  • Total nuclear heating.
  • The number of histories.

Each value carries its Monte Carlo standard error. The recorded runs use 10 million histories for the port cases and the sweep, and 30 million for the port-free controls. Reading the numbers explains the standard errors and the badges.

The transport result is labelled “cold-data surrogate · NOT_EVALUATED”. Scientific qualification is not evaluated, even for completed transport, because the materials are surrogates and the data are cold. Hover the label for the reason, and read Scope and limits for what would settle it.

Colour the 3D model

The field-view menu in the viewport controls colours the model:

ViewWhat it shows
MaterialsThe material of each component.
Mean component fluxThe flux averaged over each component.
Spatial neutron fluxThe calculated flux on a plane around the port. Move the Y slice slider to change the plane.
Nuclear heat depositionWhere the transport deposits heat.
Accumulated component fluenceFluence built up over operation. It follows the timeline year.

Flux colours use a fixed logarithmic scale, so arrangements are directly comparable. Each displayed value is a volume average over a mesh bin, including void. The mesh does not resolve point peaks. Gray bins have no samples. Desaturated bins have more than 30 % relative standard error. Neither treatment gives a zero-flux bound or a total uncertainty.

Transport fields use the recorded source strength and stay fixed during outages. Component colouring shows region averages, not a field inside a component.

Open Reference-source energy-group spectra to see the recorded neutron and photon flux spectra. They are flux spectra, not deposited-energy spectra.

Run new transport

Run and review transport can run new OpenMC transport. It needs your own OpenMC and data, set under Transport configuration. The recorded study does not need it. See Run your own transport.

Next: Operate: the 30-year history.

Operate: the 30-year history

Press 3 to open the Operate step. It edits the operating assumptions and recalculates the 30-year history of every arrangement and, when present, of the allocation sweep. The history follows magnet and blanket exposure, replacement outages, tritium inventory and net electricity.

Start with the preset menu, then move the sliders and watch the timeline.

Choose a preset

Hover a preset to see what it is and its key numbers.

PresetWhat it is
Demountable magnetsThe default. The magnet envelope is replaceable at a literature REBCO screening value of 3 × 10²² n/m² of fast fluence (neutron energy above 0.1 MeV).
Loaded assumptionsThe operating assumptions loaded with the study.
Authored baselineThe authored baseline operating scenario.
Permanent-trip testA numerical control, not a plant scenario. It trips the magnets permanently to exercise the replacement and shutdown logic, and it ends with negative net electricity. It is marked as a control.

Ask what if

Under What if…, each slider edits one assumption. Each edit cancels any running calculation and recalculates after a short pause. A row shows an edited badge and a revert button once you move it away from the preset.

  • Magnet service limit: 10²¹ to 10²³ n/m², logarithmic, with the literature value marked and a reset button.
  • Magnet replacement duration: 14 to 365 days.
  • Blanket service limit: 10²⁵ to 10²⁷ n/m².
  • Tritium recovery fraction: 0 to 1.
  • Processing delay: 0 to 7 days.
  • Thermal-to-electric efficiency: 0 to 1.
  • Opening usable fuel / kg.

A row appears only when the preset declares it. Revert all to preset undoes every edit. Recalculate history is a manual fallback.

All of these values are authored or literature screening values. They are not material allowables or measured plant data. Service limits, outage durations, recovery fractions and efficiencies stay conditional on what you set.

Magnet limits per region

The magnet limit applies to fast fluence averaged over each of three regions:

  • Inboard: the inboard half of the magnet.
  • Outboard: the outboard half, outside the port sector.
  • Port sector: the 20° sector of the outboard half behind the port.

Fluence is each region’s fast flux times operating time. The first region to reach the limit triggers the replacement, and the event names it. Replacing the magnets resets the exposure of every region. One slider moves all the region limits together.

FARIS reports regional averages, not the local peak. A hot spot inside a region can reach the limit sooner than the average does. The port-sector figure is the one most likely to understate it.

Read the timeline

The bottom panel plots one quantity for each arrangement. Choose it from:

  • Magnet fluence, toward its service limit.
  • Electricity, cumulative signed net electricity.
  • Tritium, usable inventory.
  • Full-power years, cumulative.

Click an arrangement chip to show or hide it. The one drawn in 3D is drawn thicker. Click or drag on the plot, or use the calendar years slider, to scrub through time. Scrubbing selects the computed snapshot at or before the requested time. Events are never interpolated across. In the Accumulated component fluence view, the 3D colours follow the year you scrub to.

Jump to a calculated event… lists every event: tritium imports, processed tritium released, operation started and stopped, fuel-limited stops, planned outages, service limits reached, and replacements starting and completing.

The headline row shows:

  • Year.
  • State: Operating, Magnet replacement, Component replacement, Planned outage, Fuel-limited or Stopped.
  • Usable tritium, with the amount still in processing on hover.
  • Net electricity so far.
  • Magnet swaps so far.
  • Next magnet swap.

Replacement outages and planned outages are authored in duration and timing. The planned outages are illustrative. They are not an availability estimate. Select a component in the Outliner to see its accumulated fluence, replacements completed, trigger and operating events.

Tritium and net electricity

Usable tritium follows breeder production, D-T burn, imports, processing delay, process loss and decay. It is conditional on the authored recovery fraction and delay.

Net electricity is gross output minus auxiliary load under authored energy assumptions. It is unavailable when no total nuclear-heat response is bound to the transport run. The ledger is not a coolant or thermal-cycle calculation.

Conditional sensitivity

The collapsed section Conditional sensitivity runs 27 full-history reruns. Recovery is 0.90, 0.95 and 0.99. Processing delay and the service limits are each ×0.5, ×1 and ×2. These are authored probes around the preset. They are not uncertainty bounds.

Next: Uncertainty ensembles.

Computed maintenance durations

New in FARIS 0.2. The download includes a recorded result for the four demo arrangements: open Maintenance in the top bar and choose Open the recorded maintenance result.

Most plant models give every replacement the same fixed outage length. In a real plant the length depends on how long the parts around the replaced component take to cool down, and that grows as the parts that stay in the machine collect long-lived activation. FARIS can compute each replacement’s outage from the decay heat of those parts and compare the result with the fixed durations, design by design.

What FARIS computes

For each design and each replacement over the plant’s life:

  1. Cooldown. FARIS asks ACTINV for the decay heat of every governing component (the parts that must cool before work can start) as they are at that shutdown, after the irradiation history up to it. The governing set’s decay heat per volume is followed for up to 365 days. The cooldown ends when it falls below the class threshold q*.
  2. Outage. The outage is the cooldown plus the class’s work time.
  3. Iteration. Longer outages shift every later event and change the irradiation history, so FARIS reruns the operating history with the new outages and repeats until no outage changes by more than a day (at most 10 passes).

It then reports, under both the fixed and the computed model, every design’s total replacement downtime, availability and lifetime net electricity, plus the downtime difference between each pair of designs.

The comparison makes no ranking claim. In the validation runs, computed durations changed the downtime differences between designs by factors of 2 to 14. Whether they change which design produces more electricity depended on how long outages are assumed to be.

What you need

  • ACTINV and its nuclear data. See actinv.avilalabs.org.
  • Python 3 for FARIS’s activation-input builder, which writes the ACTINV inputs. The package has it as tools/build_activation_inputs.py, and FARIS finds it there.
  • Per design: a scenario, its physics file, a verified transport run for the history, a 709-group spectrum run and operating-history assumptions. These are the same files the history and transport chapters use. The download does not hold the demo arrangements’ 709-group spectrum runs, so recomputing needs your own transport runs.

The designs file

A designs file names each design and its five files. Paths are relative to the file.

{
  "schema_version": "faris-maintenance-designs/v0.1",
  "designs": {
    "port__reference": {
      "scenario": "scenarios/arc-inspired/cold-reference-port.scenario.json",
      "physics": "scenarios/arc-inspired/cold-reference-port.reference.physics.json",
      "history_run": "runs/port-reference/run.json",
      "spectrum_run": "runs/port-reference-709/run.json",
      "history_assumptions": "scenarios/arc-inspired/demountable-magnet-assumptions.json"
    }
  }
}

The maintenance assumptions file

One entry per replacement class: the replaced component, its governing components, the work time and the threshold.

{
  "schema_version": "faris-maintenance-assumptions/v0.1",
  "governing_quantity": "heat",
  "classes": {
    "blanket": {
      "component_id": "blanket",
      "governing": ["first-wall", "blanket"],
      "work_s": 2592000,
      "threshold": {"kind": "calibrate", "design": "port__reference", "target_cooldown_s": 2592000}
    },
    "magnet": {
      "component_id": "magnets",
      "governing": ["first-wall", "blanket", "shield", "vessel"],
      "work_s": 5184000,
      "threshold": {"kind": "q_star", "q_star_w_per_m3": 2179}
    }
  },
  "cooling": {"min_s": 3600, "max_s": 31536000, "points": 40},
  "max_iterations": 10,
  "convergence_s": 86400
}

A threshold is set in one of two ways:

  • calibrate: q* is chosen so that this class’s first replacement in the named design, at the fixed durations, cools down in exactly target_cooldown_s. Durations are then relative to that one outage: FARIS shows how they differ between designs and over the plant’s life, not how long they are in absolute terms.
  • q_star: a threshold in W/m³ that you supply, for example from a plant’s remote-handling limits.

The fixed duration of each class is the replacement_duration_s in that design’s operating-history assumptions. cooling, max_iterations and convergence_s may be left out; the values above are the defaults.

Run it from the desktop

Open Maintenance in the top bar, then Run…:

  1. Choose the designs file and the maintenance assumptions file.
  2. Choose the actinv executable and the ACTINV data directory (the folder above the catalogue version). FARIS remembers them until you close it. You can also pass them at launch with --actinv and --actinv-data.
  3. Optionally choose the result file. By default it is maintenance-result.json next to the designs file; an existing name gets a number, so nothing is overwritten.
  4. Press Run.

Anything missing is listed under the form with what to do next. While it runs, the window shows the design, the pass, ACTINV runs and cached curves, and the elapsed time. Cancel stops ACTINV and writes no result. You can close the window and reopen it to check progress. When the run finishes, the result opens in the window.

ACTINV results are cached in maintenance-work next to the designs file, keyed by the exact ACTINV input, so a rerun with unchanged inputs takes seconds.

Run it from the command line

faris maintenance run --designs designs.json --assumptions maintenance.json \
  --actinv /path/to/actinv --data-dir /path/to/actinv-data --output result.json [--workers 2]
faris maintenance report result.json

run refuses an existing output file. Its work folder defaults to result.json.work; --cache points several runs at one cache. --impurities uses the specification-maximum impurity variant instead of the bare materials. report prints markdown tables, or the result itself with --format json. See Command line for the other commands.

Read the result

Open a result with Maintenance → Open result…, or start FARIS with --maintenance result.json. In the downloaded package, Open the recorded maintenance result opens the result recorded for the four demo arrangements after checking its SHA-256. It was computed with ACTINV at the coupling test’s settings: each class’s work time and calibration target are half its fixed duration, with q* calibrated on the reference-port arrangement, and the “Demountable magnets” operating assumptions (in the package as maintenance/operating-assumptions.json).

  • Thresholds: q* per class and where it came from.
  • Designs: downtime, availability and lifetime net electricity, fixed beside computed, and whether the computed model could be evaluated.
  • Replacement outages: per replacement, a grey bar for the fixed duration beside the computed one, split into work (blue) and cooldown (orange), against plant time.
  • Replacements: every replacement with its start, both durations, and why: each governing component’s share of the decay heat when the cooldown ends, and how long it had been in the machine. A cooldown that grows from one replacement to the next is usually explained here by a part that is never replaced. In the validation designs the first wall gave essentially all of it.
  • Between designs: the downtime difference under each model and their ratio. The ratio is left out when the fixed difference is under 30 days, where it would not mean much.

A result marked not evaluated says why and what to try next. Common reasons:

  • The decay heat never falls below q* within 365 days. Raise q* or reconsider which components govern.
  • The outages still change after the last pass. Raise max_iterations, or look at the last two passes in All iterations for durations that alternate.
  • A cooldown is cut short by the next restart (window-limited), so it is only a lower bound.

Literature durations and remote-handling limits

Computed durations are one choice. FARIS also carries published ones, labelled literature wherever they appear, with the source link and the conditions they were derived under. They are inputs taken from a paper, not FARIS results.

PresetWhole outageConditions
EU-DEMO blankets and divertor, 4 remote-handling systems7.9 months5.9 months of handling (Table 1, p. 5; the paper’s “about 6 months”) + 1 month cooling + 1 month conditioning and pump-down (Sec. 5.2)
EU-DEMO blankets and divertor, 8 systems5.2 months3.2 months of handling, the shortest in Table 1, + the same 2 months
EU-DEMO blankets and divertor, 1 system24 months22 months of handling, one system working all 16 sectors in turn (about 1,000 hours per sector, p. 4), + the same 2 months

All three come from Crofts and Harman, Fusion Eng. Des. 89 (2014), arXiv:1412.4008, read in full. Each replaces all blanket segments and divertor cassettes of the 2012 EU-DEMO (5 segments and 3 cassettes in each of 16 sectors) through all 16 upper and 16 divertor ports; replacing the blankets alone takes as long, because the divertor must come out first (p. 4). The handling months already include the paper’s equipment-failure recovery (about 20 % of the total, p. 5), transporter delays and shift and operator productivity. The paper states no percentage contingency, so the presets add none and say so.

Remote-handling constraints. The outage length follows the number of parallel remote-handling systems, ports and crews. Handling time is a fixed part plus the shared work divided by the systems that can work at once, which is the smallest of the systems, the ports and the crews; cooling, conditioning and contingency are added. The model assumes the systems share the work evenly and never fail or wait for each other. Fitted to the five points in Table 1 of the paper (22, 11, 5.9, 4.4 and 3.2 months for 1, 2, 4, 6 and 8 systems), it stays within 10 % of each. The fit is a calibration to those points, not a derivation from the paper’s handling sequence.

Sensitivity to each duration. For a chosen range of each replacement duration, FARIS reruns the history at the low and high value of one duration at a time and reports lifetime net electricity and availability for each, largest effect first (a tornado). Availability here is one minus the replacement downtime over the history. Net electricity is absent, with the reason, when the history lacks its energy inputs.

Limits

  • Decay heat governs; contact dose does not. With dose as the governing quantity and a threshold fixed at the first outage, the never-replaced first wall kept the dose above it for more than a year at later replacements in the validation designs. FARIS therefore refuses "governing_quantity": "dose" for now. Testing a remote-handling dose rule needs its own validation.
  • Screening, not a maintenance plan. Work times, governing sets and thresholds are your assumptions. FARIS does not model crews, spare parts, queues or remote-handling equipment.
  • Run time. The calculation runs ACTINV once per replacement and governing component, and again on each pass. A four-design, 30-year case took about ten minutes from an empty cache and about a minute from a full one on a laptop.
  • Checked against the validation test. On the maintenance coupling test’s four designs, FARIS reproduces the reference calculation’s outages, downtimes and lifetime electricity to 1 part in 10¹⁴. The validation itself is described in the repository’s docs/notes/MAINTENANCE_COUPLING_VALIDATION_RESULT.md.

Uncertainty ensembles

An ensemble carries the Monte Carlo sampling uncertainty of the transport through the 30-year history. You see it on the Operate step, under Uncertainty in the history.

How it runs

The app starts an ensemble for each arrangement in the background once the history settles, the selected arrangement first. You do not start it by hand.

  • It can be cancelled. Any edit that changes the history cancels it.
  • Nothing partial is shown.
  • Finished ensembles are reused when the inputs are identical.
  • The ensembles are saved in a study file, so a reopened study does not recompute them.

Under Samples, choose 200 or 1000. 1000 gives narrower sampling error and takes about five times longer. For 200 samples of four arrangements, expect minutes. The same seed gives the same result at any thread count.

What it does

FARIS draws the driving rates from a multivariate normal distribution. The rates are the breeder H3 per source neutron, the component fluxes and the heating. The distribution uses the recorded transport means and the covariance between them, so correlated quantities move together. FARIS runs the deterministic history once for each draw and summarises the spread. Method has the details.

What you see

  • Each continuous output shows its nominal value beside the median and the 5 to 95 per cent range (P5 to P95). The range is a 90 % range. Each quantile has a distribution-free 95 per cent confidence interval, where enough samples exist.
  • Discrete outputs, such as swap counts, show the share of samples with each value, with Wilson 95 per cent intervals.
  • For a magnet with region limits, the first-trigger line says which region reached its limit first, for example “Magnet swap triggered first by: port sector in 97 % of samples, inboard in 3 %”.
  • The timeline gets a shaded P5 to P95 band, labelled “bands: P5–P95, transport sampling only”.
  • In Compare, paired differences use the same sample index in both arrangements. The pairing is valid only for independent transport runs.

A share of samples with a given swap count describes sampling noise. It is not a lifetime estimate.

The 1 per cent rule

A draw with a physically impossible rate, such as a negative rate or a non-positive heating power, is rejected and redrawn. If rejections exceed 1 per cent of accepted samples, the ensemble is not evaluated. The result states the rejection percentage and the next step: run more histories or use variance reduction. No summary is produced.

A transport record without covariance is also not evaluated. Independence is never assumed. The result says to rerun transport with this FARIS version to record the batch-resolved results.

What it does not include

The ranges cover transport Monte Carlo sampling uncertainty only. They do not include nuclear-data, geometry, material or model-form uncertainty, the tritium half-life, or any authored assumption. The true uncertainty is larger. The section carries the line “Transport Monte Carlo sampling uncertainty only, not nuclear data, model or assumption uncertainty.”

From the command line

faris history ensemble --assumptions A.json --rates R.json --output E.json \
  --samples 200 --seed 1 --threads 4

--samples is 1 to 2000 and defaults to 200. --seed and --threads are optional. An ensemble that is not evaluated is written and the command exits 0, so read the status field of the output. See Command line.

Next: Compare and the allocation sweep.

Compare and the allocation sweep

Press 4 to open the Compare step. The bottom panel shows Compare the four recorded arrangements. Drag the panel’s top edge to resize it.

The four arrangements

The panel has one column for each allocation, Reference (0.45 m blanket, 0.45 m shield) and Breeder-heavy (0.55 m, 0.35 m), and one row for each port setting, With port and No port. Each cell shows breeding, magnet flux, magnet swaps over the horizon, the first swap, lifetime net electricity and final usable tritium. Transport rows carry Monte Carlo standard errors. History rows are conditional on the operating assumptions you selected.

What changes

What changes lists four contrasts. Each row is the second arrangement minus the first:

  • Breeder-heavy − Reference, with port.
  • Breeder-heavy − Reference, no port.
  • Port − No port, reference.
  • Port − No port, breeder-heavy.

Columns give the change in breeding, magnet flux, swaps, first swap and net electricity. A one-line takeaway is written from the current numbers. Read this table first. Bar charts of lifetime net electricity and magnet swaps follow.

The 2σ flags

Each transport difference carries a flag. FARIS compares the difference with 2·√(SE₁² + SE₂²), where SE₁ and SE₂ are the two standard errors.

  • “beyond 2σ sampling noise” means the difference exceeds that.
  • “within 2σ sampling noise” means it does not.

The runs use different seeds and their covariance is not modelled. So the flag is a screening aid, not a significance test. “Beyond 2σ sampling noise” says nothing about nuclear data, geometry or model form.

Uncertainty in the history comparison

When the ensembles are ready, this section shows each contrast as a paired difference, sample by sample, with its range and the share of pairs where one arrangement is below, equal to or above the other. A contrast that cannot be compared says why and what to do. See Uncertainty ensembles.

The allocation sweep

Below the contrasts is the Allocation sweep, a set of seven recorded transport runs. They keep the same radial envelope and move thickness from shield to blanket. Each is an independent run with its own seed.

Move the Allocation slider through the splits. It shows the blanket and shield thickness of the selected point. Three charts show breeding, magnet flux and the histories. Their bars are sampling error only.

What the sweep shows lists the findings the recorded runs support. Statements about transport carry the badge calculated. Statements about replacements and electricity carry conditional on the selected preset, because they come from the operating history under authored assumptions. Transport uncertainty is not propagated into them.

Next: Evidence and Avila Core receipts.

Evidence and Avila Core receipts

Press 5 to open the Evidence step. It shows what Avila Core checked.

Three separate lines

Compilation, run readiness and the scientific verdict are separate lines. The scientific verdict reads NOT_EVALUATED. It stays that way because the transport uses cold-data surrogate materials and no qualification has been evaluated. Scope and limits lists what would change that.

Receipts

Studies run through Avila Core, which records hash-bound receipts. Each receipt binds a result to its exact inputs.

A saved Core workflow reads “executed and verified” when its receipts were rechecked on opening. That states the workflow ran. It does not state that the design works.

In the recorded package the saved receipts live in one evidence store (the evidence-store folder, format avila.core/evidence-store/v0.1). It keeps each distinct file once, compressed, under its SHA-256. FARIS reads it in place and checks each file’s length and SHA-256 as it reads, so a changed, missing or extra file is refused with the file named. faris evidence inspect --store DIR --case-tree NAME --workspace-tree NAME shows the same inspection from the command line, and faris evidence verify-store DIR checks every file of the store.

If the saved receipts cover only the loaded assumptions, a badge reads “receipts cover the loaded assumptions”. Choose Use the covered assumptions to switch to them. The receipts do not cover other presets or edited values.

Receipts not included

By default a .faris file records the Core evidence archives by name and hash and does not store them. The study opens fully. The Evidence step then says “Core receipts not included”, with the reason and the next step. Study files (.faris) explains how to supply the archives.

Compile and run

Compile study in the top bar and Run bound study stages need an Avila Core executable. Choose it under Compiler settings, or start the app with --core. The recorded package supplies one.

Compilation, run readiness and scientific assessment stay separate lines here too. A successful compile or run is not a scientific verdict.

Next: Study files (.faris).

Study files (.faris)

A .faris file is one saved study. It holds both arrangements (with and without the port), the recorded transport, the allocation sweep, the operating assumptions, any finished uncertainty ensembles, and the view you left open: the step, preset, what-if values, year, field view, history tab, and selected arrangement and allocation.

Calculated histories are not stored. They recalculate on opening, in about a second.

Open a study

Open a file in any of these ways:

  • Choose File > Open… (Ctrl+O).
  • Drop the file on the window.
  • Pass it on the command line: faris-app demo.faris.

The window title shows the file name, with a dot after it when the view differs from what was saved.

Save a study

Choose File > Save (Ctrl+S) or Save as… (Ctrl+Shift+S). Save is greyed out, with a reason on hover, when nothing recorded can be saved. A study started from your own transport run records cannot be saved.

What is checked

Recorded files are stored byte for byte and checked by hash on every open. This keeps the Core receipts’ “unchanged since checked” guarantee through a save. A damaged file is refused, and the message names the damaged part. A file is also refused if a size is wrong, if it uses an unsupported encoding, or if its version is not major version 1.

Run this to see which part of a file fails:

faris study-file verify demo.faris

Referenced or packed evidence

By default the Core evidence (the File menu shows its size) is recorded by name, file list and hash and is not stored. The study opens fully without it. Its Evidence step says “Core receipts not included”, and why, and what to do.

For the current recorded package the evidence is the package’s evidence store. A study file records each saved case as a tree of that store, with the full list of its files. The app looks for the trees in two places, in this order:

  1. An evidence-store folder next to the .faris file. Save the file into an unpacked package folder, or copy the package’s evidence-store folder next to it.
  2. The evidence store of the package the app was started from.

A tree is used only when that store lists exactly the files the study recorded; every file read from it is checked against its hash. If a tree is missing or does not match, the Evidence step names it, says where the app looked, and says what to do: put the file next to the package’s evidence-store folder, open it with FARIS started from that package, or save it again with the evidence included.

Study files saved with older packages record .tar.gz archives instead. They still open: put the archives next to the file at the recorded relative paths (for example port/archives/reference-case.tar.gz at the package root) and reopen it. Archives found there are checked against their hashes and used. One whose hash differs from the record is reported and never used.

To keep the evidence inside the file, tick Include Core evidence in saved files in the File menu and save. The label shows the added size. A package-launched session can do this: the file then carries the evidence store for exactly the saved cases, checked on every open, and the receipts can be re-checked from that one file. A file opened with its evidence included keeps it on the next save unless you clear the box.

An older FARIS that does not know store evidence opens a referenced file with the evidence marked as not included, and refuses a file with evidence included. Save the study without the box ticked to give it a file it opens.

Open files from your file manager

On Linux, run scripts/install_desktop_integration.sh /absolute/path/to/faris-app from a source checkout. It works at user level. Add --uninstall to remove it. File managers do not show the file’s preview thumbnail.

The file itself

A .faris file is a zip container with a manifest and one content-addressed blob for each recorded file. The repository’s study file document describes the format, its size policy and its reading rules. Unknown fields are ignored, so later minor versions can add fields. An unknown major version is refused.

Next: Export a brief, tables and charts.

Export a brief, tables and charts

An export is a folder a colleague can read without FARIS. The .faris file stays the source of truth, and the export names its SHA-256 when the study has been saved.

Export from the desktop

Choose Export… in the top bar. The app asks for a folder and writes <study name>-export/ into it. It never writes into an existing export folder.

Export is unavailable while the histories, uncertainty ranges, sweep or saved evidence are still calculating or loading. Hover the button for the reason. It is also unavailable when the study has no operating assumptions.

What the folder holds

FileContents
summary.pdfTwo US Letter pages: the comparison, the flags, the timeline, the sweep, the assumptions, and the caveats and unknowns. A third page, on uncertainty, appears when an ensemble exists.
data/*.csvHistories, comparison, differences, sweep, assumptions and caveats. With ensembles, also the ensemble samples, summary and paired comparison.
charts/The charts as SVG and PNG, and the 3D view when it was captured.
export-manifest.jsonEvery file with its SHA-256 and size, the FARIS version, the research-screening statement, the time, and the study-file hash.

The PDF footer carries the version, the date and the study-file hash. For an unsaved study it reads “Unsaved study — no study file hash”.

Every PDF page, CSV, chart and the manifest carry the research-screening statement. Each CSV starts with a # comment line holding it. To skip that line when you load a table, use:

pandas.read_csv("data/histories.csv", comment="#")

Values are written at full precision, and units are in the CSV headers. Each kind column uses the labels in Reading the numbers.

Uncertainty in the export

With an ensemble for at least one arrangement, the export gains the third PDF page, a shaded P5 to P95 band on the magnet-fluence timeline, two charts of tritium and net electricity bands, and the three ensemble CSVs. An arrangement whose ensemble is not evaluated keeps its nominal values, labelled “no uncertainty range” with the reason. The next step is written as text beside it. Every range is labelled as transport Monte Carlo sampling uncertainty only.

Export from the command line

faris study-file export demo.faris --output /path/to/parent

The parent folder must exist. This writes the same <study name>-export folder without the desktop. It recalculates the histories and the sweep from the recorded assumptions and rates, as the app does on opening the file. It has two differences from the desktop:

  • It has no 3D view. The PDF has no 3D image, and the manifest says so.
  • It reuses only the ensembles stored in the file and never calculates new ones. An arrangement with none is exported as “not calculated”. Run the ensembles in the desktop, or with faris history ensemble, and save first.

Any failure exits non-zero with nothing written.

If the 3D view is missing

The export notes “The window capture did not arrive; this graphics backend may not support screenshots.” The rest of the export is written.

Next: Command line.

Command line

The package holds two programs: faris-app, the desktop, and faris, the command line. The faris command needs no graphics, Python, OpenMC or Avila Core, except for the commands marked below. Run faris --version to check the version and faris COMMAND --help for every flag of a command.

Errors exit with status 2. A study file that fails verification exits 1.

Commands

CommandWhat it does
faris validate SCENARIOValidates a scenario without running physics.
faris export --scenario S --output OExports geometry metadata and its evaluation status. It refuses an existing destination. It is not the study export below.
faris doctorReports which optional tools are on PATH. It runs nothing.
faris study-file createWrites a .faris file from recorded bundles and assumptions.
faris study-file inspect FILESummarises a file without extracting it.
faris study-file verify FILERehashes every blob and rebuilds every bundle. Exits 1 on any failure.
faris study-file unpack FILE DIRWrites the contents back out as ordinary files. Refuses an existing directory.
faris study-file export FILE --output DIRWrites the export folder.
faris history runOne deterministic history from --assumptions, --rates and --output.
faris history validateValidates --assumptions and --rates without calculating.
faris history from-runBinds rates from a successful transport run and calculates the history.
faris history ensembleAn ensemble of histories on sampled transport rates.
faris history compare-runsCompares two runs under identical assumptions.
faris history sensitivityFull-rerun sensitivity over a --grid file.
faris maintenance runComputes replacement outages from decay heat for every design and compares them with the fixed ones. Needs ACTINV and Python. See Computed maintenance durations.
faris maintenance report RESULTPrints a maintenance result as tables.
faris transport packPackages a completed run into a portable bundle.
faris transport validate-requestValidates a transport request against the exact scenario bytes.
faris transport normalizeConverts solver-reported per-source scores to physical rates and densities.
faris reactor runRuns fixed-source transport through OpenMC. Needs your own OpenMC and data. See Run your own transport.
faris reactor inspectRevalidates a saved run’s input, artifact, volumes and normalization.
faris design init STEP and faris design check DESIGNAvailable from the next release. Write a draft design file for a STEP model, and run import checks 1 to 9 on it. Needs a Python with cadquery. See The design file.
faris design transport DESIGN --check-report JSON --out DIRAvailable from the next release. For a design that passed faris design check, compute from its CAD geometry the neutron flux in the solids a fluence limit of the design applies to, and compare it with that limit over the linked operating history. The limit names the solids (its replacement group) and the energy threshold; with several such groups, pick one with --group; with none, the TF magnets are scored above 0.1 MeV. The run stops when the mean over the solids reaches --target-error (default 5 %) and its batches agree (variance of the variance at or below 0.1, so a sum one rare heavy history dominates is not accepted), or at --max-histories or --max-seconds; a run stopped by a limit says how many more histories it needs. Progress is printed while it runs. With --window-python (a Python with OpenMC 0.16 or later) FARIS first makes weight windows for the response, and the run needs far fewer histories; if the OpenMC that runs was built with the aiming patch (--openmc-package-path), it also aims at the openings of a duct that neutrons cross from the plasma to the response without a collision, when it finds one. The report says which of the three modes ran and why. Windows and the channel search are kept in faris-transport-cache beside the design file (--cache-dir, --no-cache), so a second run on the same model starts sampling at once. The limit’s averaging decides what is judged: group_average the mean over the group, peak_mesh the highest piece of any solid, where a piece is a ring of the limit’s dr by dz about the machine axis, cut by the solid (a set toroidal width is not applied: a piece spans the solid’s full toroidal width). With a peak the run continues until the highest piece is within twice the target error (10 % by default), which takes more histories than the mean alone. Only neutron fluence limits, a D-T plasma and the tokamak profile are handled; a design that asks for another source is refused. Needs a Python with OpenMC 0.15.3 built with DAGMC, --cross-sections and --plasma-source-path.
faris control absorberA synthetic one-group absorber, a mathematical control and not reactor physics. Needs OpenMC.
faris study generate and faris study compileGenerate a Core study, and compile it with an Avila Core executable you choose. No solver runs.
faris evidence prepare, run, inspect, stage, verify-storePackage and execute identified evidence with Avila Core. See Evidence.

Work with study files

faris study-file create --bundle port/bundles/reference.transport-bundle.json \
  --control-bundle control/bundles/reference.transport-bundle.json \
  --sweep-bundle sweep/blanket-045cm.transport-bundle.json \
  --assumptions operating-assumptions.json \
  --evidence saved-study-port-reference.json [--pack-evidence] -o demo.faris
faris study-file inspect demo.faris
faris study-file verify demo.faris
faris study-file unpack demo.faris out/
mkdir exports    # the parent folder must exist
faris study-file export demo.faris --output exports/

--bundle, --physics and --sweep-bundle are repeatable. --evidence takes a saved-study descriptor from a package (faris-saved-study-store/v0.1, naming two trees of the package’s evidence store) or from an older package (archives); use one kind per file. --pack-evidence stores the Core evidence inside the file; without it the file records the trees’ file lists and hashes and the evidence stays in the package. --view records a view from a JSON file, --zstd-level sets the compression level (default 15), and --preview stores a PNG thumbnail. create never overwrites an existing file. See Study files.

Calculate a history

Operating histories and their uncertainty run headless from a recorded transport run:

faris history from-run --scenario <scenario.json> --run <run.json> \
  --assumptions scenarios/arc-inspired/demountable-magnet-assumptions.json \
  --output history.json --rates-output rates.json
faris history ensemble --assumptions scenarios/arc-inspired/demountable-magnet-assumptions.json \
  --rates rates.json --samples 200 --output ensemble.json

--samples is 1 to 2000 and defaults to 200. --seed and --threads are optional. An ensemble that is not evaluated is written and exits 0, so read its status. Uncertainty ensembles explains the result, and Method the calculation.

Desktop options

faris-app takes a .faris file as its argument. Options you may want:

OptionEffect
--step STEPOpens on design, simulate, operate, compare or evidence.
--tour auto|always|neverControls the guided tour.
--interface-scale NStarts with the interface magnified by N (0.75 to 2).
--initial-year NStarts the timeline at year N.
--field-view VIEWStarts with a field view for results loaded with --run.
--core PATHThe Avila Core executable used by Compile study.
--package DIROpens the recorded study package in DIR. Without a study file or data options, the app looks beside its own bin folder.
--runs-directory DIRWhere generated runs go. It must be outside the package. The default is a per-user folder; see Download and verify.
--window-width N, --window-height NThe initial window size.

Run faris-app --help for the rest.

Next: Run your own transport.

Run your own transport

You do not need this to explore the recorded study. Use it to run new fixed-source transport yourself, for example to record a case with your own seed or history count. It uses the same engine from the command line and from the desktop.

What you need

  • OpenMC 0.15.3 in an environment you provide. The run refuses any other version.
  • The nuclear data the study was audited against. The recorded runs use FENDL-3.2 neutron data and ENDF/B-VII.1 photon data. The photon data come from a local overlay that FARIS does not ship. How to obtain and build it is described in Nuclear data.
  • A library audit of your own installation. The audit file in the repository records one workstation’s cache. Run integrations/openmc/audit_library.py on yours and supply its output. FARIS does not silently accept differences in library content.

The data stay outside the repository. They are not part of the package.

A second local library, v2, covers the full FENDL-3.2 neutron set, photon data for every element in it and ENDF/B-VIII.1 thermal-scattering tables for fusion materials. It is described in Nuclear data and is not the default. FARIS records which library a run used, by the digests of its cross_sections.xml and its audit.

Run a case

faris reactor run \
  --scenario scenarios/arc-inspired/cold-coupled-control.scenario.json \
  --physics scenarios/arc-inspired/cold-coupled-control.reference.physics.json \
  --mesh-preset outboard-local \
  --audit references/openmc-library-audit.json \
  --cross-sections /path/to/cross_sections.xml \
  --python /path/to/openmc-env/bin/python --openmc /path/to/openmc-env/bin/openmc \
  --particles 10000 --batches 100 --seed 123456789 --threads 1 \
  --output runs/cold-coupled-control-reference-001

The scenario and physics files shown are the port-free arrangement with the reference allocation. The port arrangements use cold-reference-port.scenario.json and its matching physics files.

To stop on an error instead of a fixed count, add --target-error 0.05. The run then stops as soon as the relative standard error of the magnet fast flux is at or below 5 %, but not before 30 batches, and --batches becomes the budget: the most batches it may use. The result says how many histories were sampled, the error reached and why it stopped. If the budget runs out first, the result says the target was not met; run again with a larger budget (up to the limits below) or more threads. The magnet fast flux is the hardest response in the model to sample, so a 5 % target on it needs millions of histories.

Add --window-python /path/to/openmc-0.16-env/bin/python and the target is reached in minutes instead of hours. That Python (OpenMC 0.16 or later, a separate environment from the 0.15.3 one that runs the transport) first makes weight windows aimed at the magnet fast flux: it condenses the library to 17 energy groups on the model’s materials, solves the adjoint problem of the magnet fast flux by random ray, and writes windows on a 25 cm mesh. The run then splits and roulettes neutrons on them. The windows change how fast the error falls, not the answer; the same generator is used by faris design transport. The windows are made once for a given model, materials, data and response and kept in faris-transport-cache beside --output (--window-cache DIR to put them elsewhere, --no-window-cache to make them for this run only), so a second run on the same model starts sampling at once.

A windowed run is two passes, because the windows serve one response and are not shown to leave the others unbiased at this precision (on the demo the total tritium was far noisier with them, 44 to 64 % against 0.09 % without). The analog pass is an ordinary run that samples until every whole-model response (total tritium and the heating family) is at the target; it gives every response except the magnet fast flux. The windowed pass is a complete run of its own in windowed-pass/ that samples the magnet fast flux with the windows until it is known to the target; it gives that one response. The record, faris reactor inspect (a pass on every response and a windowed_pass section), the CLI summary and the result view say which pass each response came from. The responses deep behind the blanket (the vessel, the coil layer apart from the fast flux) are not watched by the analog pass, which cannot reach the target on them; they are reported with the error the pass reached, which can be large.

On the demo scenario (3 threads) a windowed run took 6.4 minutes from the command to the finished record the first time (the windows 114 s, the analog pass 300,000 histories, the windowed pass 940,000 histories to 4.9 % on the magnet fast flux) and 3.4 minutes when the windows were reused (300,000 and 600,000 histories). An analog run needs tens of millions of histories for the same error on the magnet fast flux (two 1.3 million history analog runs were at 29 % and 35 %).

With windows use small batches, for example --batches 1000 --particles 20000: a run never stops before its 30th batch, and 30 batches of 250,000 would already be 7.5 million histories. Without --window-python, or if making the windows fails, the run is a single analog pass as before and its record says so and why. A preview (no --target-error) is always analog.

Both passes also apply a check on how steady the batches are: a target counts as reached only when the variance of the variance of the batch values is at most 0.1 (the limit MCNP uses and faris design transport applies). If the error is at the target but the batches disagree, the run goes on from its last statepoint with more batches; if the budget runs out first the result says the target was reached but is not trusted.

The windows are in the windowed pass’s directory as windows.h5, with the helper’s record windows-record.json; faris reactor inspect checks them and both passes against the hashes in the input and reports whether the run used them.

The limits are:

  • 30 to 1000 batches, and at most 50 million histories in all.
  • At most 32 threads.
  • A timeout of 3,600 seconds by default (--timeout-seconds), at most 14,400.
  • --output must be a new directory. The command refuses an existing one.

--mesh-preset is coarse (the default), outboard-local-coarse, outboard-local or outboard-port-window. The recorded runs use the outboard-local mesh. Ctrl-C cancels the run and its solver processes. These limits bound resources. They are not a sandbox.

A run records the per-batch results behind the covariance that the uncertainty ensembles need. Small regions need many histories. At 10 million histories, the port-sector fast flux of a port-free control has a 36 to 54 % relative error. That is too poorly sampled for ensembles, which is why the recorded controls use 30 million. A 30 million history run took about 68 minutes at 7 threads on the reference laptop.

Check a run

faris reactor inspect \
  --scenario scenarios/arc-inspired/cold-coupled-control.scenario.json \
  --run runs/cold-coupled-control-reference-001/run.json

This rechecks the run’s recorded inputs, raw artifact, sampling, audit, adapter identity, volumes and normalization. Neither a completed process nor an accepted normalization is a scientific verdict. Scientific qualification stays not evaluated.

Replay or run in the desktop

faris-app \
  --scenario scenarios/arc-inspired/cold-coupled-control.scenario.json \
  --physics scenarios/arc-inspired/cold-coupled-control.reference.physics.json \
  --physics scenarios/arc-inspired/cold-coupled-control.breeder-emphasis.physics.json \
  --run runs/cold-coupled-control-reference-001/run.json --field-view flux-slice

Repeat --run for the other arrangement. Add --python, --openmc, --audit and --cross-sections to enable Run and review transport in the Simulate step, or set them under Transport configuration. Under Run quality, Preview runs a fixed 90,000 histories, about a minute on two threads; it states the errors it reached, and the magnet fast flux is only roughly known at that size. Production stops once the magnet fast flux is known to 5 %, or when its budget is used, and says which. With a Window Python set (OpenMC 0.16 or later; the same setting as in the Design flux window, under Transport configuration here) Production runs two passes: an ordinary pass for the whole-model results (tritium, heating), then a pass with weight windows aimed at the magnet flux, which finishes in minutes; the budget of the windowed pass is 20 million histories in batches of 20,000, and the windows are kept in faris-transport-cache in the runs folder for the next run. The result says which pass each number came from. Without a Window Python it is a single analog pass, the budget is 50 million histories, and it can take hours; the result says that windows were not used and why. The app uses up to four threads, one fewer than the machine has. Closing the app cancels its transport workers. Camera interaction stays available while a job runs.

A study started from --run records cannot be saved as a .faris file, because a study file holds recorded-transport bundles. faris transport pack packages a completed run into a portable bundle:

faris transport pack --run runs/cold-coupled-control-reference-001/run.json --output reference.transport-bundle.json

Where to read more

The repository documents the details: the cold-reference workflow covers the materials, the source, the recorded tallies and the verification steps, and the transport boundary covers the contracts, normalization and trust limits.

Next: Reading the numbers.

Nuclear data

Transport needs nuclear data that FARIS does not ship: the files are large and their redistribution terms are not settled. You assemble a library once, from public sources, and FARIS records which library every run used, by the digests of its cross_sections.xml and its audit.

The two libraries

LibraryContentSizeUsed by
First (combined-fendl32-endfbvii1)22 FENDL-3.2 neutron nuclides and eight ENDF/B-VII.1 photon elements (H, Li, Be, F, Ti, Fe, Cu, W)smallthe recorded study; never modified
v2 (fendl32-endfbvii1-v2)every FENDL-3.2 neutron nuclide (193, one gap-filled from ENDF/B-VIII.1), photon data for all 61 elements in them, 20 ENDF/B-VIII.1 thermal-scattering tablesabout 9.4 GByour own designs; not yet the default

v2 covers the natural isotopes of every element in the common fusion materials: steels (SS316L, EUROFER97), Inconel 718, CuCrZr, tungsten and WC, V-4Cr-4Ti, TZM, concrete, helium, air, water, FLiBe, PbLi, B4C, the hydrides, the lithium ceramics, beryllium and Be12Ti, REBCO tape, Nb3Sn, NbTi, copper and epoxy insulation. Its thermal tables are H in H2O, D and O in D2O, Be metal, Be and O in BeO, Be, F and Li in FLiBe, graphite, H and Li in 7LiH, D and Li in 7LiD, Ca and H in CaH2, H and Zr in ZrH2, and H in polyethylene. ENDF/B-VIII.1 has no table for TiH2, natural-lithium hydride or oxygen in liquid water.

Things to know about v2:

  • Thermal tables apply only when a material declares them. They are ENDF/B-VIII.1 evaluations used with FENDL-3.2 neutron data; combining libraries this way is standard practice, and it is a stated assumption.
  • Most of the 9.4 GB is the thermal tables, which store up to 94 temperatures each; the H in H2O table alone is 2.6 GB. The neutron files are about 0.9 GB.

Sources

  • FENDL-3.2 neutron data in HDF5, from the OpenMC data-library page.
  • ENDF/B-VIII.1 in HDF5 (thermal tables and gap fill), OpenMC’s official build, from the same page.
  • ENDF/B-VII.1 photoatomic and atomic-relaxation sublibraries, from the NNDC download page, which publishes their MD5 checksums. FARIS converts them to HDF5 with OpenMC 0.15.3 and checks the MD5 values before converting.

Build v2

Download the sources above into a folder outside the FARIS source tree, then run, with the OpenMC 0.15.3 Python environment:

OPENMC_PY=/path/to/openmc-0.15.3/bin/python
"$OPENMC_PY" scripts/build_nuclear_data_v2.py \
  --fendl-dir /path/to/fendl-3.2-hdf5 \
  --endfb-viii-dir /path/to/endfb-viii.1-hdf5 \
  --photoatomic-zip /path/to/ENDF-B-VII.1-photoat.zip \
  --atomic-relaxation-zip /path/to/ENDF-B-VII.1-atomic_relax.zip \
  --first-provenance references/photon-library-provenance.json \
  --output-dir data/raw/fendl32-endfbvii1-v2 \
  --provenance-out my-v2-provenance.json
"$OPENMC_PY" integrations/openmc/audit_library.py \
  --cross-sections data/raw/fendl32-endfbvii1-v2/cross_sections.xml \
  --nuclide-set fusion-materials-v1 \
  --output my-v2-audit.json

The build downloads nothing and is deterministic. It refuses to replace an existing library unless given --force, and --force replaces only a folder it built itself. The audit confirms that OpenMC can read every file the material set needs; give its output to a run together with the library’s cross_sections.xml.

What the audit does not establish

The audit records file identity and readability. It does not qualify the nuclear data for a particular calculation, and it does not authenticate the FENDL-3.2 and ENDF/B-VIII.1 downloads; only the two ENDF/B-VII.1 archives are checked against published checksums. Thermal tables larger than 1 GiB are read at 294 K only, because loading every temperature needs several GB of memory; the audit record states the scope for each table.

The design file (bring your own CAD)

Available from the next FARIS release. FARIS 0.2.0 does not include this. The format and the checks described here are in the source tree and are not yet in a download.

A STEP file says where the solids are. It does not say what they are made of, what job they do, when they wear out or where the plasma is. The design file says those things.

You give FARIS two files:

  • machine.step, from your CAD tool.
  • machine.faris-design.json, which FARIS starts for you and you finish.

FARIS reads nothing else about the design. The format is faris-design/v0.1.

This version only checks the files. It does not yet convert the model or run transport. See What this version does not do.

What you need

  • The faris command, from the package.
  • A Python with cadquery, to read the STEP file. FARIS does not install it. Point to it with --cad-python PATH, or set FARIS_CAD_PYTHON.
  • For the nuclear-data check only: a Python with openmc and h5py, and the cross_sections.xml of the library you use. Point to them with --openmc-python and --cross-sections, or set FARIS_OPENMC_PYTHON and FARIS_CROSS_SECTIONS. Without them that one check says NOT_EVALUATED.

Both helpers run as separate processes with a memory limit and a time limit. Ctrl-C stops them.

Step 1: write the first draft

faris design init machine.step

This writes machine.faris-design.json beside the STEP file. It never overwrites a file. Use --out PATH to write somewhere else. (The desktop program does the same with faris-app --design-init machine.step.)

The draft already holds:

  • every solid in the STEP file, with its read order (step_index), its STEP name if it has one, and a fingerprint (its volume and centroid);
  • a suggested id for each solid: the STEP name in lower case with unsafe characters turned into hyphens, or solid-007 when there is no name;
  • the STEP file’s hash and length unit;
  • extent full, machine_axis z, and a plasma block with empty fields.

Every material_id and every role is null. So is every plasma value. FARIS never gives a missing value a default.

If the STEP file declares no length unit, say what its numbers are in: --length-unit mm. The draft records that the unit was assumed.

Step 2: fill it in

Open the file in any editor. You do five things.

  1. Describe the materials. Add them to materials. Name a catalog material, or write the recipe.

    { "id": "tungsten", "catalog_id": "tungsten-natural" }
    
    {
      "id": "winding-pack",
      "label": "TF winding pack",
      "density_kg_m3": 8500.0,
      "composition_basis": "weight",
      "components": [
        { "element": "Cu", "fraction": 0.7 },
        { "element": "Fe", "fraction": 0.3 }
      ],
      "temperature_k": null,
      "provenance": { "label": "authored", "note": "Homogenised mix." }
    }
    

    Fractions must sum to 1. An element without isotopes uses natural abundance. Empty space is the built-in material void, not a material of yours.

  2. Give every solid a material and a role. Set material_id and role on each solid. Roles are plasma_chamber, first_wall, divertor, blanket, multiplier, shield, vacuum_vessel, tf_magnet, pf_magnet, cs_magnet, structure, port_plug and vacuum.

    You may rename a solid’s id. Ids use 1 to 28 lower-case letters, digits and hyphens. vacuum, graveyard and void are reserved, in any letter case.

  3. Group the parts you replace together. Add a replacement group and set replacement_group_id on its solids. A solid you never replace keeps null. A group has one or more governing limits. The first limit reached triggers the replacement.

    {
      "id": "tf-coils",
      "label": "All TF coils",
      "limits": [
        {
          "metric": "fast_neutron_fluence",
          "energy_threshold_ev": 1e5,
          "limit": 3e22,
          "averaging": { "kind": "peak_mesh", "voxel_m": [0.05, 0.10, null] },
          "provenance": { "label": "published", "reference_id": "sorbom-2015",
                          "note": "Screening value, not a qualified allowable." }
        }
      ],
      "replacement_duration": { "kind": "computed" }
    }
    

    null in voxel_m means the full width of the solid in that direction. A published value needs a reference_id that matches an entry in references.

  4. Describe the plasma. Fill the plasma block and set chamber_solid_id to the id of the plasma chamber.

  5. Link the operating history. Set operating_scenario to the path and sha256 of a faris-operating-history/v0.1 file. That file must not have service_limits: a CAD design takes its limits from the replacement groups.

Label every number you supply as published (with a reference) or authored. FARIS keeps the two apart in every report.

Step 3: check it

faris design check machine.faris-design.json --report check.json

It prints one block per check with PASS, FAIL or NOT_EVALUATED, and writes the full report as JSON. It stops at the first stage that fails, so you fix a few things at a time. Every failure names the item, says why it failed and tells you the next step. Nothing is repaired for you.

Exit statusMeaning
0No check failed.
1A check failed.
2A usage or file error, or a helper could not run.

The JSON report also records the hash of the design file and of the STEP file, the versions of the helpers and the interpreter that ran them, and every void solid.

What each check means

  1. The file parses. The JSON is valid and matches the format. A misspelt or unknown key stops the import, so a typo is never ignored. A null in a field that must be filled stops it too, and FARIS lists every null by path. A fresh draft always stops here until you finish it.

  2. The STEP file is the one you described. Its hash matches. The length unit it declares matches length_unit. A wrong unit would scale every volume by a thousand or more without a warning. FARIS reads the unit two independent ways and stops if they disagree or the file declares several units. The model must be a full 360 degrees and sit on the z axis. The linked operating-history file must exist, match its hash and have no service_limits.

  3. Every solid is accounted for. The STEP file has as many solids as the design file lists, and no solid is dropped. Each entry’s fingerprint matches its solid: volume within 1 part in a million, centroid within 1 millionth of the model’s bounding-box diagonal. This catches a STEP file that was edited after the design file was written. Two solids that cannot be told apart by fingerprint stop the import.

  4. Ids and references. Ids are unique and valid. Every material, group, reference and the plasma chamber you name exists. Every group has at least one solid.

  5. Roles and materials. There is exactly one plasma_chamber, and its material is void. vacuum solids are void. Only plasma_chamber, vacuum and port_plug may be void, so an empty blanket cannot pass unseen. Densities are positive and fractions sum to 1. FARIS then expands every material into its nuclides and checks that each is in your nuclear-data library. A missing nuclide stops the run. If OpenMC is not configured, this part is NOT_EVALUATED, never PASS.

  6. The STEP model converts. The CAD helper meshes every solid, imprints touching surfaces and writes a DAGMC model, as a bounded job (memory cap, time limit, cancel). Each solid gets the material tag mat:<solid id>. The faceting tolerance is 0.1 cm and 0.1 rad unless faceting_tolerance_m in the design file says otherwise. The report records both, the versions of cad_to_dagmc and OpenCASCADE, the wall time, the peak memory, the triangle count of every volume and the hash of the converted file. Before imprinting, FARIS also looks for solids that overlap in the CAD model itself (OpenCASCADE’s boolean common of every candidate pair). A pair whose common volume is more than 1e-6 of the smaller solid is an overlap; a pair the kernel cannot decide is reported as undecided and stops the import.

  7. Every converted volume is one of your solids. Volumes are matched to solids by faceted volume (within 0.5 %) and centroid (within 1e-3 of the model’s bounding-box diagonal). The next-best solid must be at least ten times farther away, and the material tag on the volume must be the matched solid’s id. Each solid and each volume is matched exactly once. FARIS also reports the largest distance between the faceted surface and the CAD surface (GEO-032); a deviation larger than the faceting tolerance stops the import. Planes, cylinders, cones, spheres and tori are measured at every sample point in closed form; other surfaces (splines and the like) at an even stride of at most 2000 points per solid. The report says, for each solid, which it was: “maximum over all points” or “sampled maximum”.

  8. The faceted model is sound. FARIS reads the converted model itself and checks it with its own code, using exact arithmetic for every yes-or-no decision. It stops on an edge used once or three times (a hole or a fold), neighbouring triangles that disagree about the inside, a volume with negative or zero volume, a solid thinner than the faceting can represent, or whose faceted thickness is off by more than a tenth (a sliver, see below), a solid that intersects itself, two surfaces that coincide but were not merged, overlapping solids, an enclosed region that belongs to no solid (a gap), sampled points that are in two solids or in a gap, random chords that cross a surface that does not lead out of the region they are in (a particle there would be lost), and a sum of volumes that disagrees with the sampled volume of the whole. Every finding gives the solids, a position in metres, why it stops the import and what to change in your CAD tool. Nothing is repaired.

  9. The plasma source lies inside the chamber. FARIS samples 100,000 source sites from the plasma block with OpenMC’s plasma source and tests each against the plasma_chamber volume. All must be inside. The report also gives the smallest distance from any site to a first_wall solid and the site that has it (Clearance to the first wall). FARIS sets no minimum of its own. A site inside or touching the first wall stops the import. If you set plasma.min_first_wall_clearance_m (metres, positive, null or left out for no minimum), a nearest site closer than that also stops it. Neither finding can be waived. A design with no first_wall solid says the clearance was not measured, and with a minimum set that check 9 is NOT_EVALUATED until a solid has the role first_wall or the minimum is null.

    Check 9 also owns the source closure. FARIS integrates the D-T fusion power that the plasma block’s ion density and temperature profiles imply and compares it with fusion_power_mw; the report shows it as the line Source closure whatever stops checks 6 to 9. Transport takes its source strength from fusion_power_mw alone and the profiles only set the shape, so if the two differ by more than 1e-3 relative the line reads EXCEEDED and check 9 reports a blocking finding (SRC-010) with both powers and their ratio. Correct the profiles (or the declared power), or, if the profile is only an approximate shape for a fusion power you know, accept the difference with a waiver for SRC-010 that names the plasma chamber solid in solid_ids and gives the reason. FARIS rescales neither value. If the plasma block cannot be integrated at all, a notice says which field to correct and the declared power is not compared. The profile power counts D-T reactions only, with the profile shapes and the Bosch-Hale reactivity that openmc_plasma_source uses.

Every void solid is listed in the report, because a void region hides streaming paths.

Options

OptionMeaning
--work-dir DIRKeep the conversion and its products here. A conversion, a pre-imprint tessellation and the overlap boolean results found here are reused only when the STEP hash, the tags, the tolerances and the helper version all match; --no-reuse redoes all of them. Without it, a temporary directory is used and removed.
--threads NWorker threads for check 8. Default: the available cores, at most 16.
--seed N, --samples N, --chords N, --source-sites NThe sampling seed and sizes. The same seed gives the same report. Defaults 1, 1,000,000, 100,000, 100,000.
--deviation-points NPoints per solid that OpenCASCADE projects onto surfaces that are not planes, cylinders, cones, spheres or tori, for the faceting deviation of check 7. Default 2000, on an even stride; 0 projects them all, which can take hours on a model with many spline surfaces. Points on the five closed-form surface types are always all measured. The report says for each solid whether the result is a maximum over all points or a sampled maximum.
--imprint-threads NThreads the converter may use. Default 4.
--cad-python, --openmc-python, --plasma-source-path DIRThe interpreters and the folder holding openmc_plasma_source.
--cad-reader auto|native|python, --occt-worker PATHWhich reader runs the STEP inspect and the per-solid tessellation. native is the OpenCASCADE worker faris-occt-worker (found from --occt-worker, then FARIS_OCCT_WORKER, then next to faris); it needs no Python for those two stages. python is the cadquery helper. auto, the default, uses the worker when there is one and it answers, and the helper otherwise. FARIS_CAD_READER sets the default. The conversion, the overlap booleans and the faceting deviation still use the Python helper. The report says which reader ran each stage; a result recorded in --work-dir by one reader is not reused for the other.

Progress goes to the terminal. Ctrl-C cancels cleanly; a cancelled run reports nothing partial.

Sliver findings

A sliver finding comes in two kinds. Both report the solid’s mean thickness 2V/A (twice its faceted volume over its surface area), both block, and both can be waived with the check id SLIVER; one waiver for a solid covers both.

  • “sliver (thinner than the faceting)”. 2V/A is below the faceting tolerance (cad.faceting_tolerance_m). The facets cannot represent a body that thin, so its volume and its boundaries are unreliable. Either set the tolerance below the solid’s thickness and convert again, thicken the solid or merge it into its neighbour in the CAD tool, or accept it with a waiver if it does not matter to your result.
  • “sliver (thickness misrepresented)”. The faceting deviation of check 7 for this solid is more than 10 % of 2V/A. The solid is thick enough to be faceted, but the facets sit far enough from the CAD surface that the faceted layer’s thickness may be off by more than a tenth. Set the faceting tolerance smaller and convert again; a thin curved layer needs a tighter tolerance than a thick one. The finding says “maximum over all points” or “sampled maximum” for the deviation. This rule needs check 7’s deviation, so when that measurement is unavailable the report says the rule could not run.

A thin layer that is faceted accurately (a 2 mm tungsten armour layer faceted to 0.1 mm) is not a sliver.

Waivers

Some findings are real but acceptable to you, for example a deliberate thin layer. You can accept one by adding an entry to the design file’s optional waivers array:

"waivers": [
  {
    "check_id": "SLIVER",
    "solid_ids": ["first-wall"],
    "reason": "A 2 mm sacrificial layer, modelled on purpose.",
    "author": "A. Designer",
    "date": "2026-10-10"
  }
]

A waiver names the finding’s class, the solids it covers (all of them, as a set) or, for a gap, the point FARIS reported ("point_m": [x, y, z], to a nanometre), a reason, who accepted it and when. A waiver matches exactly; nothing matches loosely. A waived finding stays in the report and in every receipt, marked with the waiver, and no longer stops the import. A waiver that covers nothing is reported.

You can waive GEO-021 (overlap), GEO-022 (gap), GEO-024, GEO-025, GEO-031, GEO-032, SLIVER, SELF-INTERSECTION, DUPLICATE-SURFACE and SRC-010 (the declared fusion power does not close with the profiles; name the plasma chamber solid). A gap is found by two checks that share a position; one waiver covers both. You cannot waive an open or non-manifold surface (GEO-020), inverted normals, a zero-volume solid or a degenerate triangle, because transport is not defined for them. You also cannot waive a failed conversion (GEO-012), source sites outside the chamber, or a first-wall clearance that is not positive or is below your minimum (SRC-018).

Check a design from the desktop

Available from the next release. Open Design check in the top bar. The window does the two steps above without a terminal: it runs the same functions as faris design init and faris design check (see Command line). You can also open it at launch with --design-check, with --check-step FILE and --check-design FILE to fill in the files.

1. Start from a STEP file. Choose the STEP file and, if you want it elsewhere, the design file to write (empty: beside the STEP file, as the command line does). If the STEP file declares no length unit, choose one. Press Read the STEP file. The window then shows the path of the file it wrote, how many fields are still empty, grouped in plain words (the material and role of each solid, the plasma block, the operating-history link), and what else the file needs (materials, replacement groups, labels). The window has no editor for the design file yet: open the file in any text editor and fill it in as described under Step 2 above. The design file you just wrote is filled into the second section.

2. Check a design. Choose the design file. The work folder and the report have defaults beside the design file (NAME-check-work and NAME-check-report.json, numbered if it exists). Unlike the command line, which uses a temporary folder and removes it, the window keeps the work folder: the flux step reads the conversion from it, and a second check reuses what matches (tick Do everything again to redo it all). A report is never overwritten.

Each action lists the tools it needs and says, for each, whether it is set, what it is for and what the check loses without it; the paths themselves are set once in the Tools section (see below). The CAD Python is required. Without the OpenMC Python, the cross sections or the plasma source folder the check still runs, but check 5’s nuclear-data audit or check 9 says NOT_EVALUATED, the import is not complete, and the flux cannot be run. Anything that stops the check is marked beside its field, once, and the button area only says how many things need fixing.

While it runs, the window shows the time since you pressed Check and the engine’s stage line (stage: done of total), with a bar for that stage only. It gives no estimate for the whole check, because its stages differ in length and the conversion, the STEP reading and the material audit report no count while they work. Cancel stops the check and the programs it started and writes no report; the work folder is left as it is.

When the check ends, the window shows the summary line, then the nine checks, each with its status word (PASS, FAIL or NOT_EVALUATED) and, for each finding, the item, why and next step as the engine words them (a long list scrolls inside the window). It also shows the notices and what was measured, each with its unit: the number of solids, the conversion tolerance and triangle count, the largest volume difference against its gate, the faceting deviation against its tolerance, the source sites inside the chamber, the clearance to the first wall and the source closure with both power numbers. A record the engine could not measure says which check did not get there. Nothing is shown before a check has finished.

When all nine checks pass, Run the flux for this design opens the Design flux window with this design file and this report already filled in.

Tools

The Tools section at the top of both the Design check and the Design flux window holds the six paths the two windows use: the CAD Python, the OpenMC Python, the cross sections, the plasma source folder, and the optional window Python and OpenMC package folder. They are the same values in both windows, so a path set in one is set in the other, and FARIS keeps them for the next session. You never have to type them to get started:

  • Find tools (it also runs by itself the first time you open a window with nothing stored) looks in the usual places without installing or changing anything: the Pythons on PATH, conda and mamba environments (~/micromamba/envs, ~/miniforge3/envs, ~/miniconda3/envs, ~/anaconda3/envs, ~/.conda/envs, the active CONDA_PREFIX), virtualenvs in ~/.venvs, and any folder you add under Also search these folders. It asks each Python once what it has (cadquery, cad_to_dagmc, h5py, OpenMC and its version, whether OpenMC has DAGMC, the plasma source package, the configured cross sections), with a time and memory limit per Python, so a broken environment is reported and skipped.
  • It then shows what it found and from where, one tick per tool, and changes nothing until you press Use the ticked values. An empty field is filled by a find that is clear-cut; a value you already set is replaced only if you tick the replacement; when several nuclear-data libraries or plasma-source folders are found they are not equal, so none is ticked and you choose. The OpenMC Python is the 0.15 build with DAGMC, the window Python an OpenMC 0.16 or later, and the OpenMC package folder one whose library carries the aiming patch.
  • An environment variable still wins for the session (FARIS_CAD_PYTHON, FARIS_OPENMC_PYTHON, FARIS_CROSS_SECTIONS, FARIS_PLASMA_SOURCE_PATH): the field shows its value, says which variable it comes from and cannot be edited until you unset it. The saved value is not touched.

The settings are one JSON file, settings.json in a faris folder of your configuration folder: $XDG_CONFIG_HOME/faris or ~/.config/faris on Linux, ~/Library/Application Support/faris on macOS and %APPDATA%\faris on Windows. It also remembers the folder each window last picked a file in. If it cannot be read, FARIS keeps a copy beside it as settings.json.bad, starts with nothing saved and tells you once; delete the file at any time to start again.

Run the flux from the desktop

Available from the next release. Open Design flux in the top bar. The window runs the same computation as faris design transport (see Command line); the command line stays the way to script it.

  1. Choose the design file and the JSON report faris design check --report wrote for it. The check’s work folder must still hold the conversion. You can also pass them at launch with --design-flux --flux-design FILE --flux-check-report FILE.
  2. In the Tools section (shared with the Design check window, see above), set the OpenMC Python, the cross sections and the plasma source folder, or press Find tools. FARIS fills them from FARIS_OPENMC_PYTHON, FARIS_CROSS_SECTIONS and FARIS_PLASMA_SOURCE_PATH when those are set. Under Tools the run needs each row says whether it is set, what it is for and what to do if it is missing. The window Python (OpenMC 0.16 or later) and the OpenMC package folder are optional; the row says what the run loses without them (weight windows, aiming).
  3. Set the target error (5 % by default), the history limit and the time limit, then press Run. Anything that stops the run is listed under the form with what to do next.

While it runs, the window shows the current step in plain words. Once sampling starts it shows the elapsed time, the error on the mean against the target and, when the limit asks for a peak, the error on the highest piece. From the second batch it shows a progress bar and a sentence marked Estimate: the error falls as 1 over the square root of the histories, so the histories still needed follow from the error reached and the target. If the history or time limit will come first, the sentence says so. The errors shown are provisional while the run goes. Cancel stops OpenMC and writes no result; the run folder is left as it is. You can close the window and reopen it while a run goes on.

When the run ends, the window shows the mean flux with its error, the highest solid, the highest piece with its place and volume when the limit asks for a peak, each fluence limit with its status (WITHIN, EXCEEDED or INCONCLUSIVE), the fluence over the history and the years to the limit with their error, and the why and next step for each. It also shows the speed-up mode and why it ran, every note, and everything that was not evaluated with why. A number with no error says why it has none. Nothing is shown before a run has finished. The report is also saved as design-transport-report.json in the run folder.

What this version does not do

A design that passes checks 1 to 9 is checked and convertible, but not yet run: the transport and maintenance studies that use it come in later releases. The integrity checks need the converted model to fit the 1 nm exact grid (about 270 m across); larger models are refused with the reason. Check 8 finds defects on the faceted model; a defect smaller than the faceting tolerance can only be seen through the sampled checks.

Reading the numbers

Every value in FARIS carries a badge that says what kind of number it is. Hover a badge to see why it applies and what would settle it.

Kind labels

BadgeMeaning
calculatedCalculated by the FARIS engine or a recorded solver run.
checkedA numerical control or check passed within its declared scope.
authoredAn assumption written for this scenario. Tunable, not measured.
literatureTaken from cited literature. Citing a source does not qualify the value.
conditionalValid only under stated conditions, such as the cold-data surrogate or the authored operating assumptions.
partialA precision or coverage goal is not met. Use with care.
not evaluatedFARIS makes no claim either way.
failedA check failed, or there was an error.

The five you meet most are calculated, authored, literature, conditional and not evaluated. Transport results are calculated. Plant inputs, service limits, outage durations and efficiencies are authored or literature. Fuel, maintenance, replacements and electricity are conditional on them.

Not evaluated explains itself

FARIS never leaves a bare unknown. Every value that is not evaluated, and every missing range, says why it is not evaluated and what the next step is. Hover shows it. It is also written as text on the screen and in exports.

A transport result carries the label “cold-data surrogate · NOT_EVALUATED”. Scientific qualification is not evaluated, even for completed transport. Scope and limits says why.

Standard errors

Transport values appear as a mean with its Monte Carlo standard error, the sampling error of that one run. A smaller standard error means the run sampled that quantity better. It says nothing about whether the model is right.

The recorded runs have standard errors below 0.04 % for tritium production and heating. For the regional magnet fast flux they are 5 % to 24 %, and up to 30 % for the port-sector region of the port-free controls. Small regions are poorly sampled, which is why regional magnet results, and the replacement counts that follow from them, carry the most noise.

The 2σ flags

In Compare, each transport difference carries a flag. FARIS compares the difference with 2·√(SE₁² + SE₂²). “Beyond 2σ sampling noise” means the difference exceeds that. “Within 2σ sampling noise” means it does not. The runs use different seeds and their covariance is not modelled, so this is a screening flag, not a significance test. It says nothing about nuclear data, geometry or model form.

Ranges

Ensemble ranges are the median and the 5 to 95 per cent range (P5 to P95), with the share of samples for each event. They carry only the Monte Carlo sampling uncertainty of the transport. The true uncertainty is larger. See Uncertainty ensembles.

Service limits

Service limits, such as the magnet’s 3 × 10²² n/m² fast fluence, are screening values from the literature or authored. They are not material allowables. The limit compares with a regional average, not a local peak.

The research-screening statement

“Research screening only. These results are not a licensing, safety or design basis.” is in the bottom bar of every step, on every PDF page, as the first line of every CSV, on every saved chart and in the export manifest.

Next: Method.

Method

This chapter summarises what FARIS computes. The repository documents each part in full. It links to them at the end.

Transport

Each arrangement is a full-torus model of concentric layers, solved with OpenMC fixed-source Monte Carlo transport, with neutrons and photons coupled. The recorded runs use OpenMC 0.15.3, FENDL-3.2 neutron data and ENDF/B-VII.1 photon data.

The source is uniform in the plasma volume, isotropic and monoenergetic at 14.1 MeV. One source neutron stands for one D-T reaction of 17.6 MeV. At 525 MW that is about 1.86 × 10²⁰ source neutrons per second. OpenMC reports each score per source neutron with its standard error. FARIS then multiplies by the source rate and divides by volumes to get physical rates and densities.

The materials are authored cold-data surrogates: tungsten for the first wall, solid Li₂BeF₄ with 90 atom per cent lithium-6 for the blanket, titanium hydride for the shield, iron as a structural stand-in and copper as the magnet stand-in. Scope and limits says what that means for the results.

The responses are:

  • Tritium production, in H3 atoms per source neutron.
  • Heating, from coupled neutron and photon transport.
  • Flux by component, with neutron and photon spectra.
  • A 3D flux map on a mesh around the outboard side.
  • Fast-neutron flux (neutron energy above 0.1 MeV) in three regions of the magnet: the inboard half, the outboard half outside the port sector, and the port sector, the 20° sector behind the port.

Covariance from batches

Each run records the per-batch value of every scalar response. FARIS takes the sample covariance of those batch values, divided by the number of batches, as the covariance between the response means. It first checks that the batch values reproduce OpenMC’s own means and standard errors. Correlated quantities, such as tritium production and heating, can then move together when sampled.

The operating history

The history is a deterministic ledger driven by one transport result. It is conditional on the authored operating assumptions and is not a prediction.

  • Tritium. Opening stock, breeder production, D-T burn, imports, processing delay, process loss and radioactive decay go into one site balance. The balance is checked at every recorded state.
  • Exposure. A component accumulates exposure only while the source operates: its flux times operating time. A service limit names a component, a response, a threshold and its source. When a replaceable component reaches a limit, a replacement outage starts and that component’s exposure resets. A permanent limit stops operation.
  • Fuel. The source stops when usable tritium falls to a reserve and restarts at a higher threshold. This is a control rule, not a plant control system.
  • Energy. Alpha heating and recovered transport heat go through an authored thermal-to-electric efficiency. Auxiliary load is subtracted, and net electricity is signed, so it can be negative.

Operate lists the assumptions you can change.

Ensembles

An ensemble draws the driving rates from a multivariate normal distribution with the recorded means and covariance, and runs the history once for each draw. Each sample has its own random stream derived from a seed, so results do not depend on the thread count. Draws with impossible rates are rejected, and if more than 1 per cent of accepted samples are rejected, the ensemble is not evaluated.

Each output is summarised by its median, its 5 to 95 per cent range, and distribution-free confidence intervals on those quantiles. Discrete outcomes get shares with Wilson intervals. A paired comparison subtracts sample i of one arrangement from sample i of another, which is valid only for independent transport runs. Uncertainty ensembles describes how to read them.

Controls

Independent Decimal-arithmetic checks cover the half-life decay, the source-rate conversion, the mass balance and the heat conversion, and numerical refinement checks cover the time step. They show the ledger arithmetic is repeatable. They do not bound transport statistics, nuclear data or model error.

Read the details

Next: Scope and limits.

Scope and limits

FARIS 0.2.0 is research-screening software and a deliberately narrow demo. Its results are not a licensing, safety or design basis. Nothing in FARIS is a licence, safety, certification or validation claim.

FARIS is a design model of one study. It is not a model of a real machine.

What the demo is not

  • Not the published ARC design. The geometry is idealised: concentric tori with one outboard port. The ARC paper is design precedent, not a specification.
  • Not a plugged port. The outboard port is an open 0.30 m × 0.30 m duct with no shield plug. It is a bounding streaming case. In the port arrangements it drives the magnet replacements. With the demountable-magnet preset, the port-sector magnet limit is reached 0.65 years into operation and the magnets are replaced about 30 times in 30 years. Without the port, they are replaced at most once. A shield plug would reduce the streaming, and FARIS has not modelled one.
  • Not a peak magnet fluence. The magnet check uses regional averages: inboard, outboard and port sector. A local peak needs variance reduction aimed at the magnet, which is planned. A hot spot can reach a limit sooner than its region’s average does.
  • Activation only for maintenance, and no shutdown dose. The Operate step’s history uses fixed replacement durations. Outages computed from decay heat are a separate calculation that needs ACTINV, with a recorded result for the four arrangements; see Computed maintenance durations. Contact dose is not used to time maintenance, and there is no shutdown dose map or physical degradation model.
  • Not signed. The bundled programs are hash-pinned, not signed. Linux is built and tested on the reference laptop. Windows and macOS builds have been available since 0.1.1, built by CI from the same commit. Report problems on GitHub issues.

Transport inputs

Transport is a cold-data surrogate. The materials are authored recipes, not a design’s real materials. The first wall is tungsten, the blanket solid Li₂BeF₄ and the shield an ideal titanium hydride. Iron stands in for the structure and copper for the magnet. The data are at one nominal temperature, with no thermal-scattering data for the crystalline blanket and shield materials. Low-energy spectra and breeding are therefore not qualified.

The source is authored. The whole-model tritium response includes production anywhere in the model, so it is a gross rate and not a breeder-only breeding ratio. Heating is an OpenMC deposition score, not a thermal balance, and the history’s energy ledger is not a coolant or thermal-cycle calculation.

Scientific qualification is not evaluated, including for completed transport. A successful run is not a scientific verdict. The recorded campaign does not reproduce an experimental neutron-transport benchmark, and it has no design-level validation. A code-to-code comparison against an ITER 1D reference is unavailable without traceable reference responses.

Uncertainty

Only transport Monte Carlo sampling uncertainty is propagated. Nuclear-data, geometry, material and model uncertainty are not, so the true uncertainty is larger than the ranges shown. The tritium half-life and every authored assumption are not sampled either.

The recorded runs use 30 million histories for the port-free controls and 10 million for the port and sweep cases. Standard errors are below 0.04 % for tritium production and heating, and 5 % to 24 % for the regional magnet fast flux (up to 30 % for the port-sector region of the port-free controls).

Authored assumptions

Service limits, outage durations, recovery fractions, processing delays and plant efficiencies are authored or literature screening values. They are not material allowables or measured plant data. Fuel, maintenance, replacement events and electricity are conditional on them. The planned outages are illustrative and are not an availability estimate.

The magnet’s 3 × 10²² n/m² fast-fluence limit is a literature REBCO screening value (Sorbom et al. 2015). It is applied to the average of each region.

Local fields

Sparse local mesh estimates keep their unresolved sampling uncertainty. The port-window comparison is a declared mixed-volume spatial average, not a magnet peak.

Where the evidence stands

The repository tracks the evidence and the open work: the scientific baseline, the requirements and the demo roadmap. Keep the exact version with a study. Later changes do not rewrite what a recorded study holds.

Next: Troubleshooting.

Troubleshooting

The app will not start

The desktop needs a graphical session and compatible graphics drivers. Leave display-backend and DPI overrides unset in normal use, so a high-DPI desktop reports its native scale. The recorded frame rates were measured on both X11 and Wayland.

The app opens with nothing loaded. A check of the package failed, and the app says which and why. Download the files again and check them against SHA256SUMS, then unpack the app archive into a new folder. A package that was changed, or unpacked only in part, is refused.

Windows SmartScreen warns, or macOS will not open the app. The programs are not signed, and on macOS not notarized, so both systems warn. This is expected, and a matching hash shows the bytes are the recorded ones. On Windows, choose More info, then Run anyway. On macOS, run xattr -dr com.apple.quarantine FARIS-0.2.0 once in Terminal after unpacking, or open bin/faris-app and allow it under System Settings, Privacy & Security, Open Anyway. See Download and verify.

The saved Core evidence is refused. With the evidence pack, the app reads the evidence store in the package folder and checks every file it reads against its recorded length and SHA-256. If a file of the store is missing, changed or extra, the Evidence step says which and why. Download FARIS-0.2.0-evidence.tar.gz again, check it against SHA256SUMS, unpack it into the FARIS-0.2.0 folder and reopen FARIS. The rest of the study is not affected.

Messages when you open a study

“recorded case, mesh or response definitions differ from this FARIS build: …” The study was recorded by an earlier build. The full message continues: “The run was probably recorded by an earlier version; rerun the transport case with this build to use it.”

“Cannot open NAME: …” The file could not be opened. The reason follows. Reading is fail-closed. A file is refused if a blob does not match its recorded SHA-256 (“blob … does not match its recorded SHA-256”), if its size is wrong, if it uses an unsupported encoding, or if its version is not major version 1 (“unsupported study-file version …”). Run faris study-file verify FILE to see which part failed.

“Core receipts not included” For the recorded package, the evidence store is not in the package folder. The message says why and the next step: download FARIS-0.2.0-evidence.tar.gz from the same release, unpack it into the FARIS-0.2.0 folder, and reopen FARIS. Everything else works without it. For a .faris file saved with its Core evidence by reference, the Evidence step names each saved case whose evidence tree was not found or whose file list did not match, and where it looked: the evidence-store folder beside the file, then the store of the package the app was started from. Put the file next to the package’s evidence-store folder, open it with FARIS started from that package, or save it again with Include Core evidence in saved files ticked. See Study files. For files saved with older packages, a listed archive that is “not found” is missing from beside the file, and one whose SHA-256 differs from the record is not used.

Uncertainty and export

“No uncertainty range: …” The ensemble is not evaluated. The line gives the reason and the next step. Typical reasons are a transport record without covariance, or more than 1 per cent of draws rejected. See Uncertainty ensembles.

Export is unavailable. Hover the button. It says when histories are still calculating, or when the study has no operating assumptions.

The 3D view is missing from an export. The export notes “The window capture did not arrive; this graphics backend may not support screenshots.” The rest of the export is written.

A command-line export has no ensembles. It uses only the ensembles stored in the file. Run them in the desktop and save, or use faris history ensemble.

Operate and Evidence

Save is greyed out. Hover it for the reason. Nothing recorded can be saved when the study was started from --run records.

A badge says “receipts cover the loaded assumptions”. The saved Core receipts were executed with the loaded assumptions, and the current preset differs. Choose Use the covered assumptions.

Compile study says the Core executable is unavailable. Choose the installed Avila Core file under Compiler settings, or start the app with --core.

Memory

A job says “not started” and gives memory figures. FARIS holds every external job to a memory cap (4 GiB unless the job needs more) and does not start one when the cap plus a reserve of 1 GiB is more than the memory free now. FARIS has no estimate of how much a given job really uses, so it compares the cap, which can refuse a job that would have fitted. Close other programs and run it again. If the job is known to be small, lower the cap for all jobs with FARIS_MEMORY_CAP_MB (for example 2048); FARIS_MEMORY_MARGIN_MB changes the reserve. On a system without /proc/meminfo the check is recorded as NOT_EVALUATED and the cap still applies.

A job stopped with “failed” and mentions its memory limit. It reached the cap. The job’s result records its peak memory (Linux), which says how close it came. The setting only lowers the cap; each kind of job has its own upper limit, and a CAD conversion of a whole reactor model is allowed more than the default.

Still stuck

Report reproducible problems through GitHub issues. Include your version, the command or step, and the message.

Releases

FARIS follows semantic versioning from 0.1.0. Before 1.0, a minor version may change file formats or the command line. The changelog lists such changes under Changed, with what to do.

The full history is in the changelog. Releases are on the releases page.

0.2.0, 2026-10-08

Replacement outages computed from activation. See Computed maintenance durations.

  • Maintenance. FARIS computes how long each replacement takes from the decay heat of the parts around the replaced component, reruns the 30-year history with those outages, and compares every design’s downtime, availability and lifetime electricity with the fixed durations. In the validation runs, the downtime difference between designs came out 2 to 14 times its fixed-duration value.
  • Desktop. A Maintenance window shows a result: both models side by side, a chart of every outage, and for each replacement which parts held the cooldown up and how long they had been in the machine. Run… computes a result with progress and cancel.
  • Command line. faris maintenance run and faris maintenance report.
  • Package. A recorded result for the four demo arrangements, and the activation-input builder for your own runs. Computing a result needs ACTINV, its data, Python and your own transport runs.

The demo study and its recorded transport and history results are the same as in 0.1.1.

0.1.1, 2026-10-06

The same demo study and results as 0.1.0. What changes is how it is distributed.

  • Download. A smaller app download for each platform, with the Core receipts in an optional evidence pack. The Linux app download is about 35 MB and the evidence pack about 78 MB. 0.1.0 was one 112 MB archive.
  • Launcher. bin/faris-app opens the study and checks the SHA-256 of every file it needs. Python is not needed, and launch.sh is gone.
  • Platforms. Windows and macOS (Apple silicon and Intel) downloads. The programs are not signed. Windows and macOS builds are new in 0.1.1.
  • Fixes. The tour states the real history counts. The export button hover no longer gives a page count. Saved Core evidence waits up to 10 minutes for unpacking and says why if it gives up. On Windows the app opens without a console window, and the faris history commands run.

A 0.1.0 package keeps its own launch.sh and verifier. To move to 0.1.1, download the new files. See Download and verify.

0.1.0, 2026-10-05

The first public release, a deliberately narrow demo that is complete for one study: an ARC-inspired compact D-T tokamak, studied from 3D Monte Carlo transport through 30 years of operation, with the transport sampling uncertainty carried into every year.

  • Study. A five-step workspace (Design, Simulate, Operate, Compare, Evidence) with a replayable first-run tour. Four recorded arrangements: two blanket/shield allocations, each with a finite outboard service port and a matched port-free control. A seven-point allocation sweep. A 30-year operating history that recalculates in about a second from sliders.
  • Uncertainty. Covariance between all scalar transport responses from per-batch results. History ensembles of up to 2,000 histories, with a median, a 90 % range and event probabilities for every output. Ensembles fail closed when more than 1 % of draws are non-physical. A paired comparison of two arrangements’ ensembles.
  • Magnets. Fast-neutron flux on the inboard half, the outboard half and the sector behind the port, each with its own service limit. The first limit reached triggers the replacement and is named in the event.
  • Files and export. .faris study files checked by hash on every open. Export to a PDF brief, CSV tables and SVG and PNG charts, from the desktop and from faris study-file export.
  • Evidence. Studies compile and run through Avila Core, which records hash-bound receipts.

The known limits of this release are in Scope and limits.

Next: Where FARIS is going.

Where FARIS is going

0.2 added computed maintenance durations: replacement outages worked out from the decay heat of the parts around each replaced component, through ACTINV. Next, on the same study:

  • ARC-fitted geometry. Separate inboard, outboard and vertical thickness for every layer, using the published ARC radial build. It adds 18 discrete TF coils, a double-null divertor, several ports, and cross-section and radial-build views. FARIS can then be compared with the published ARC magnet lifetime (at least 9 full-power years to 3 × 10²² n/m²; Sorbom et al. 2015), and the computed outages with ARC’s own maintenance durations.
  • Peak magnet fluence. Variance reduction aimed at the magnet (FW-CADIS weight windows), so the local peak is reported alongside the regional averages.
  • Faster maintenance runs. Most of the run time is ACTINV loading its data for each short cooling run; batching them in one ACTINV process could remove most of that.
  • Dose and remote handling. A tested rule for timing maintenance on contact dose with remote handling, and material impurities bounded per ppm.

Your own design from CAD is on main and in the next release: faris design init, check and transport take a STEP file with a design file naming each solid’s material and role, and the desktop app has Design check and Design flux windows (design file guide). Not yet on a CAD design: sweeps and shutdown dose. Further out: shutdown dose. The plan and its decisions are in the demo roadmap.

Measurable goals for every part of FARIS are in the requirements.

Next: Avila Labs account (optional).

Avila Labs account (optional)

The desktop app has an optional Avila Labs account. Every part of FARIS works fully without one. FARIS has no feature that needs an account.

What you see

At the right end of the top bar there is a grid button that opens the Avila Labs tools, and a Sign in button. After you sign in, the button becomes an account chip. The first time you start the app, a prompt may offer to sign in. It does not appear while the tour plays, or in scripted runs.

Sign in

  1. Choose Sign in. The sign-in card opens. Choose Start sign-in.
  2. The card shows a short code and an Open browser button. Your browser opens and asks you to approve this device. Check that the page shows the same code.
  3. Approve it in the browser. The card reads “Signed in as” followed by your account.

If you deny the sign-in, or the code expires before you approve it, the card says so and offers Try again. Close leaves the card without signing in.

The app identifies itself to the service as faris-desktop. Choose Sign out to leave the account. Signing out revokes the token on the service and deletes the local credentials file.

What is stored and sent

The token is saved in credentials.json (mode 0600), in the folder named by AVILA_CONFIG_DIR, or in ~/.config/avila when that is not set. The credentials file also keeps your email address for display.

The app sends the service a sign-in request with the app name, the token during sign-in, and afterwards the token to check your account status about once a minute. Nothing from your FARIS work is sent: no inputs, results or files. The account service’s privacy notice has the details.

The roadmap plans to move token storage into the operating system’s credential store where one exists, with an owner-only file as the fallback.