daily_count()

The number of agents that entered the given state on the previous day.

Synopsis

daily_count(condition-name.state-name)

Description

This function returns the number of agents that entered the given state on the previous day.

Parameters

condition-name

The name of a condition defined in the model.

state-name

The name of a state within the condition.

Returns

Returns a non-negative integer value.

Examples

my_newly_sick_agents = daily_count(INF.Sick)

See Also

current_count(), total_count()