Treating ailing emergency departments with simulation: an integrated perspective