Setting Up the SimulationΒΆ

The first step executed when TARDIS runs is to call an instance of the Simulation class. This sets up a lot of things that TARDIS will need during its run. The main things that are set up are the supernova model (a Radial1DModel object), the initial plasma state (a BasePlasma object, which may be updated throughout the simulation, see Estimators and Convergence), and a MonteCarloRunner object. The pages linked below explain how the former two are calculated (the latter is used mainly in the next step of the calculation), as well as showing this in action by calling an instance of the Simulation class.