bd simulation