Session Ready
Exercise

Interpreting simulation results exercise

In this exercise you are given the results of simulation testing of the Capacitated Plant Location model as a Pandas DataFrame called df. It contains the total production of the different regions. The optimal model results from each run of the simulation is stored as a row in the DataFrame. The first few rows of the DataFrame are printed for you. Your goal is to create histograms of the total production of the different regions to understand how the production varies in the simulation.

Keep in mind that the production capacity for a low or high capacity plant is 500, or 1,500 respectively.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Show the histogram of the Brazil region production. Notice how it seems like this region sometimes uses both a high and low capacity plant for production, because there are instances where production is greater than 1,500 (horizontal axis).