Optimization Failure Analysis Report
Introduction
The FAR for Optimization describes the system functional and non-functional requirements that describe the expected interactions that the software shall provide.
Dependencies
The Optimization application is developed using MOOSE and is based on various modules, as such the FAR for Optimization is dependent upon the following documents.
Failure Analysis Requirements
The following is a complete list for all the requirements related to failure analysis for Optimization.
- optimization: Functions
- 11.3.2The system shall error if
- the size of value vector is wrong;
- x-coordinate data is wrong size;
- y-coordinate data is wrong size;
- z-coordinate data is wrong size;
- time data is wrong size;
Specification(s): error/v, error/x, error/y, error/z, error/t
Design: NearestReporterCoordinatesFunction
Issue(s): #22215
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunException
- 11.3.4The system shall support parsed function expressions with parameter values by
- computing parameter gradient;
- erroring if vector is incorrect size;
Specification(s): parsed_function/compute_gradient, parsed_function/wrong_vector_size
Design: ParsedOptimizationFunction
Issue(s): #21885
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunExceptionCSVDiff
- optimization: Optimizationreporter
- 11.4.6The system shall throw an error when performing inverse optimization on mesh-based parameters if there is a mismatch between the number of parameters and the number of
- meshes;
- finite-element families;
- finite-element orders;
- initial conditions;
- lower bounds;
- upper bounds;
Specification(s): mismatch_errors/meshes, mismatch_errors/family, mismatch_errors/order, mismatch_errors/initial_condition, mismatch_errors/lower_bound, mismatch_errors/upper_bound
Design: ParameterMeshOptimizationParameterMeshFunction
Issue(s): #22995
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunException
- 11.4.7The system shall throw an error when performing inverse optimization on mesh-based parameters if the parameter function spaces do not match the space defined in the
- forward problem;
- adjoint problem;
Specification(s): interpolation_errors/forward, interpolation_errors/adjoint
Design: ParameterMeshOptimizationParameterMeshFunction
Issue(s): #22995
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunException
Prerequisite(s): 11.4.5
- 11.4.9The system shall correctly read in parameter data defined in the input file
- measurement data from the input file;
- with lower bounds, upper bounds and initial conditions provided for every parameter and measurement data from a CSV file;
- with lower bounds, upper bounds and initial conditions constant for each group and measurement data from a CSV file;
- with lower bounds, upper bounds and initial conditions are a mix of constant per group and every parameter in a group and measurement data from a CSV file;
- and error if parameters are provided but do not include a parameter for every group;
- and error if an incorrect number of parameters are provided for a group;
Specification(s): optimizationReporter/input, optimizationReporter/csv_paramBounds, optimizationReporter/csv_groupBounds, optimizationReporter/csv_mixBounds, optimizationReporter/missing_group_params, optimizationReporter/too_many_params
Design: OptimizationReporter
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): JSONDiffRunException
- 11.4.13The system shall throw an error when parameter data is incorrectly defined
- by having input and mesh parameters for the same bound;
- by having a parameter not on the exodus mesh;
- by using nodal and elemental exodus variables to define parameter data in the same parameter group;
- by not having the same number of optimization timesteps and timesteps for reading parameter data from the mesh;
- by specifying a timestep for reading parameter data from the exodus file but not parameter data is being read from the mesh because it is all specified in the input file;
- by specifying a timestep that is bigger than the timestpes on the exodus the exodus mesh.
Specification(s): errors/errorMixedParams, errors/errorMissingMeshParam, errors/errorMixedParameterTypes, errors/errorMismatchSteps, errors/errorNoSteps, errors/errorBadStep
Design: ParameterMeshOptimization
Issue(s): #24034
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunException
- optimization: Userobjects
- 11.5.1The system shall be able to load a time-dependent solution from an exodus file while reversing the timesteps by
- producing the exodus file;
- loading on to the same mesh;
- loading on to a coarser mesh;
- interpolating different time steps;
- erroring if file is not exodus;
Specification(s): adjoint_solution/forward, adjoint_solution/reverse, adjoint_solution/reverse_space_interp, adjoint_solution/reverse_time_interp, adjoint_solution/error_file_format
Design: AdjointSolutionUserObject
Issue(s): #22215
Collection(s): FAILURE_ANALYSISFUNCTIONAL
Type(s): RunAppRunExceptionCheckFiles