public class SensitivityAnalyser extends Object
| Constructor and Description |
|---|
SensitivityAnalyser(Model model,
org.json.JSONObject jsonConfig)
Constructor for Sensitivity Analysis tool.
The Model will be factorised and converted to static taking into account any overriding model settings and observations pre-entered into the selected DataSet. If no DataSet or Network are specified, the first one of each will be used. |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
buildResponseCurveGraphs()
Compiles data for response curve graphs.
Only allowed when target node is Numeric Interval. A graph is generated for each sensitivity node and selected summary statistic. Will clip data points outside of lower and upper sensitivity percentile values. X axis is sensitivity node states. Y axis is summary statistic values. |
org.json.JSONArray |
buildTables()
Compiles Sensitivity Analysis data as tables.
A table is generated for each sensitivity node. Row per sensitivity state. Column per summary statistic (if the target node is numeric continuous) or target state (if the target node is discrete). First item in a row is a sensitivity state. Positive infinity will appear as "Infinity", negative infinity as "-Infinity" and Double.NaN as "NaN", all wrapped in quotes. |
org.json.JSONArray |
buildTornadoGraphs()
Compiles Sensitivity Analysis data as tornado graphs.
Graphs are created for each selected summary statistic. |
org.json.JSONObject |
getConfig()
Compiles an effective configuration of this analysis and returns it as a JSON.
|
org.json.JSONObject |
getFullReport()
Generates response curve graphs, tables and tornado graphs.
Also includes full JSON configuration for this analysis. |
public SensitivityAnalyser(Model model, org.json.JSONObject jsonConfig) throws SensitivityAnalyserException
model - Model to run analysis onjsonConfig - configuration to override defaults for analysisSensitivityAnalyserException - upon failurepublic org.json.JSONObject getFullReport()
public org.json.JSONArray buildTables()
public org.json.JSONArray buildTornadoGraphs()
public org.json.JSONArray buildResponseCurveGraphs()
public org.json.JSONObject getConfig()
Copyright © 2022. All rights reserved.