lhc_process_netlogo_result: Analyses Netlogo simulations generated for a latin-hypercube...

Description Usage Arguments

Description

Takes each parameter value set generated by the hypercube in turn, and analyses the Netlogo simulation results. For each parameter set, there will be n simulation results. This method goes through these results, producing a file containing the median of each output measure for each of the n runs. Thus, if a Netlogo simulation was replicated 10 times, the median file will contain 10 medians for each simulation output measure. Once this has been created, the user should run lhc_generateLHCSummary, lhc_generatePRCoEffs, and lhc_graphMeasuresForParameterChange as per analysing any data in spartan that was not generated by Netlogo

Usage

1
2
3
lhc_process_netlogo_result(FILEPATH, LHCSAMPLE_RESULTFILENAME,
  SPARTAN_PARAMETER_FILE, NUMSAMPLES, MEASURES, LHC_ALL_SIM_RESULTS_FILE,
  TIMESTEP)

Arguments

FILEPATH

Directory where either the simulation runs can be found

LHCSAMPLE_RESULTFILENAME

Name of the result file generated by Netlogo, for a LHC parameter sample.

SPARTAN_PARAMETER_FILE

Location of the file output by the latin-hypercube sampling method, containing the parameters on which this experiment was performed

NUMSAMPLES

The number of parameter subsets that were generated in the LHC design

MEASURES

Array containing the names of the Netlogo output measures which are used to analyse the simulation.

LHC_ALL_SIM_RESULTS_FILE

Name of the LHC Summary file to be generated. Contains each parameter set alongside the result gained when the simulation was run under that criteria.

TIMESTEP

The timestep of the Netlogo simulation being analysed


kalden/spartan documentation built on May 31, 2019, 11:52 p.m.