You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run a sensitivity analysis on a Network, a lot of parameters must be set.
Describe the expected behavior
To run a sensitivity analysis on a Network, we can precise the network, sensitivity factors and only the wanted parameters to override (none if need be).
Describe the motivation
For some use cases the use of SensitivityAnalysis::run does not need a lot of parameters. The mandatory parameters should always be the Network on which the analysis is wanted and a list of SensitivityFactor.
The other parameters could be set by default and overridden only if needed:
For that, we can create for instance an SensitivityAnalysis inner class Runner that sets all the parameters by default and allows them to be overridden, like this following example:
Uh oh!
There was an error while loading. Please reload this page.
Describe the current behavior
To run a sensitivity analysis on a
Network
, a lot of parameters must be set.Describe the expected behavior
To run a sensitivity analysis on a
Network
, we can precise the network, sensitivity factors and only the wanted parameters to override (none if need be).Describe the motivation
For some use cases the use of
SensitivityAnalysis::run
does not need a lot of parameters. The mandatory parameters should always be theNetwork
on which the analysis is wanted and a list ofSensitivityFactor
.The other parameters could be set by default and overridden only if needed:
VariantManagerConstants.INITIAL_VARIANT_ID
SensitivityVariableSet
: empty listContingency
: empty listSensitivityAnalysis
:SensitivityAnalysisParameters.load()
LocalComputationManager.getDefault()
ReportNode.NO_OP
For that, we can create for instance an
SensitivityAnalysis
inner classRunner
that sets all the parameters by default and allows them to be overridden, like this following example:Extra Information
We keep all the current
SensitivityAnalysis::run
methods for simple cases.The text was updated successfully, but these errors were encountered: