Mathematical models: incorporating key processes
You have created the dictionary processes shown below that contains information about the steps involved in a supply-chain operation of a company that produces mobile phones.
processes = {
"Sourcing raw material": 5,
"Transport of raw material": 1,
"Manufacturing parts": 3,
"Assembling parts": 2,
"Selling products": 3,
}
Your model is stored in a function named discrete_model_build_phone() and simulates your production line by accounting for the processes described in the dictionary. The input arguments of the model are (in order):
processes: Dictionary containing the information about the processessimulation_time: Duration of the run.
The time in the model is in days.
The package Maptlotlib.pyplot has already been loaded for you as plt.
Este ejercicio forma parte del curso
Discrete Event Simulation in Python
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Add the new key-value pair to the processes dictionary
processes["____"] = ____
# Assign the simulation time
simulation_time = ____
# Run the model
time_all = ____(____)