COVID-ABS: An Agent-Based Model of COVID-19 Epidemic to Simulate Health and Economic Effects of Social Distancing Interventions
The COVID-19 pandemic due to the SARS-CoV-2 coronavirus have directly impacted the public health and economy. To overcome this problem, the countries have adopted different policies for controlling the spread of the virus. This paper proposes the COVID-ABS, a new SEIR agent-based model that aims to simulate the pandemic dynamics using a society of agents emulating people, business and government. Seven different scenarios varying epidemiological and economical effects of social distance interventions were performed, which are: (1) do nothing, (2) lockdown, (3) conditional lockdown, (4) vertical isolation, (5) partial isolation, (6) use of face masks, and (7) use of face masks together with 50 implementing scenarios with lockdown which present the lowest number of deaths and highest impact on the economy, scenarios combining the use of face masks and partial isolation can be the more realistic for implementation in terms of social cooperation. The model can be easily extended to new societies by varying the parameters as well as allows the creating of a multitude of other scenarios.READ FULL TEXT VIEW PDF
COVID-ABS: An Agent-Based Model of COVID-19 Epidemic to Simulate Health and Economic Effects of Social Distancing Interventions
The Coronavirus disease 2019 (COVID-19) pandemic is an ongoing outbreak, caused by severe acute respiratory syndrome coronavirus 2 (so-called SARS‑CoV‑2). The outbreak was identified in Wuhan, China, in December 2019 Huang2020. The World Health Organization (WHO) declared the outbreak a Public Health Emergency of International Concern on January 30th 2020, and a pandemic on March 11th. In Brazil, the first confirmed case was on February 25th 2020, when a man from São Paulo tested positive for the virus. Since then, Brazil has been severely affected. As of June 5th 2020, the country reached more than 615,000 confirmed cases and more than 34,000 deaths by COVID-19, according to official data by the Brazilian Ministry of Health.
In addition to the public health, the coronavirus has impacted all aspects of life, politics, education, economy, social, environment and climate. It is also having an unprecedented impact on global supply chains and production. The only known effective measures to fight the disease outbreak is to implement highly restrictive social distancing measures on the population, as reported by a number of studies and systematic reviews Bakker2020; Prem2020; Jefferson2020. Many countries are implementing such interventions with different degrees of success.
Given the complexity of the societies, it is hard to predict the implications of such actions in the short and medium terms ribeiro2020dalmolin. Therefore, modeling and simulating the COVID-19 epidemic is a relevant and helpful way to understand the spread of the disease and the epidemiological effects of social distancing interventions. For this purpose, many studies in the literature have developed or adapted equation-based models to simulate the COVID-19 epidemic, using the Susceptible-Infected-Recovered (SIR) model or the Susceptible-Exposed-Infected-Recovered (SEIR) model to characterize the COVID-19 dynamics, see references in Section 2. Nonetheless, agent-based models have also been also proposed for modeling the COVID-19 epidemic, see for instance ferguson2020report; bossert2020limited and other studies discussed with more detail in Section 2.
In this paper, we develop an Agent-based Model (ABM) to simulate the dynamics of the COVID-19 epidemic and the epidemiological and economical effects of social distancing interventions. The proposed ABM aims to emulate a closed society living on a shared environment, consisting of agents that represent people, houses, businesses, the government and the healthcare system, each one with specific attributes and behaviors.
A society living over a territory is a complex and dynamic system. Such systems have many interacting variables, present nonlinear behavior and their properties evolve over time. Their behavior is generally stochastic and may depend on the initial conditions. It can be affected by neighbor societies (with different policies and dynamics) and it can show emergence of complex behaviors and patterns. Agent-Based Simulations (ABS) are a good choice to simulate these dynamic complex systems due to their simplicity of implementation and accurate results when compared with real data Parunak1998. ABS is employed in the simulation of complex dynamic systems using the individual states of its components to observe global behaviors that emerge due to the interactions between the agents over the iterations. Then, its main goal is to simulate the temporal evolution of the system, storing statistics derived from the internal states of the agents in each iteration. This approach allows the simulation of systems with intricate nonlinear variable relationships, complex conditions and restrictions that may be hard to describe mathematically. Since in this paper we are interested in simulating the effects of different social-distancing interventions and other control measures that affect the behaviors of agents and groups of agents, it is much easier to simulate these scenarios with an agent-based model. The epidemiological and economic effects are observed as emerging from the interactions among the agents in the simulation.
The ABM proposed here not only simulates the epidemic dynamics but also models the economy in this society of agents, which can help us measure the economic effects under different types of interventions. The proposed model (described in Section 3) allows the design of scenarios that correspond to different types of interventions performed in the society, by changing the simulation environmental variables and measuring their effects. Therefore, the proposed ABM becomes a useful tool to assist politicians and health authorities in planning their actions against the COVID-19 epidemic. The proposed ABM was implemented in Python version 3.6 programming language and encapsulated in the COVID_ABS package, whose source code is available at https://bit.ly/covid_abs_experiments and https://bit.ly/COVID19_ABSsystem
The main contributions and findings are listed below:
A new SEIR agent-based model to simulate the COVID-19 epidemic using a society of agents.
Assessment of the economic effects of seven different scenarios with specific social-distancing interventions, via simulation of the ABM: (1) do nothing, (2) lockdown, (3) conditional lockdown, (4) vertical isolation, (5) partial isolation, (6) use of face masks, and (7) use of face masks together with 50% of adhesion to social isolation. These scenarios and their simulated results are described in Section 5.
The simulations support the notion that lockdown and conditional lockdown are the best scenarios in terms of controlling the number of infected and deaths, which is primary goal. Economical countermeasures and subsidies are required by the government since this scenario presents the worst economic losses to the industry with potential unemployment, and recession can be observed during the lockdown period. Also, to be effective, these scenarios depend on the ability of the government to enforce the social isolation.
Our simulations present additional evidence that the so-called vertical isolation simply does not work, although it is the policy advocated by some governments like the Brazilian one111https://agenciabrasil.ebc.com.br/en/politica/noticia/2020-04/bolsonaro-brazil-must-not-be-informed-through-panic.
The scenario combining the use of masks and partial isolation of the population could be a good compromise and it is more realistic for implementation in terms of social cooperation. The infection curve is flattened and the economy has smoother effects than the scenarios with lockdown.
The rest of the paper is organized as follows: Section 2 provides a brief review of related work with focus on the mathematical modeling for epidemics and some recent papers related to the SARS-CoV-2. Section 3 describes the proposed agent-based system modeling. Section 4 describes the experimental methodology and Section 5 shows the simulations results and provides some discussions related to the pandemic. Section 6 concludes the paper and gives some future directions.
Since WHO announced the Coronavirus Disease 2019, the scientific community has been working hard to investigate SARS-CoV-2 epidemiological dynamics. Some works used the SIR model to characterize the COVID-19 dynamics anastassopoulou2020data; barlow2020accurate; weissman2020locally; fanelli2020analysis. However, more precise COVID-19 simulations usually used an approach based on the SEIR model choi2020estimating; vega2020lockdown; kuniya2020prediction; kim2020school; sugiyanto2020mathematical; manchein2020strong; tang2020effectiveness; tuite2020mathematical; abdo2020comprehensive; maugeri2020estimation; ivorra2020mathematical; liu2020modeling; peirlinck2020outbreak; chatterjee2020healthcare; li2020preliminary; arino2020simple; wang2020phase; wu2020nowcasting; given that this disease has a known incubation period lauer2020incubation. Some authors added new states to refine the COVID-19 model, for instance, super-spreaders ndairou2020mathematical or isolated tang2020effectiveness; vega2020lockdown; li2020preliminary; chatterjee2020healthcare; liu2020modeling; ivorra2020mathematical; tuite2020mathematical; manchein2020strong; kim2020school; choi2020estimating, hospitalized tang2020effectiveness; vega2020lockdown; li2020preliminary; ivorra2020mathematical; tuite2020mathematical; choi2020estimating, and asymptomatic infected arino2020simple; ivorra2020mathematical; abdo2020comprehensive; tuite2020mathematical; manchein2020strong.
We note that equation-based models to simulate the COVID-19 epidemic represent the majority among those proposed in the literature. Nonetheless, some papers with agent-based models have been also proposed for it. Agent-based modeling (ABM) and equation-based modeling (EBM) simulate the system by constructing a model and executing it on a computer. The difference lies in the form of modeling and simulation: in ABM, the model consists of a set of agents with specific behaviors encapsulating the various entities that make up the system, and execution consists of emulating these behaviors. In EBM the system is represented as a set of equations that relate variables to one another. When the focus is on modeling the COVID-19 epidemic, there is not a lot of compromise between ABM or EBM. Nevertheless, in this paper, in addition to epidemiological model, we are concerned with entities which play various roles in the economy. Therefore, an agent-based model seems to be the best choice.
More generally, ABM are better suited to domains where the natural unit of decomposition is the individual or entity rather than the observable or the equation Parunak1998. For more discussion about ABM and advantages of ABM over EBM, see Parunak1998; Figueredo2014.
The notable Imperial College, using an agent-based model, reported that if GB and USA governments did not mitigate this pandemic, the number of deaths until August of 2020 would be approximately 510,000 and 2.2 million, respectively ferguson2020report. bossert2020limited developed an agent-based model combining socio-economic and traffic data to analyze COVID-19 spreading in a South Africa city under social isolation scenarios; their prediction suggests that lockdown strategy is useful to mitigate the disease. Another study using an agent-based model also analyzed several scenarios and highlighted that with 90% of the population in isolation, it is possible to control the disease within 13 weeks when joined with effective case isolation and international travel restrictions, considering the Australian context chang2020modelling. An appealing characteristic of agent-based modeling is the easiness to simulate different scenarios. For instance, the scenario that considers universal use of masks integrated with social distance is the recommended one to control the pandemic according to braun2020phase; kai2020universal. Given the flexibility of the agent-based approach, papers have employed this method to simulate specific topics in the COVID-19 context, such as testing policies gopalan2020reliable, strategies for reopening public buildings d2020restart, hypothetical effective treatments hoertel2020facing, and a spatio-temporal strategy for vaccination grauer2020strategic.
Few works in the literature used agent-based models to simulate the economic impacts of the COVID-19. For instance, inoue2020propagation quantified that a possible one month lockdown in Tokyo would lead to a total production loss of 5.3% in Japanese annual gross domestic product (GDP). dignum2020analysing proposed a tool to analyze the health, social, and economic impacts of the pandemic when the government implements a number of interventions, such as closing schools, requiring that employees work at home, and providing subsidy for the population.
In this work, we use a SEIR agent-based model to simulate the health and economic impacts of the COVID-19 epidemic. We perform analysis to seven possible scenarios: (1) do nothing, (2) lockdown, (3) conditional lockdown, (4) vertical isolation, (5) partial isolation, (6) use of face masks, and (7) use of face masks together with 50% of social isolation. We use data from Brazil for all scenarios considered but the proposed agent-based model is fully parameterized and can be easily transferred to other contexts given data is provided.
The proposed agent-based approach aims to emulate a closed society living on a shared finite environment, composed of humans, which are organized in families, business and government, which interact with each other. This characterization is trying to cover the main elements of the society. The agents, their attributes and possible actions are described in Table 1.
|Description||is the main type of agent. Its dynamic position varies according to the environment and may be associated with , or not (homeless) and , or not (unemployed).|
|Attributes||Position (dynamic), Age, House (), Employer (), Epidemiological status, Infection status, Wealth, Income and Social Stratum|
|Actions||Walk freely (daily), Go home (daily), Go to work (daily), Personal contact (hourly), Business contact (hourly), Go to the hospital|
|Description||represent the families. They share a house and financial bills.|
|Attributes||Position (static), Social stratum, Housemates (group of ), Wealth, Incomes and Expenses|
|Actions||Homemate check-in (daily), Accounting (monthly)|
|Description||are the economical agents, e.g. industries, shops or markets. It interacts with by paying a salary or selling a product.|
|Attributes||Position (static), Social stratum, Employees (group of ), Wealth, Incomes and Expenses|
|Actions||Accounting (monthly), Business contact (hourly)|
|Description||is a singleton agent that receives taxes from and , provide funds to and insurance for homeless and unemployed .|
|Attributes||Position (static), Wealth|
|A5: Healthcare System|
|Description||is also a singleton, which represents the health system that ideally should be able to serve the entire population.|
|Attributes||Position (static), Wealth|
The model is an iterative procedure, with representing the number of iterations. The model takes an input parameter set , listed in Table 2, and produces a response (observable variables) , related to epidemiological or economic effects of the epidemic. Its internal state () consists of the union of the internal states of the agents , where and is the number of agents, such that .
|Variable||Domain/ Unit||Current value||References and Observations|
|Social and Demographic|
|- Height||Defined by the authors.|
|- Width||Defined by the authors.|
|- Population size||/people||Defined by the authors. Population density =|
|- Average family size||/people||IBGE_MoradoresDomicilios|
|- Mobility||Defined by the authors.|
|- Homeless rate||IPEA_Homeless|
|- Contagion distance||ImperialCollege_Contagiondistance|
- Contagion probability
|- Incubation time||/days||lima2020_tempoincubacao; li2020_tempoincubacao|
|- Transmission time||/days||lauer2020_incubation_transmissao|
|- Recovering time||/days||Portal_TheConversation|
|- Hospitalization rate per age||Table 6||ImperialCollege_Contagiondistance|
|- Severe cases rate per age||Table 6||ImperialCollege_Contagiondistance|
|- Death rate per age||Table 6||ImperialCollege_Contagiondistance|
|- % initial infected|
|- % initial immune|
|- Critical limit of the Health System||The proportion of ICU beds to the population|
|- Income distribution||Table 4||Portal_IndexMundi; WorldBank|
|- Proportion of businesses||0,01875||Considering the number of businesses per 100k inhabitants IBGE_demografiaEmpresas|
|- Total GDP||/R$|
|- Public GPD rate|
|- Business GPD rate|
|- Personal GPD|
|- Minimum income||/R$|
|- Minimum expenses||/R$|
|- Unemployment rate||EXAME_desemprego|
|- Proportion of informal businesses||Informal economy EXAME_desemprego; Sebrae_cnpjInformal|
|- EAP age group|
The model is described in Algorithm 1. The initialization of internal states in line 2, discussed in subsection 3.1, creates the agents. The simulation dynamics starts in line 3, discussed in subsection 3.2, and depends on the type of the agents, the parameter and the current iteration (discrete time). As mentioned before, each type of agent has its own set of actions in different time frames (hourly, daily, weekly or monthly).
At each iteration, it checks if there was contact among the agents. A contact happens when the distance between any two agents is less than or equal to a threshold defined in . The contact can be epidemiological (if the agents are of type A1) or economical (A1 and A3). The computation of the distance between each pair of agents per iteration makes the asymptotic complexity of the method equal to , where is the number of agents.
|Percentage of Susceptible agents in population|
|Percentage of Infected agents in population|
|Percentage of Infected Asymptomatic agents in population|
|Percentage of Infected Hospitalized agents in population|
|Percentage of Infected Severe agents in population|
|Percentage of Recovered and Immune agents in population|
|Percentage of Dead agents in population|
|Percentage of Gross Domestic Product owned by the people (A1 agents) at time under scenario|
|Percentage of Gross Domestic Product owned by businesses (A3 agents) at time under scenario|
|Percentage of Gross Domestic Product owned by government (A4 agent) at time under scenario|
The simulation is performed in a squared bi-dimensional environment shared by all types of agents. agents, , are randomly initialized inside this environment given by Equation (1).
is a sample from a uniform distribution in the interval.
The number of agents is controlled by the variable population size . It is calculated using Equation (3) considering the average family size :
The number of agents is calculated according to Equation (4), considering the population size , the proportion of formal and informal businesses, and , respectively.
When a person, type, is created, it is assigned to a randomly chosen house, type , or it is considered homeless according to the Homeless Rate, . defines the probability of an to be unemployed. If a person is employed and belongs to Economical Active Population (EAP) (controlled by ) an employer is randomly chosen among the available s. A single instance of and agents are created.
The age distribution of agents is given by parameter, such as as explained in HowdenMeyer2010, where
is the beta distribution with shape parameters.
The social stratum of and is represented by the income distribution , listed in the Table 4, meaning the slice of the wealth represented by the GDP parameter . The social stratum of agents is sampled such that , for . The total wealth of the simulation, represented by , is shared among agents, according to public, business and personal percentages defined by , and .
After the creation of all agents the simulation model starts its iteration loop, which represents the time dynamics, explained in the next section.
Each iteration represents one hour where the agents are invoked to perform actions that depend on their type and behaviors, as shown in Figure 1 for agents, and more detailed in subsection 3.2.1. During its movement, an agent may get in the proximity with other , or agents. Subsection 3.2.2 presents the possibility of contagion that can happen through contact between two agents. Finally, subsection 3.2.3 presents the economical relationships between agents, caused by contact of and agents (commercial transactions), payment of taxes for the government ( agent), labor relationships between and agents and house expenses between and agents.
The distribution of agents’ work, rest and leisure hours is shown in Table 5 and it is based on the Universal Declaration of Human Rights ohchr
. Basically, it is the standard deviation of a Gaussian distribution with average, representing the variability of the movement amplitude of in its free time or, in other words, how far the agent can walk from its actual position.
|Start Time||End Time||Activity||Action|
|12||14||Lunch||Walk Freely (Equation (7))|
|18||0||Recreation||Walk freely (Equation (7))|
The actions “Go home”, “Go to work” and “Walk freely” occur according to the Equations (5), (6) and (7). Besides these ordinary actions, all the agents that are infected and have infection severity equal to hospitalization or severe execute the “Go to hospital” action, according to the Equation (8). All the dead agents and have their positions set to zero.
is the random noise variance for “Go to…” actions, and the mobility parameteris the random noise variance for “Walk freely” action, representing the amplitude of movement the A1 agents have in their free time.
COVID-19 is a highly contagious disease. According to the Report 3 of the Imperial College London “on average, each case infected 2.6 (uncertainty range: 1.5–3.5) other people up to 18th January 2020” imai2020report. Following the SEIR model, in each simulation, there is an initial percentage of infected and immune people ( and , respectively), and the remaining population consists of susceptible individuals. There is also a Death status, since part of the population dies due to the disease and its complications giordano2020Italy.
The possibility of contagion happens by the interaction of the agents by proximity or contact. Hence, the higher the mobility of a person, the greater the probability that he/she approaches an infected person and gets infected. Each simulation considers a contagion distance threshold , which is the minimal distance that two agents have to be to occur the viral transmission, and a probability of contagion in case of contact.
The model of the medical condition evolution of the infected agents follows verity2020estimates; dorigatti2020report. Once an agent is infected, it can be in one of these sub-states: a) asymptomatic, which includes mild symptoms without hospitalization, b) hospitalization and c) severe, used in cases of hospitalization in intensive care unit (ICU). These states and their transitions are illustrated in Figure 2.
The evolution of the medical condition is stochastic and follows the probabilities summarized in Table 6, represented by the parameters , and , respectively. The hospitalization cases require medical infrastructure, which is limited. It varies from country to country, but is always less than the total population. In each simulation, a critical limit is considered, it represents the percentage of the population that the healthcare system is capable to handle simultaneously. As a consequence, if the number of hospitalizations and severe cases increase above this limit, there are no beds in hospitals to manage the demand.
|0 - 9||0.100||5.000||0.002|
|10 - 19||0.300||5.000||0.006|
|20 - 29||1.200||5.000||0.030|
|30 - 39||3.200||5.000||0.080|
|40 - 49||4.900||6.300||0.150|
|50 - 59||10.200||12.200||0.600|
|60 - 69||16.600||27.400||2.200|
|70 - 79||24.300||43.200||5.100|
The secondary goal of this study is to simulate the impact caused in the economy by the different types of mobility restrictions singh2020age; meidan2020alternating; warren2020mobility; engle2020staying imposed by the authorities.
Figure 3 shows the transactions by which agents exchange wealth in the simulation. The economic dynamics follows seasonal routines that also depends on the type of the agent.
The “business contact” action happens hourly, when an A1 agent in its free time gets in contact with an A3, and occurs the transference of wealth from A1 to A3. These economic transactions are the most sensitive to the A1 agents mobility (the more the agents move, the more they spend) and affects the A3 agent income. In pandemic times, that can happen in almost all scenarios, since the population tends to leave their houses just to buy essential items or to solve a problem which could not have been solved over the Internet. The values exchanged in “business contact” depends on the social stratum of the A1 agents, and the higher the quintile the higher the spending following the wealth distribution . In each day, the wealth of A2 and A3 agents is decreased by its minimal fixed expenses, proportional to the sum of the expenses of housemates and employees, respectively.
The “accounting” actions happen monthly for A2, A3 and A4 agents. Accounting is the payment of taxes from A2 and A3 agents to A4, and it represents the major income of A4. During accounting, A3 agents also pay salaries to their A1 employees determined in the initialization by the social stratum. Finally, A2 agents transfer money to a random A3 agent, representing supplier payments.
The accounting of the government agent, A4, transfers funds to A5 agent, equivalent to its fixed expenses and the daily expenses of the hospitalized agents. Eventually, the A4 agent pays aids for unemployed and homeless A1 agents.
Considering the periodicity of the economic transactions, it is necessary to execute at least one complete month (720 iterations) in order to execute all economic transactions at least once.
To evaluate the proposed approach, seven different scenarios that reflect adopted and/or hypothetical social distancing interventions have been formulated. The proposed ABS model was implemented in Python version 3.6 programming language and encapsulated in the COVID_ABS package, whose source code is available at https://bit.ly/covid_abs_experiments and https://bit.ly/COVID19_ABSsystem.
Each scenario simulates the impact of a given social distancing policy, given the values of the parameters in Table 2, on the response variables, summarized in Table 3. For each scenario 35 executions were performed, each one with iterations. Since each iteration corresponds to one hour, each execution covers exactly months and one complete accounting cycles for houses, government and business, with one salary and tax payment, which occur in the 30th day of the month. The monthly “accounting” event is important for , and agents due to its severe cash impact and wealth transfers among agents.
The main objective of social interventions is to minimize the death curve . This objective is directly related to flattening the infection curve , in order to keep the hospitalization and severe cases below the critical limit of the healthcare system . Flattening the curve means minimizing the infection peak , defined in Equation (9), and extending the time spent to reach this peak, defined in Equation (10).
To compare the scenarios, the response variables , will be considered, condensed in the metrics and .
The economical analysis aims to assess the evolution of wealth, represented by the response variables. To allow the economic comparison among scenarios with respect to the same reference, a baseline scenario, , without a pandemic was designed. It is meant to isolate the economic dynamic and can be used to assess the impacts of the different interventions in the economy.
For comparison among scenarios, the increase in wealth, , for the group of agents, , in scenario is computed as follows:
where is the wealth of the group of agents, , at the final simulation time step, , of .
In the following section, the scenarios are defined, their simulation results are presented and compared, and the main findings discussed.
This section shows the results for seven scenarios, chosen to represent the major interventions adopted or defended by governments. In this study, the parameters are based on data from Brazil. Nevertheless, in order to encourage further studies and/or applications, it is possible to easily transfer the model to other societies by changing the social, demographic and economical parameters and creating a multitude of other scenarios adapted to the new regions.
The meaning of each scenario, its parameters and dynamics of the response variables are discussed below.
This scenario simulates the economic behavior without a pandemic. It is used as baseline for comparison with all the other scenarios. To generate this scenario, and .
Despite the economic result of this simulation, it is artificial data and consequently it does not represent the reality of any country. Nonetheless, we argue that it is based on projections before the pandemic outbreak. See, for instance, the references regarding each parameter listed in Table 2.
The evolution of GDP is illustrated in Figure 4. The GDP indicates a recession chart where the population () and government () is losing wealth and the business () are floating at the equilibrium point (when the incomes and expenses are equal). Initially the are profiting but, in the accounting day, the profits are settled by the labor and tax expenses. The baseline scenario is consistent with the economic predictions of stagnation in Brazil.
This scenario represents what could happen if politicians decided not to take any actions to avoid the increase of the number of people infected by the SARS-CoV-2 virus. Usually, this decision only targets the economic point of view. Figure 5 shows the epidemiological and economical average curves of this scenario and their variances. It can be seen that the economic curves look closer to the ones of the baseline, confirming the economic motivation of keeping the environment without interventions.
However, when the contagion curve is considered, it is possible to note how the Healthcare System critical limit was trespassed, pushing the death curve up. The high number of lost lives makes this the most catastrophic scenario, despite its economic resemblance with .
This scenario represents the complete social isolation, following the WHO recommendations, during a well defined date range. In this scenario, all agents are kept in their houses, and the “walk freely” and “go to work” routines are suppressed. Also , reducing the mobility amplitude of all even the homeless, as discussed in Section 3.2.1. The lockdown is unconditional, meaning that from to , all the restrictions are applied.
This scenario is highly conservative in healthcare terms, and the main goal is to save as many lives as possible by minimizing viral spreading. In the impossibility of effective testing, the entire population stays in lockdown for a predefined period of time. Broadly speaking, the infected agents only have contact with their housemates and the (and especially ) stays below the healthcare critical limit , and the deaths , meaning that the healthcare system could handle effectively all cases, using its available resources222Considering the given population size in the simulation..
Considering the economic point of view, see Figure 6, this scenario is the worst for the industry because the agents cannot generate wealth, but keep receiving their labor incomes333In our simulation, people cannot get fired, which means that the onus of keeping them at home is for the company. In practice this may generate unemployment.. does not have income, but keeps paying taxes to and labor expenses to . In this scenario, after two months, the businesses lost 20% of its GDP share, see in Figure 6.
The key point for the success of lockdown policy is staying at home (voluntarily or under laws). Economical countermeasures to its harm can also be adopted by , as tax exemptions and universal income, in order to minimize the wealth losses. In the impossibility of implementing this scenario, another one that considers protective and distance measures should be evaluated.
This scenario imposes the same restrictions on mobility presented in scenario 2, but conditionally. In the system, when the infection curve grows above a certain threshold, , the lockdown restrictions are activated, being released when .
As we can see in Figure 7, the viral spreading represented by the infection curve is controlled, not allowing the explosion of curve. Economically, recession can be observed during the lockdown period, lower than , but as soon as the restrictions are released the business performance is recovered. remains below but above the the complete lockdown curve .
Less conservative than scenario 2 (and also less efficient in terms of ), this scenario were implemented in New Zealand Cousins2020, and it depends on an effective healthcare system that is capable of carrying out the necessary tests in the population, granting reliability in estimates and, as in scenario 2, the governmental ability to enforce the social isolation.
Vertical isolation is the name given to the social intervention policy where the known infected people and the known risk groups – elderly and people with pre-existent diseases – are kept in social isolation, whereas young people and adults are allowed to work regularly. This policy has, for instance, been advocated by the Brazilian president444See https://agenciabrasil.ebc.com.br/en/politica/noticia/2020-04/bolsonaro-brazil-must-not-be-informed-through-panic - Acessed: June 03, 2020, and https://www.bbc.com/814portuguese/internacional-52043112 - Acessed: June 03, 2020.
In terms of the proposed model, over , below years old and symptomatic regardless of the age stay at home.
The assumption of this policy is that all the people outside the risk groups would not develop the severe cases of the disease. This assumption was proved to be fragile and this policy showed to be ineffective by duczmal2020_distanciamentovertical. The results shown in Figure 8 are in accordance with the literature duczmal2020_distanciamentovertical and produced almost the same epidemiological and economical results of Scenario 1, i.e., the same results of doing nothing.
In the scenarios with lockdown (2 and 3), the mobility of all agents must be restricted, requiring restrictive public policies enforced by the government. When these policies are non-existent or are not taken seriously by the entire population, partial isolation levels are reached. The partial isolation level means the percentage of the population that is fulfilling the isolation, while the remaining is not.
Then, it is possible to define that in the lockdown , considering that essential services and a few industries can not stop in order to avoid supply breakdown. On the other hand, the scenarios 0 and 1 have , and the scenario 4 has , because of the age distribution and the definition of risk groups.
This scenario aims to assess the effects of intermediate s. It was simulated by randomly choosing agents with probability to stay at home.
Observing the results in Figure 9, although the curve is flattened when compared with scenarios and 4, it is still less efficient than scenarios 2 and 3. Notice the still grows exponentially before reaching the peak. For the economic perspective, this scenario behaves similarly to the baseline. These metrics offer evidence that is not enough for effective epidemiological control, and a level of isolation greater than that is recommended.
Evidence, presented in chu2020physical, was found about the use of masks and gloves as measures against viral spreading. This scenario represents the policy of mandatory usage of face masks and social distancing, but without social isolation.
This scenario was implemented by reducing the contagion distance and the contagion rate as the effect of using masks and social distancing. Figure 10 shows a flatter curve when compared to scenario 5 while still keeping economic performance close to . Notice, however, that is significantly higher when compared with scenarios 2 and 3.
This scenario combines the policies used in the scenarios 5 and 6, granting the necessary use of face masks plus partial isolation of the population. This scenario was implemented by using , and .
Figure 11 shows the dynamics of this scenario. Although the is still above the values of scenarios 2 and 3, it presents less resistance from the general population. The is flattened, and the economy, despite the downturn, suffers less than it would in scenarios with lockdown. This scenario has already been discussed in chu2020physical with similar results.
The curves of each scenario are shown in Figure 12. There, the effects of each intervention policy in flattening the curve can be observed. The epidemiological effectiveness of the scenarios are shown in Figure 13, which compares the infection peak reached in each case, the number of days to reach the peak and the max number of deaths (as a proportion of the population).
As expected, scenarios 2 and 3 have the best epidemiological values followed by scenario 7.
Figure 14 shows the economic result of each scenario for the agent types , and . Assuming that businesses are not firing anyone, from the point of view of the citizen, scenarios 2 and 3 are not economically damaging. On the other hand, the same scenarios are the worst from the business perspective. At this point, it is important to explain that the expenses of government in our simulation are related with the costs of the healthcare system. Thus, in scenarios with a high number of deaths, such as scenarios 1 and 4, the cost of maintaining the healthcare system is increased which demands an increase of public expenses.
Figure 15 shows the scatter plots of the wealth increase (with respect to the baseline) of each type o agent by the percentage of deaths in the populations. It can be seen that, from a life preservation perspective, there is no better policy than the lockdown (scenario 2). Furthermore, in the simulated model, scenario 2 dominates all the scenarios for both people an government. On the other hands, it represents the worst case, financially, for businesses.
In the impossibility of enforcing a lockdown (discarding scenarios 2 and 3) which may happen in underdeveloped countries, the best solution is represented by scenario 7. From the remaining pareto optimal solutions for businesses, it is the one with lowest number of deaths. It also becomes the best solution for government and people in both wealth and number of deaths.
The COVID-19 pandemic brought to humankind many challenges, including the demand for new medical treatments, social policies and economical approaches. The fast response of the scientific community to deal with coronavirus was divided into studies of the epidemiological aspects, proposals of new treatments and diagnostic tools and new models to forecast the viral spreading, including SIR and SEIR models among others. Nonetheless, few studies focused on looking at the pandemics as a governmental policy-making problem. With this viewpoint, although the epidemiological aspects are priority, the social and economical aspects can not be neglected.
The present work proposed an Agent-Based Model (ABM) that simulates the epidemiological and economical effects of COVID-19 pandemic in a closed society, whose results can be generalized for wider contexts and used by governmental rulers to prospect social policies and assess its potential effectiveness in real scenarios.
The model was encapsulated in the free and open source software library COVID-ABS, which contains 29 epidemiological, social, demographic and economic input parameters, and 10 output response variables. New features can be designed and the library can be easily extended to other scenarios.
In a wider perspective, the proposed approach can be used as a decision-support system for the governments and scientific community. Policy-makers can design scenarios and evaluate the effectiveness of social interventions through different simulations, and analyse how the parameters, in the time horizon of , can affect the response variables .
Seven different scenarios were elaborated to reflect specific social interventions. Lockdown and conditional lockdown were the best evaluated scenarios in preserving lives. These scenarios present a slower evolution of the epidemic, a smaller number of infections and deaths. Given the impossibility of implementing lockdown policies, the scenario with 50% of social isolation with using masks and social distancing is the best approach in the preservation of lives. On the other hand, the vertical isolation scenario, is totally ineffective and resembles the ”Do nothing” scenario.
The results showed that COVID-ABS approach was capable to effectively simulate social intervention scenarios feasible with the results presented in the literature.
Also, the results showed that policies adopted by some countries, for instance US, Sweden and Brazil, are ineffective when the objective is to preserve lives. Governments that chose to preserve the economy by not using severe isolation policies, fatally reached a situation with a high cost in human lives, and still embittered economic losses. The evidence provided by the simulation model shows that there is a false dichotomy between healthcare and the economy. In the scenarios where it was tried to save the economy by not taking hard social isolation policies, consequently, the social costs ended up impacting negatively into the economy.
COVID-ABS is an open software and can be easily extended and customized. Also, new scenarios can be designed, taking into consideration the specificities of each region under study. Future research aims to improve the model by implementing mechanisms to close and open companies as well as allowing people to get fired. In addition, it will be integrated with optimization libraries, for automatic scenario creation, and multi-criteria decision making tools that could help governmental crisis committees to plan and manage the social policies to mitigate the COVID-19 effects.
Petrônio Silva, Paulo Batista and Helder Seixas would like to thank the financial support given by the Instituto Federal do Norte de Minas Gerais, Brazil.
Marcos A. Alves declares that this work has been supported by the Brazilian agency CAPES.
Frederico Gadelha Guimarães would like to thank the support given by the Brazilian Agencies CNPq (grant no. 306850/2016-8) and FAPEMIG.