Configurable calorimeter simulation for AI applications