Run your first simulation
To run your first simulation, you need to follow these steps:
Import the
SimulationEngine
from thesimulatrex
package.Create an instance of the
SimulationEngine
, passing the simulation configuration as a parameter.Run the simulation using the
run
method of theSimulationEngine
.Get the evaluation data using the
get_evaluation_data
method of theSimulationEngine
.Convert the evaluation data to a Pandas DataFrame for easier manipulation and analysis.
Here is an example of how to do this:
Replace {...}
with your actual simulation configuration, or alternatively reference to a json file.
Last updated