A Model for Hierarchical Open Real-Time Systems