sample
Generate a scenarios file, containing scenarios from the model.
Description
Generates a random sample of scenarios from the model. These scenarios can be used later for creating a test ensemble, or for generating a test book.
Parameters
--algorithm/-a-
Sample algorithm. Options are
randomandfull. Defaults torandom. --overwrite-
Deletes previous sampled runs (if any). If omitted, the newly samples scenarios are added to the existing samples file.
--size NUM-
Generate up to
NUMunique scenarios. When using--overwrite, this will be the maximal size of the new sample. When not using--overwrite, this will be the maximal number of scenarios added to the existing samples file. When using thefullsampling algorithm, this parameter is ignored. -o/--output-file SAMPLE_FILE-
Name of the generated samples file. Defaults to
samples.json. --not-growing-threshold NUM-
Stop sampling after having
NUMconsecutive samples that did not discover a new scenario. Defaults to 100. -m/--max-depth MAX-DEPTH-
Maximum depth for each single sample.