Theoretical underpinning and prototype implementation of scenario bundle-based logical control for simulation of human–artifact interaction