Supports Sensitivity Analysis workflow to assess the impact of input parameters on the simulation outputs
Super classes
rSharp::NetObject -> ospsuite::DotNetWrapper -> SensitivityAnalysis
Active bindings
simulationReference to the
Simulationused to calculate or import the sensitivity analysis results (Read-Only).numberOfStepsNumber of steps used for the variation of each parameter in one direction from the reference value. The parameter is varied in both positive and negative directions, so the total number of variations per parameter is
2 * numberOfSteps. For example,numberOfSteps = 2withvariationRange = 0.1tests the parameter at four points: 90%, 95%, 105%, and 110% of the reference value. Default value can be retrieved withgetOSPSuiteSetting("sensitivityAnalysisConfig")$numberOfSteps.variationRangeRelative variation range applied to each parameter. This defines the total range of variation from the reference value. For example,
variationRange = 0.1means ±10% variation. Combined withnumberOfSteps = 2, the parameter would be tested at 90%, 95%, 105%, and 110% of its reference value (i.e., the variation range is divided intonumberOfStepsequal intervals in each direction). Default value can be retrieved withgetOSPSuiteSetting("sensitivityAnalysisConfig")$variationRange.parameterPathsList of parameters to use for sensitivity calculation. If empty, the sensitivity will be performed automatically on all constant parameters that are really in use in the simulation. Constant parameter means all parameters with a constant value or a formula parameter with a value that was overridden by the user
Methods
Inherited methods
rSharp::NetObject$.printClass()rSharp::NetObject$.printLine()rSharp::NetObject$call()rSharp::NetObject$get()rSharp::NetObject$getFields()rSharp::NetObject$getMemberSignature()rSharp::NetObject$getMethods()rSharp::NetObject$getProperties()rSharp::NetObject$getStaticFields()rSharp::NetObject$getStaticMethods()rSharp::NetObject$getStaticProperties()rSharp::NetObject$set()
Method new()
Initialize a new instance of the class
Usage
SensitivityAnalysis$new(
simulation,
parameterPaths = NULL,
numberOfSteps = ospsuiteEnv$sensitivityAnalysisConfig$numberOfSteps,
variationRange = ospsuiteEnv$sensitivityAnalysisConfig$variationRange
)Arguments
simulationSimulation for which a sensitivity analysis should be performed
parameterPathsVector of parameter paths to use for sensitivity calculation (optional). If undefined, the sensitivity will be performed automatically on all constant parameters of the simulation. Constant parameter means all parameters with a constant value or a formula parameter with a value that was overridden by the user
numberOfStepsNumber of steps used for the variation of each parameter in one direction from the reference value (optional, default specified in
getOSPSuiteSetting("sensitivityAnalysisConfig")). The parameter is varied in both positive and negative directions, so the total number of variations per parameter is2 * numberOfSteps. For example, withnumberOfSteps = 2andvariationRange = 0.1, each parameter will be tested at four points: 90% (refValue * 0.9), 95% (refValue * 0.95), 105% (refValue * 1.05), and 110% (refValue * 1.1) of its reference value. The total number of simulations is2 * numberOfSteps * number_of_parameters.variationRangeRelative variation range applied to each parameter (optional, default specified in
getOSPSuiteSetting("sensitivityAnalysisConfig")). This defines the total range of variation. For example,variationRange = 0.1means ±10% variation. The variation range is divided intonumberOfStepsequal intervals in each direction (positive and negative).
Method addParameterPaths()
Adds the parameterPaths to the list of parameter path to vary in the sensitivity analysis
Method print()
Print the object to the console