Model settings¶
model_settings.json describes a model’s runtime capabilities, lookup configuration and
defaults. It is supplied by the model and validated by ods_tools against
model_settings_schema.json. Nested objects (e.g. model_settings, lookup_settings) are
expanded into their own subsections below.
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
minimum 3 |
The schema version for model settings validation (optional) |
|
|
string |
min length 1 |
Name of the model associated with this settings file (optional) |
|
|
string |
min length 1 |
Short Description of the catastrophe model (optional) |
|
|
string |
min length 1 |
The supplier ID for the model. (optional) |
|
|
string |
min length 1 |
The model ID for the model. (optional) |
|
|
string |
min length 1 |
The version ID for the model. (optional) |
|
|
enum[string] |
one of: |
OasisPlatform execution mode for running an analysis, V1 = ‘Single server execution’ (worker versions |
|
|
boolean |
Marks this model as a ‘complex model’ with configuration options at the input file generation stage. (optional) |
||
|
integer |
minimum 0 |
The default number of samples generated per event. (optional) |
|
|
object |
Yes |
Runtime settings available to a model |
|
|
object |
Yes |
Model lookup section |
|
|
array[object] |
Legacy Correlation Settings. Now moved to model_settings |
||
|
object |
Additional data options for a model |
||
|
object |
List of parameters that will be passed as arguments to the MDK, options are dependent on the package version. To see these look at releases 2.4.0 and up (https://github.com/OasisLMF/OasisLMF/releases) |
model_settings¶
Runtime settings available to a model
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
object |
The ‘id’ field from options is used as a file suffix’ events_<id>.bin |
||
|
object |
The ‘id’ from options is used as a file suffix’ occurrence_<id>.bin |
||
|
object |
The ‘id’ field from options is used as a file suffix, e.g. footprint_<id>.bin, footprint_<id>.idx.z, footprint_<id>.parquet |
||
|
object |
The ‘id’ field from options is used as a file suffix, e.g. vulnerability_<id>.bin, vulnerability_<id>.csv, vulnerability_<id>.parquet |
||
|
object |
The ‘id’ field from options is used as a file suffix, e.g. lossfactors_<id>.bin, lossfactors_<id>.csv, lossfactors_<id>.parquet |
||
|
array[string] |
each item one of: |
If set, the model only supports the given output perspectives. This can be overridden per event set using the ‘valid_perspectives’ field. ‘gul’: ground up losses, ‘il’: insured losses, ‘ri’: reinsurance net losses, ‘rl’: reinsurance losses at all inuring priorities. |
|
|
array[string] |
each item one of: |
If set, the model only supports the given output metrics. This can be overridden per event set using the ‘valid_metrics’ field. Values must match the output options in the summaries section from the |
|
|
array[object] |
The Correlation Settings. |
||
|
object |
Object containing vulnerability adjustments and replacements. |
||
|
boolean |
default |
Legacy - moved to ‘computation_settings’. |
|
|
boolean |
default |
Legacy - moved to ‘computation_settings’ |
|
|
array[object] |
Links a dependent coverage type to a source coverage type at the same location: in gulmc the source coverage’s sampled damage bin indexes the dependent coverage’s damage-bin-authored vulnerability, so the dependent’s damage is conditioned on the source’s. Each dependent coverage type may appear at most once. |
||
|
array[string] |
If set, the exposure summary report will include additional breakdowns from the listed fields. Note that the field must exists in the exposure file. |
||
|
array[object] |
unique items |
Single string paramters |
|
|
array[object] |
unique items |
List of strings parameters |
|
|
array[object] |
unique items |
Generic dictionary parameters |
|
|
array[object] |
unique items |
Boolean parameters |
|
|
array[object] |
unique items |
Bounded float paramters |
|
|
array[object] |
unique items |
unbounded numeric paramters |
|
|
array[object] |
unique items |
Integer paramters |
|
|
array[object] |
unique items |
Generic dropdown paramters |
|
|
array[object] |
unique items |
Sets of parameters with pre-assigned values |
|
|
array[object] |
unique items |
Parameter Groups |
model_settings.event_set¶
The ‘id’ field from options is used as a file suffix’ events_<id>.bin
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
UI description for selection |
|
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for event set |
|
|
array[object] |
Yes |
Array of possible event sets |
model_settings.event_set.options¶
Event sets option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select an event set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
integer |
minimum 0 |
The total number of events in the set. (optional) |
|
|
array[string] |
each item min length 1 |
An optional list of viable occurrence file ids to use with this event set |
|
|
array[string] |
each item min length 1 |
An optional list of viable footprint file ids to use with this event set |
|
|
array[string] |
each item min length 1 |
An optional list of viable PLA lossfactors file ids to use with this event set |
|
|
array[string] |
each item one of: |
If set, this event set only supports the given output perspectives. ‘gul’: ground up losses, ‘il’: insured losses, ‘ri’: reinsurance net losses, ‘rl’: reinsurance losses at all inuring priorities. |
|
|
array[string] |
each item one of: |
If set, this event set only supports the given output metrics, matches the output types set in the summaries section on an |
|
|
string |
Long description (optional) |
model_settings.event_occurrence_id¶
The ‘id’ from options is used as a file suffix’ occurrence_<id>.bin
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
UI description for selection |
|
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for occurrence |
|
|
array[object] |
Yes |
Array of possible occurrence sets |
model_settings.event_occurrence_id.options¶
Occurrence set options
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select an occurrence set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
||
|
integer |
minimum 1 |
Maximum periods for this occurrence set |
model_settings.footprint_set¶
The ‘id’ field from options is used as a file suffix, e.g. footprint_<id>.bin, footprint_<id>.idx.z, footprint_<id>.parquet
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
UI description for selection |
|
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for footprint set |
|
|
array[object] |
Yes |
Array of possible footprint sets |
model_settings.footprint_set.options¶
Footprint set options
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select a footprint set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
model_settings.vulnerability_set¶
The ‘id’ field from options is used as a file suffix, e.g. vulnerability_<id>.bin, vulnerability_<id>.csv, vulnerability_<id>.parquet
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
UI description for selection |
|
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for vulnerability set |
|
|
array[object] |
Yes |
Array of possible vulnerability sets |
model_settings.vulnerability_set.options¶
Vulnerability set options
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select a vulnerability set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
model_settings.pla_loss_factors_set¶
The ‘id’ field from options is used as a file suffix, e.g. lossfactors_<id>.bin, lossfactors_<id>.csv, lossfactors_<id>.parquet
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
UI description for selection |
|
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for lossfactors set |
|
|
array[object] |
Yes |
Array of possible lossfactors sets |
model_settings.pla_loss_factors_set.options¶
Lossfactors set options
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select a lossfactors set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
model_settings.correlation_settings¶
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
integer |
min length 1 |
The Peril Correlation Group |
|
|
string |
The Legacy Correlation Value, retained for backward compatibility |
||
|
string |
The Correlation Value for harard sampling |
||
|
string |
The Correlation Value for vulnerability sampling |
model_settings.vulnerability_adjustments¶
Object containing vulnerability adjustments and replacements.
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
object |
keys matching |
Dictionary containing vulnerability adjustments with vulnerability ID as integer keys and adjustment factors as float values. |
|
|
object |
keys matching |
Detailed vulnerability replacements. |
|
|
string |
Path to a CSV file containing vulnerability data to be replaced. |
model_settings.coverage_dependency_settings¶
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
integer |
Yes |
The coverage type whose damage drives the dependent coverage. |
|
|
integer |
Yes |
The coverage type whose damage is driven by the source coverage. |
model_settings.string_parameters¶
User selected string value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Default ‘string’ for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.list_parameters¶
User selected list values
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
array[string] |
Yes |
Default ‘list’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.dictionary_parameters¶
User selected dictionarys
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
object |
Yes |
Defaults set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.boolean_parameters¶
User selected boolean option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
boolean |
Yes |
Default ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.float_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
number |
Yes |
Default ‘value’ set for float variable |
|
|
number |
Yes |
Maximum Value for float variable |
|
|
number |
Yes |
Minimum Value for float variable |
|
|
number |
The slider widget’s step interval for adjusting the float parameter. |
||
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.numeric_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
number |
Yes |
Default integer or float ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.integer_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
integer |
Yes |
Default integer ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.dropdown_parameters¶
The ‘id’ field is mapped into the analysis settings as ‘paramter_name’: ‘<id-selected>’
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for dropdown option |
|
|
array[object] |
Yes |
Array of possible event sets |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.dropdown_parameters.options¶
Dropdown option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select an event set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
model_settings.multi_parameter_options¶
Parameter group option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
object |
Yes |
JSON object holding <parameter_name>:<value> pairs |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
model_settings.parameter_groups¶
Defines which parameter are related
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
Reference for the group element |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
integer |
Yes |
Set which parameter groups to display first |
|
|
array[string] |
Yes |
each item min items 1 |
List of parameters reference by their ‘name’ property |
|
boolean |
Boolean to mark if this parameter group is collapsible |
||
|
boolean |
Boolean to mark if parameter group starts collapsed |
lookup_settings¶
Model lookup section
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
array[object] |
min properties 1 |
Valid Peril codes for this model |
lookup_settings.supported_perils¶
Selection Item
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 3; max length 3 |
OED three letter peril code |
|
string |
Yes |
min length 1 |
Short string describing the peril |
|
integer |
min length 1 |
the peril correlated group ID |
correlation_settings¶
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
integer |
min length 1 |
The Peril Correlation Group |
|
|
string |
The Correlation Value |
data_settings¶
Additional data options for a model
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
array[string] |
each item min length 1 |
A list of OED releases that this model supports. |
|
|
boolean |
Marks the model as requiring external model data. |
||
|
string |
min length 1 |
Version ID of the Model data. |
|
|
string |
min length 0 |
Version ID of the lookup keys data. |
|
|
string |
min length 1 |
The model worker’s docker image name |
|
|
string |
min length 1 |
The model worker’s version ID |
|
|
string |
min length 1 |
Version ID of the model documents |
|
|
string |
min length 1 |
Version ID of the test files |
|
|
array[string] |
each item min length 1 |
A list of country codes that this model covers. |
|
|
array[string] |
each item min length 1 |
List of OED fields that the model requires. |
|
|
array[object] |
Data assets available to the model |
||
|
array[string] |
List of OED fields from location file to form damage group ids |
||
|
array[string] |
List of OED fields from location file to form hazard group ids |
||
|
array[object] |
Select file_ids from the API endpoint |
data_settings.additional_assets¶
Name, version and location of data
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
Name of the Asset file |
|
string |
min length 1 |
Version of Asset |
|
|
string |
min length 1 |
Filesystem path to the asset |
|
|
string |
min length 1 |
Target for deploying this additional asset |
data_settings.datafile_selectors¶
File Selection Parameter
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
name used store the selection under |
|
string |
Yes |
UI description for selection |
|
|
string |
Long description (optional) |
||
|
integer |
call to |
||
|
boolean |
Yes |
Allow the user to link multiple files to an analyses. |
|
|
array[object] |
File options filter |
data_settings.datafile_selectors.search_filters¶
Build a query string from the following fields
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
min length 1 |
File was uploaded by ‘user’ |
|
|
string |
min length 1 |
Filename exactly matches ‘value’ |
|
|
string |
min length 1 |
‘value’ is a substring of filename |
|
|
string |
min length 1 |
File description matches ‘value’ exactly |
|
|
string |
min length 1 |
‘value’ is a substring of a File’s description’ |
|
|
string |
min length 1 |
file exactly matches a MIME type |
|
|
string |
min length 1 |
A files MIME type contains ‘value’ |
computation_settings¶
List of parameters that will be passed as arguments to the MDK, options are dependent on the package version. To see these look at releases 2.4.0 and up (https://github.com/OasisLMF/OasisLMF/releases)
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
array[object] |
unique items |
Single string paramters |
|
|
array[object] |
unique items |
List of strings parameters |
|
|
array[object] |
unique items |
Generic dictionary parameters |
|
|
array[object] |
unique items |
Boolean parameters |
|
|
array[object] |
unique items |
Bounded float paramters |
|
|
array[object] |
unique items |
unbounded numeric paramters |
|
|
array[object] |
unique items |
Integer paramters |
|
|
array[object] |
unique items |
Generic dropdown paramters |
|
|
array[object] |
unique items |
Sets of parameters with pre-assigned values |
|
|
array[object] |
unique items |
Parameter Groups |
computation_settings.string_parameters¶
User selected string value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Default ‘string’ for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.list_parameters¶
User selected list values
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
array[string] |
Yes |
Default ‘list’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.dictionary_parameters¶
User selected dictionarys
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
object |
Yes |
Defaults set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.boolean_parameters¶
User selected boolean option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
boolean |
Yes |
Default ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.float_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
number |
Yes |
Default ‘value’ set for float variable |
|
|
number |
Yes |
Maximum Value for float variable |
|
|
number |
Yes |
Minimum Value for float variable |
|
|
number |
The slider widget’s step interval for adjusting the float parameter. |
||
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.numeric_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
number |
Yes |
Default integer or float ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.integer_parameters¶
Select float value
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
integer |
Yes |
Default integer ‘value’ set for variable |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.dropdown_parameters¶
The ‘id’ field is mapped into the analysis settings as ‘paramter_name’: ‘<id-selected>’
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
string |
Yes |
Initial setting for dropdown option |
|
|
array[object] |
Yes |
Array of possible event sets |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.dropdown_parameters.options¶
Dropdown option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
String value used to select an event set |
|
string |
Yes |
min length 1 |
UI description for selection |
|
string |
Long description (optional) |
computation_settings.multi_parameter_options¶
Parameter group option
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
UI name for selection |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
object |
Yes |
JSON object holding <parameter_name>:<value> pairs |
|
|
boolean |
tell if parameter should be visible in UI |
||
|
boolean |
tell if parameter should be editable in UI |
computation_settings.parameter_groups¶
Defines which parameter are related
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
min length 1 |
Reference for the group element |
|
string |
Yes |
min length 1 |
UI description for selection |
|
enum[string] |
one of: |
Set if this parameter is ONLY used at input ‘generation’ or for output ‘losses’ |
|
|
string |
Long description (optional) |
||
|
integer |
Yes |
Set which parameter groups to display first |
|
|
array[string] |
Yes |
each item min items 1 |
List of parameters reference by their ‘name’ property |
|
boolean |
Boolean to mark if this parameter group is collapsible |
||
|
boolean |
Boolean to mark if parameter group starts collapsed |