Stochastic Tools Requirement Traceability Matrix

Introduction

The Requirement Traceability Matrix (RTM) for Stochastic Tools captures all requirements and maps each to the associated design documentation and associated test case.

Dependencies

The Stochastic Tools application is developed using MOOSE and is based on various modules, as such the RTM for Stochastic Tools is dependent upon the following documents.

Requirements

The following is a complete list for all the functional requirements including links to the design documents and test cases for Stochastic Tools.

Functional Requirements

  • stochastic_tools: Ics
  • 3.2.1The system shall generate parallel agnostic random initial conditions using a distribution function.

    Specification(s): generate

    Design: RandomIC

    Issue(s): #5567#11901#9710

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.2.2The system shall generate an error the random initial condition is used with both a distribution and min or max value defined.

    Specification(s): test_err_distribution_and_min_max

    Design: RandomIC

    Issue(s): #5567#11901#9710

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

    Prerequisite(s): 3.2.1

  • stochastic_tools: Reporters
  • 3.4.1The system shall support the calculation of statistics using
    1. vectors of data from the postprocessing system and include
    2. confidence level intervals for statistics calculations.

    Specification(s): vpp/statistics, vpp/ci

    Design: StatisticsReporter

    Issue(s): #16584

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • 3.4.2The system shall support the calculation of statistics using
    1. vector of data from the reporting system; including
    2. confidence level intervals for statistics calculations
    3. and error if the supplied type is not supported.

    Specification(s): reporters/statistics, reporters/ci, reporters/error

    Design: StatisticsReporter

    Issue(s): #16584

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): JSONDiffRunException

  • 3.4.3The system shall support computing bias corrected and accelerated confidence level intervals of statistics
    1. of a vector of data
    2. using data that is replicated and
    3. errors when data distributed across processors.

    Specification(s): bca/basic, bca/replicated, bca/distributed

    Design: StatisticsReporter

    Issue(s): #14409#16584

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): JSONDiffRunException

  • 3.4.4The system shall error when computing confidence level intervals when
    1. the confidence level intervals are omitted;
    2. the confidence level intervals are less than or equal to zero;
    3. the confidence level intervals are greater than or equal to one;
    4. input is not provided.

    Specification(s): errors/no_ci_levels, errors/ci_levels_zero, errors/ci_levels_one, errors/no_input

    Design: StatisticsReporter

    Issue(s): #14409#16584

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.4.5The system shall support computing percentile confidence level intervals of statistics
    1. of a vector of data
    2. using data that is replicated or
    3. distributed across processors.

    Specification(s): percentile/basic, percentile/replicated, percentile/distributed

    Design: StatisticsReporter

    Issue(s): #14409#16584

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • 3.4.6The system shall be capable of computing the statistics of a data vector that
    1. is replicated and
    2. distributed.

    Specification(s): tests/replicated, tests/distributed

    Design: StatisticsReporter

    Issue(s): #11217#16584

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • 3.4.7The system shall be capable of computing the statistics from vector reporter values.

    Specification(s): reporter

    Design: StatisticsReporter

    Issue(s): #11217#16584

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • 3.4.8The system shall support the ability to use transferred reporter data to
    1. compute statistics.

    Specification(s): sr/stats

    Design: StochasticReporter

    Issue(s): #16166

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • stochastic_tools: Samplers
  • 3.5.1The system shall include the ability to create a Cartesian product sampling scheme.

    Specification(s): test

    Design: CartesianProductSampler

    Issue(s): #14457

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.2The CSV Sampler shall read samples from a CSV file while the sample data is
    1. distributed across processors,
    2. replicated across processors, and
    3. distributed across processors with the output also distributed.

    Specification(s): csv_sampler/sampling_test, csv_sampler/sampling_test_global, csv_sampler/sampling_test_distributed

    Design: CSVSampler

    Issue(s): #16462

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.3The CSV Sampler shall sample from a CSV file when column indices are provided.

    Specification(s): csv_sampler_indices

    Design: CSVSampler

    Issue(s): #16462

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.4The CSV Sampler shall sample from a CSV file when column names are provided.

    Specification(s): csv_sampler_names

    Design: CSVSampler

    Issue(s): #16462

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.5The system shall support generating random samples of data
    1. that remain constant in size and
    2. that are dynamic in size.

    Specification(s): no_change/constant, no_change/dynamic

    Design: Samplers SystemSamplerFullSolveMultiApp

    Issue(s): #16842

    Collection(s): FUNCTIONAL

    Type(s): JSONDiff

  • 3.5.6The system shall support the creation of data sampled from distribution during the initial setup of a simulation.

    Specification(s): initial

    Design: Sampler

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.7The system shall support the ability to sample data using the Latin Hypercube method that can operate
    1. using global matrix,
    2. a local matrix,
    3. or row-by-row.

    Specification(s): modes/global, modes/local, modes/row

    Design: LatinHypercube

    Issue(s): #14830

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.8The system shall include a utility that visually displays results of plotting Latin Hypercube test.

    Specification(s): visualize

    Design: LatinHypercube

    Issue(s): #14830

    Collection(s): FUNCTIONAL

    Type(s): CheckFiles

  • 3.5.9The system shall include a Monte Carlo method for sampling distribution data including
    1. a uniform distribution distributed across processors,
    2. a uniform distribution replicated across processors,
    3. a uniform distribution distributed across processors (output is also distributed),
    4. a Wiebull distribution distributed across processors, and
    5. a Weibull distribution replicated across processors.

    Specification(s): monte_carlo/uniform, monte_carlo/uniform_global, monte_carlo/uniform_distributed, monte_carlo/weibull, monte_carlo/weibull_global

    Design: MonteCarlo

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.10The system shall include a SOBOL method for sampling distribution data:
    1. with the re-sampling matrix and
    2. without the re-sampling matrix.

    Specification(s): sobol/resample, sobol/no_resample

    Design: Sobol

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.5.11The system shall error if the SOBOL sampling method is setup with input sampling matrices
    1. with differing number of rows;
    2. with differing number of columns; and
    3. if the matrices are the same.

    Specification(s): errors/row_mismatch, errors/col_mismatch, errors/same_matrix

    Design: Sobol

    Issue(s): #8065

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • stochastic_tools: Transfers
  • 3.7.1The system shall include the ability to modify parameters for sub-applications using values from a distribution
    1. on a single processor,
    2. on multiple processors,
    3. and on more processors than samples.

    Specification(s): normal/n1, normal/n2, normal/n3

    Design: SamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.2The system shall include the ability to modify parameters for sub-applications executed in batches using values from a distribution
    1. on a single processor,
    2. on multiple processors, and
    3. on multiple processors using in-memory sub-application restore.

    Specification(s): batch/n1, batch/n2, batch/n2_restore

    Design: SamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

    Prerequisite(s): 3.7.1

  • 3.7.3The system shall include the ability to transfer stochastic results for two sub apps.

    Specification(s): batch_two_subapps

    Design: SamplerParameterTransfer

    Issue(s): #17079

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.4The 'StochasticToolsTransfer object shall error if the 'execute_on' parameter is defined when the corresponding MultiApp object is running in batch mode.

    Specification(s): StochasticToolsTransfer_execute_on_error

    Design: SamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.5The 'StochasticToolsTransfer' object shall error if the 'execute_on' parameter does not match the corresponding MultiApp object is running in normal mode.

    Specification(s): StochasticToolsTransfer_execute_on_check

    Design: SamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.6The system shall produce an error if sub-application type is not correct for performing a transfer of stochastic data.

    Specification(s): multiapp_type

    Design: SamplerParameterTransfer

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.7The system shall produce an error if the sampler sub-application does not contain control object with the correct name.

    Specification(s): control_missing

    Design: SamplerTransientMultiApp

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.8The system produce an error if the sampler sub-application does not have a correct object for receiving stochastic data.

    Specification(s): wrong_control

    Design: SamplerTransientMultiApp

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.9The system shall produce an error if supplied vector of real values is not sized correctly.

    Specification(s): num_pararameters_wrong

    Design: SamplerParameterTransfer

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.10The system shall support the creation of a sub-application for each row of the stochastic data.

    Specification(s): monte_carlo

    Design: MonteCarloSamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.11The system shall produce an error if neither a 'SamplerTransientMultiApp' nor SamplerFullSolveMultiApp is provided in SamplerPostprocessorTransfer.

    Specification(s): wrong_multi_app

    Design: StochasticResults

    Issue(s): #9419

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.12The system shall produce an error if the 'result' object in 'SamplerPostprocessorTransfer' is not a 'StochasticResults object'.

    Specification(s): require_stochastic_results

    Design: StochasticResults

    Issue(s): #9419

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.13The system shall support the ability to transfer a single value from each sub-application for a set of stochastic data.

    Specification(s): sobol_from_multiapp

    Design: SamplerPostprocessorTransfer

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.14The system shall error if the supplied name is invalid when attempting to transfer a single value from a sub-application.

    Specification(s): invalid_sub_pp_name

    Design: SamplerPostprocessorTransfer

    Issue(s): #8065

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.15When sub-application solve does not converge, the system shall either
    1. abort run,
    2. transfer last computed postprocessor value,
    3. or transfer NaN.

    Specification(s): solve_not_converge/abort, solve_not_converge/last_computed, solve_not_converge/nan

    Design: SamplerPostprocessorTransfer

    Issue(s): #8065

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunExceptionCSVDiffCheckFiles

  • 3.7.16The system shall support the ability to transfer reporter data from each sub-application for a set of stochastic data
    1. in normal mode,
    2. in batch mode,
    3. with distributed output,
    4. with more processors than samples,
    5. and error if transferring unsupported type.

    Specification(s): transfer/normal, transfer/batch, transfer/distributed, transfer/more_cpus, transfer/invalid_type

    Design: SamplerReporterTransfer

    Issue(s): #16166

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): JSONDiffRunException

  • 3.7.17MOOSE shall produce an error if neither a 'SamplerTransientMultiApp' nor SamplerFullSolveMultiApp is provided in SamplerParameterTransfer.

    Specification(s): multiapp_type

    Design: SamplerParameterTransfer

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.18MOOSE shall produce an error if the sampler sub-application does not contain a Control object with the name 'stochastic'.

    Specification(s): control_missing

    Design: SamplerTransientMultiApp

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.19MOOSE shall produce an error if the sampler sub-application does not have a correct Control object with 'to_control' parameter being 'SamplerReceiver' type.

    Specification(s): wrong_control

    Design: SamplerTransientMultiApp

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.20MOOSE shall produce an error if supplied vector of real values is not sized correctly.

    Specification(s): num_pararameters_wrong

    Design: SamplerParameterTransfer

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.21MOOSE shall produce an error if sampling method differs between the sub-application and the associated sub-application data transfer.

    Specification(s): sampler_mismatch

    Design: SamplerParameterTransfer

    Issue(s): #11363

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.22The system shall be capable of transferring scalar data to sub-applications for each row of the stochastic data
    1. using a Monte Carlo and
    2. Sobol sampling scheme.

    Specification(s): transfer/monte_carlo, transfer/sobol

    Design: SamplerParameterTransfer

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.23The system shall be capable of transferring vector data to sub-applications for each row of the stochastic data.

    Specification(s): monte_carlo

    Design: SamplerParameterTransfer

    Issue(s): #8065

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.7.24The system shall error if the transferred vector to a sub-application
    1. is not sized correctly for stochastic data,
    2. is not sized uniformily across sub-applications,
    3. if the vector parameter does not exist, and
    4. if the sub-application does not consume all of the supplied data.

    Specification(s): errors/not_enough_data, errors/size_mismatch, errors/invalid_name, errors/extra_data

    Design: SamplerParameterTransfer

    Issue(s): #8065

    Collection(s): FAILURE_ANALYSISFUNCTIONAL

    Type(s): RunException

  • 3.7.25The system shall support the creation of a sub-application for each row sampled data generated from a Sobol scheme.

    Specification(s): sobol

    Design: SobolSamplerParameterTransfer

    Issue(s): #8863

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • stochastic_tools: Vectorpostprocessors
  • 3.8.9The system shall support the collection of stochastic data from multiple sub-applications.

    Specification(s): multiple

    Design: StochasticResults

    Issue(s): #14414

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.8.10The system shall support the ability to compute first, second, and total-effect Sobol sensitivity indices.

    Specification(s): sobol

    Design: SobolStatistics

    Issue(s): #14784

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.8.13The system shall support the collection of stochastic data that is
    1. replicated on all processors and
    2. distributed across many.

    Specification(s): parallel_type/replicated, parallel_type/distributed

    Design: StochasticResults

    Issue(s): #14410

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.8.14The system shall support the labeling of collection of stochastic data
    1. with custom prefix and
    2. without a prefix.

    Specification(s): prefix/custom, prefix/none

    Design: StochasticResults

    Issue(s): #14410

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

  • 3.8.15The system shall support the collection of stochastic data that
    1. can be appended into a single data set or
    2. or contain a single file per timestep.

    Specification(s): data/complete, data/time

    Design: StochasticResults

    Issue(s): #14412

    Collection(s): FUNCTIONAL

    Type(s): CSVDiff

Usability Requirements

Performance Requirements

System Requirements