get.model.time {Simile}R Documentation

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)

Arguments

instance.handle

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

Value

The current model time

Author(s)

Jasper Taylor

Examples

get.model.time("dummy_ih")

[Package Simile version 1.3.3 Index]