Skip to content

daily_count

Syntax

daily_count(condition-name, state-name)

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.

Description

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

Examples

my_newly_sick_agents = daily_count(INF, Sick)

See Also