Topics to be covered here is the example in package examples.experiments.montecarlo from project_template_standalone. It calculates PI using Monte Carlo Simulation. The classes in this package are:

  • CustomExperiment: the new experiment type derived from jasima.core.experiment.Experiment

  • RunCustomExperimentSimple: Creates, parameterizes and finally runs the custom experiment. Results are printed to the console.

  • RunCustomExperimentComplex: Complex example of using the custom experiment together with the standard experiment types MultipleReplicationExperiment and FullFactorialExperiment. Results are written to an Excel file and illustrate the random fluctuations of simulation results as a function of the computational effort (number of random numbers drawn).