This paper determines how simulated time can be implemented in python and how time can be regarded as a general level such that, it is independent of a specific time context using simulated or real-time. Simulated time is explored through literature search where it was discovered that there exist multiple classifications of simulation models based on the representation of time: Static, Continuous, and Discrete. A discrete event simulation model is then implemented which follows a process-based approach. Time in the simulation model is generalized with the introduction of an abstracted superclass called Time base. Time base introduces general time expressions that allow an entity to execute on the time base of the environment without specifically knowing which time context it is running on. The implementation was successful in changeably executing the simulation model in either time context, that is, simulated time and real-time. This paper confirms that generalized time concepts and simulation models can be applied with python but its effectiveness depends on the time precision requirements of the real-time systems.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Simulations and Real-Time Control Using Time Abstraction

  • R. Srinivasan,
  • M. Kavitha

摘要

This paper determines how simulated time can be implemented in python and how time can be regarded as a general level such that, it is independent of a specific time context using simulated or real-time. Simulated time is explored through literature search where it was discovered that there exist multiple classifications of simulation models based on the representation of time: Static, Continuous, and Discrete. A discrete event simulation model is then implemented which follows a process-based approach. Time in the simulation model is generalized with the introduction of an abstracted superclass called Time base. Time base introduces general time expressions that allow an entity to execute on the time base of the environment without specifically knowing which time context it is running on. The implementation was successful in changeably executing the simulation model in either time context, that is, simulated time and real-time. This paper confirms that generalized time concepts and simulation models can be applied with python but its effectiveness depends on the time precision requirements of the real-time systems.