@brianovrum/vivac
Simulation
1
Public

Vivac

This model simulates some moving maintenance trucks (vivacs) that make the maintenance of equipment in several oil wells. Every certain period of time (2 days between each movement) a truck is moved to another place, making the maintenances of the wells that are located near that new place. The wells' equipment can break at all time, but the probability of breaking is higher the longer the time elapsed since the last maintenance. If the equipment breaks, it is replaced with a new equipment from the vivac. If not, but it already passed the time between maintenances, the equipment is checked and the timer reset in case the vivac visits the well. The vivac updates the equipment stock every time it moves to a new place. In case it doesn't have stock of an equipment, it cannot make the maintenance of a well that needs to fix that equipment.