A generalized simulation framework to manage logistics systems: A case study in waste management and environmental protection