set_sus()
Set the agent’s susceptibility to a condition
Synopsis
<condition-name>.sus = <value>
set_sus(condition-name, value)
Description
This agent action sets the agent’s susceptibility to a condition.
The compiler transforms the first form into the second form.
The first form is preferred.
Parameters
condition-name
The name of a transmissible condition.
value
An expression that evaluates to a numeric value.
Examples
Both of the following statements set the agent’s susceptibility to COVID19 to 1.0:
COVID19.sus = 1.0
set_sus(COVID19, 1.0)