# Files Generated by MSim Script

This section discusses how the MSim Script saves files to disk, if you want to see an example of a MSim Script generated by a Fit Script then see Fitting a Two Compartment PopPK Model.

Outputs from an msim script called ‘fit_example1_msim.pyml’ are:-

    fit_example1_msim.pyml_output/
        _temp
        msol
        fit_example1_vpc.pyml

The ‘_temp’ folder contains the temporary functions generated by PoPy and the ‘msol’ folder contains the new simulated populations. There is one .csv file per simulated population, that all have the same number of rows as the original ‘fit_example1_data.csv’.

The MSim Script also outputs the ‘fit_example1_vpc.pyml’ Vpc Script and runs it automatically after finishing the multi population simulation. The vpc_script is responsible for loading in the data from the ‘msol’ folder and creating a vpc graph.

The output of the ‘fit_example1_vpc.pyml’ script is here:-

    fit_example1_msim.pyml_output/
        DV_CENTRAL_sim,DV_CENTRAL_wrt_TIME_SINCE_LAST_DOSE_comb_quant_sim_vpc/
            000000.svg

The parameters of the vpc graph are used in the folder name, so it ends up being quite long.