Skip to content

set_sus

Syntax

set_sus(condition-name, value)

Parameters

condition-name
The name of a transmissible condition.
value
An expression that evaluates to a numeric value.

Description

This agent action sets the agent's susceptibility to a condition.

Examples

The following statement sets the agent's susceptibility to COVID19 to 1.0:

set_sus(COVID19, 1.0)

See Also