{% extends "base.html" %} {% block body %}

Simulation

Run the Discrete event simulation from within the reports. Specify the number of times the simulation should be run.

Bear in mind the higher the number of runs the more probable the results. Please limit the number of runs to less than 1000. if more runs are necessary run using the supplychainpy library from within an interpreter or ide.

Simulation Summary

{% for item in sim %}
{% for ms in inventory %} {% if (ms.sku_id == item.sku_id) %} {{ item.sku_id }} {% else %} {% endif %} {% endfor %}

Backlog (Min): {{ "{:,.0f}".format(item.minimum_backlog) }}

Opening Stock (VAR): {{ "{:,.0f}".format(item.variance_opening_stock |int) }}

Service Level: {{ item.service_level }}

Shortage (AVG) {{ item.average_shortage_units }}

Quantity Sold (MIN) {{ item.minimum_quantity_sold }}

Closing Stock (MAX) {{ item.maximum_closing_stock }}

Quantity Sold (STDEV.) {{ item.standard_deviation_quantity_sold }}

Quantity Sold (AVG) {{ item.average_quantity_sold }}

{% endfor %}
{% endblock %}