Learn R Programming

Simile (version 1.3.4)

get.model.time: Gets the time in the simulation.

Description

The simulation time is initialized by the reset.model command, and incremented by the execute.model command. After execute.model it may not be the expected end time because the model may stop executing before that point for various reasons.

Usage

get.model.time(instance.handle)

Value

The current model time

Arguments

instance.handle

The handle returned by create.model(), identifying an executable model instance.

Author

Jasper Taylor

Examples

Run this code
get.model.time("dummy_ih")

Run the code above in your browser using DataLab