ADS-IDAC Directory and File Structure
Overview
An ADS-IDAC run involves two locations: the executable directory (build/bin/, which must contain the steam table files) and a project directory holding one case's inputs and outputs. The project directory can live anywhere; it is passed at run time:
cd build/bin
./adsidac --project-dir=<project> --input-deck=<project>/<deck>.iLegacy layout
Older manuals describe an ADSSource/ + TestCases/ tree with ADSConsole2.exe and a ZiniADS.txt co-located with the executable. That layout is retired: the executable is build/bin/adsidac, paths are given on the command line, and ZiniADS.txt is an optional defaults file (see ZiniADS.txt).
Executable Directory (build/bin/)
| File | Description |
|---|---|
adsidac | The ADS-IDAC executable |
tpfh2o, tpfh2onew, tpfd2o | RELAP5 steam table files — copied here at CMake configure time; the executable must be run from a directory containing them |
The 80-character RELAP5 path limit applies to the input-deck path: keep project directories reasonably shallow.
Project Directory
| Entry | Description |
|---|---|
<case>.i | RELAP5 plant model input deck (conventionally at the project root, e.g. tests/BV4/BV4.i) |
ZiniADS.txt | Optional option=value defaults for the CLI (machine-specific; excluded from the checkpoint configuration fingerprint) |
Input/ | All ADS-IDAC input files (fingerprinted for checkpoint/resume) |
Output/ | Simulation results (created/overwritten by runs) |
Runtime artifacts
Runs also create entries in the project directory that are not inputs:
| Entry | Created by | Notes |
|---|---|---|
rank_<N>/ | MPI runs | One working directory per rank, deleted and recreated at the start of every MPI run. After a merge it holds only logs and scratch files and can be removed. Under --merge=defer it is the only copy of the run's outputs until --merge-only consolidates it, which Output/MERGE_PENDING.txt records |
checkpoint/ | Checkpointing | Default location of checkpoint_seq_<n>.dat when no --checkpoint-dir is given at the Ctrl+C menu |
restart_base.bin | ADS_RESTART_TRIM=1 | The part of a restart image shared by the whole run. Created only if absent and not deleted by the engine: remove it when the input deck or plant model changes, keep it with a checkpoint that will be resumed |
err messages.txt, indeck.i, restart.r, logs | Serial runs, in the launch directory | Working files |
None of these is part of the checkpoint configuration fingerprint.
Reference cases in the repository
| Path | Purpose |
|---|---|
tests/BV4/ | Three-loop PWR reference case used by the test suite. Expected counts are in Reference Baselines |
tests/BV3/ | Reference-only predecessor of BV4; its inputs use formats the current parsers do not accept |
studies/sgtr-10k/ | Full-branching steam generator tube rupture study deck (mission time 10,000 s). A study, not a test fixture: it has no expected counts. See its README.md |
studies/sgtr-tree/ | Designed-tree variant of the same deck, run with the branch floor. See its README.md |
scripts/hazel/ | Cluster job scripts for these studies. See Running on a Cluster |
Input/ Directory
Input/Crew/ActionTaker/
Knowledge base and behavioral parameters for the Action Taker operator model (reactor operator role):
| File | Description |
|---|---|
ActionTaker.txt | Static behavior factors (action time multiplier, scan queue limit, skip thresholds, communication time, goal/strategy tendencies) |
KB_OAT_Bias_Factors.txt | Failed or biased control panel instrumentation definitions |
KB_OAT_Diagnosis_Actions.txt | Maps diagnostic events to candidate operator actions |
KB_OAT_Event_Matrix.txt | Fuzzy logic diagnostic event matrix (symptom-to-event mapping) |
KB_OAT_HardWired_Diagnosis.txt | Mental beliefs, activation criteria, associated mental procedures, and branch probabilities |
KB_OAT_Maneuver_Actions.txt | Knowledge-based maneuver action definitions |
KB_OAT_Safety_Parameters.txt | Critical safety function parameters and thresholds |
KB_OAT_Scanned_Parameters.txt | Control panel parameters included in the operator's periodic scan queue |
KB_OAT_System_Decomposition.txt | System functional decomposition for knowledge-based diagnosis |
KB_OAT_Time_Constrained_Input.txt | Time-constrained action parameters |
RM/ | ReasonMachine knowledge inputs. Only the Decision Maker constructs a ReasonMachine, so the ActionTaker copy is present but unread; the DecisionMaker RM/ is read at initialization (the RM snapshot/restore cycle itself is a developer feature behind --enable-rm-cycle) |
Input/Crew/DecisionMaker/
Same structure as ActionTaker/, with files prefixed KB_ODM_ plus DecisionMaker.txt. The Decision Maker models the Senior Reactor Operator role, directing the Action Taker and selecting high-level goals and problem-solving strategies.
Input/Crew/Consultant/
Holds Consultant.txt. The Consultant role is defined in the architecture but no Consultant operator is instantiated in current simulations — the file is not read at runtime. Keep the directory for forward compatibility.
Input/Crew/Procedures/
Procedure definitions and branching parameters (one directory for all procedures; BV4 ships ~460 step files):
| File | Description |
|---|---|
Procedures.txt | Master list of all procedures; defines procedure names, types, and entry condition cross-references |
ZProcedure_[name]_[step].txt | Individual procedure step input files (one file per step); defines actions, expectations, non-response actions, skip probabilities, and step type |
ZProcedure_MPBG_[name]_[step].txt | Mental procedure step input files (activated by mental belief states) |
MentalProcedureActivationTimeBranches.txt | Weibull parameters for branching on mental procedure activation time |
ProcedureActionTimeBranches.txt | Weibull parameters for branching on procedure step action timing |
ProcedureControlValueBranches.txt | Discrete control value options and probabilities for control value branching |
Input/Crew/ (top level)
| File | Description |
|---|---|
Calculation_Aid.txt | Polynomial calculation-aid definitions available to the crew model |
StaticPIF.txt | Static performance influence factors |
Input/HardwareReliability/
| File | Description |
|---|---|
SystemReliability.txt | Hardware reliability branching parameters (Beta distribution α and β for failures and recoveries) |
Input/Indicators/
| File | Description |
|---|---|
ControlPanel.txt | Defines all control panel indicators, alarms, and interactive controls visible to the ADS-IDAC operator model |
SPDS_input.txt | Safety Parameter Display System inputs — legacy, not read by the current code (the control-panel SPDS module is disabled; the active safety-parameter inputs are the per-operator KB_*_Safety_Parameters.txt files) |
Input/Scheduler/
| File | Description |
|---|---|
ZCtrlPar.txt | Simulation control parameters: sequence truncation time and probability cutoff (details) |
Input/SupportSystemsReliability/
| File | Description |
|---|---|
*.fta | Support system fault tree definitions, one file per support system, e.g. Diesel Generator.fta, Emergency AC Buses.fta (format). Not quantified in the shipped builds, and the shipped examples are placeholders. |
Input/System/
| File | Description |
|---|---|
Initiating_Event.txt | Defines initiating events (equipment failures or disturbances activating at simulation start) |
RELAP5_channels.txt | Cross-references ADS-IDAC interactive control variables to RELAP5 interactive variable card numbers (800–999) |
Output/ Directory
Outputs are grouped under three subdirectories, each containing numbered folders (*Folder_0, *Folder_1, …) that hold at most 1000 files each:
Output/
ES/ESFolder_n/ ZESNode_*.txt, plus ES_summary.txt and analysis logs in ES/
KPS/KPSFolder_n/ ZKPS_*.txt, ZDIA_*.txt, ZPIF_*.txt
PE/PEFolder_n/ ZPENode_*.txt (or ZPENodes_agg.txt with --aggregate-pe)With --aggregate-pe the pivotal-event nodes are written as records in a single ZPENodes_agg.txt per rank rather than one ZPENode_<id>.txt per node. The content is identical; only the layout differs. Because PE nodes are ~94% of all output files, this is what keeps a long-mission study inside a shared filesystem's file-count quota — see Output layout options.
See Output Files for the content of each file type, MPI merge behavior, and the BV4 reference counts.
Complete Input Files Checklist
Verify against the shipped reference case tests/BV4/:
Input/Crew/ActionTaker/—ActionTaker.txt+ the tenKB_OAT_*files (+RM/)Input/Crew/DecisionMaker/—DecisionMaker.txt+ the tenKB_ODM_*files (+RM/)Input/Crew/Consultant/—Consultant.txtInput/Crew/Procedures/—Procedures.txt,ZProcedure_*step files, three*Branches.txtparameter filesInput/Crew/—Calculation_Aid.txt,StaticPIF.txtInput/HardwareReliability/—SystemReliability.txtInput/Indicators/—ControlPanel.txt,SPDS_input.txtInput/Scheduler/—ZCtrlPar.txtInput/SupportSystemsReliability/— one.ftaper modeled support systemInput/System/—Initiating_Event.txt,RELAP5_channels.txt- Project root — the RELAP5
.ideck