key: cord-0763537-pru50ov7 authors: Li, Xinyu; Cai, Yufeng; Ding, Yinghe; Li, Jia-Da; Huang, Guoqing; Liang, Ye; Xu, Linyong title: Discrete simulation analysis of COVID-19 and prediction of isolation bed numbers date: 2021-06-23 journal: PeerJ DOI: 10.7717/peerj.11629 sha: 8de19519bca96bdec4e7a1573d2b19604965b1d9 doc_id: 763537 cord_uid: pru50ov7 BACKGROUND: The outbreak of COVID-19 has been defined by the World Health Organization as a pandemic, and containment depends on traditional public health measures. However, the explosive growth of the number of infected cases in a short period of time has caused tremendous pressure on medical systems. Adequate isolation facilities are essential to control outbreaks, so this study aims to quickly estimate the demand and number of isolation beds. METHODS: We established a discrete simulation model for epidemiology. By adjusting or fitting necessary epidemic parameters, the effects of the following indicators on the development of the epidemic and the occupation of medical resources were explained: (1) incubation period, (2) response speed and detection capacity of the hospital, (3) disease healing time, and (4) population mobility. Finally, a method for predicting the number of isolation beds was summarized through multiple linear regression. This is a city level model that simulates the epidemic situation from the perspective of population mobility. RESULTS: Through simulation, we show that the incubation period, response speed and detection capacity of the hospital, disease healing time, degree of population mobility, and infectivity of cured patients have different effects on the infectivity, scale, and duration of the epidemic. Among them, (1) incubation period, (2) response speed and detection capacity of the hospital, (3) disease healing time, and (4) population mobility have a significant impact on the demand and number of isolation beds (P <0.05), which agrees with the following regression equation: N = P × (−0.273 + 0.009I + 0.234M + 0.012T1 + 0.015T2) × (1 + V). INTRODUCTION SARS-CoV-2 is a novel coronavirus that has the ability of human-to-human transmission (Lu et al., 2020; . Coronavirus disease 2019 caused by SARS-CoV-2 has been defined by the World Health Organization (WHO, 2020a) as a pandemic (the worldwide spread of a new disease) (WHO, 2020a). As of April 5, 2020, more than 1,100,000 cases of COVID-19 have been reported in different countries and territories (WHO, 2020b) . Researchers around the world are making every effort to clarify the prevention and control strategy of SARS-CoV-2 (Chen et al. 2020b; Hoffmann et al., 2020; Liang et al., 2020) . COVID-19 is extremely contagious, and its explosive growth in a short space of time has caused tremendous pressure on medical resources (Bai et al., 2018) . Conventional medical conditions have difficulty meeting the needs of the detection capability for suspected cases and the number of isolation beds for treatment and isolation (Khan et al., 2020; Remuzzi & Remuzzi, 2020; Spina et al., 2020) . The number of isolation beds is crucial to reduce the scale of infection and reduce the number of fatalities. Too few isolation beds can lead to the continuation of the epidemic, and too many isolation beds may cause waste and environmental damage (Bedford et al., 2020; Martinez-Alvarez et al., 2020; Shah et al., 2020) . To explore a number of isolation beds, we established a discrete simulation model of epidemics based on COVID-19. By setting several different epidemic indicators we analyzed the changing laws of the epidemic situation, peak value, and scale of the epidemic in different situations. In particular, we pay attention to the occupation of medical resources during the outbreak. We summarized some epidemic indicators related to the number of isolation beds through multiple linear regression and estimated the number of isolation beds through these indicators. The conclusion is practical, which can provide support for the scheduling of medical resources and the search for effective solutions in the current outbreak or in similar future outbreaks. Normal: the health status of the citizens in the city simulation model. Shadow: too close to patients who have not been isolated, may be infected, and contagious. Supershadow: different from the general incubation period, it has a longer incubation period and is infectious. Suspected: refers to the suspected state after the incubation period and is infectious. Confirmed: refers to the state of being diagnosed with the disease after the hospital's response time. The state has changed from a state of suspected disease and is infectious. Isolated: refers to the isolated state of being injected into the hospital after the diagnosis, and the bed needs to be occupied. Cured: refers to the cured state after being diagnosed and can be transferred out of the hospital to vacate the bed. Dead: refers to the death state of a person who died of illness during the epidemic and no longer has the intention of mobility. Population mobility rate: the percentage of the population that has willingness to move. Healing time: the mean time between being in isolation and being discharged. Incubation period: the time from infection to self-detection of suspected symptoms. Fatality rate: the probability of death after diagnosis. Dead time: mean time from diagnosis to death. Hospital response time: the time from the patient's suspected symptoms to a definitive diagnosis. Transmission rate: the probability of being infected by contact with an infected person within an unsafe distance. In this discrete simulation model, we use the Java language to carry out object-oriented programming. The eight states of people were defined as normal, shadow, supershadow, suspected, confirmed, isolated, cured, and dead. At the same time, for the times of being infected, suspected, confirmed, isolated, cured, and died were independent attributes configured to simulate the process with the actual world process, so the program can produce all attributes, including each moment, and record, analyze and calculate the statistics for each simulation individual. In the model, the length of the incubation period, the time from being a suspected case to being diagnosed, the length of isolation, the rate of population mobility, the probability of infection, and the probability of death after infection can be adjusted or fitted as the necessary parameters for simulation. Most of the time, the parameters follow the normal distribution model, and the mean and standard deviation are defined by the parameters. The probability follows the random number model. In each specific model, the simulation value of the random number model will be given in details. The simulation object state transition logic is shown in Fig. 1 . a. During the simulation process, the total population of the city is constant, and the number of initial cases is known. b. The incubation period (shadow time), time of death (died time) and time of cure (cured time) of an individual were in accordance with the normal distribution. c. There is a fixed response time interval between the onset of patient symptoms and the moment of hospital diagnosis. The hospital always has enough resources to make a diagnosis when the response time is reached. d. When exposed to an infected person within a dangerous distance, the probability of infection and death after infection is constant. e. After being cured, the hospital will discharge the patient and be released from isolation at once. f. Unless otherwise specified, these characteristics do not change over time during disease transmission. g. The simulation model ends when all patients have been discharged. h. The patient can not be contagious or infected again after being cured. Figure 1 Logical flowchart of the simulation object status transition. The eight states of people were defined as normal, shadow, supershadow, suspected, confirmed, isolated, cured, and dead. The times of being infected, suspected, confirmed, isolated, cured, and died were independent attributes configured. The length of the incubation period, the time from being a suspected case to being diagnosed, the length of isolation, the rate of population mobility, the probability of infection, and the probability of death after infection can be adjusted or fitted as the necessary parameters for simulation. In order to prevent deviations in the simulation process, each set of parameters was repeated 10 times. After removing outliers, the mean was used to draw the curve and analysis. This model is used to discuss the influence of the disease incubation period on epidemic infection and medical resource occupation. In this model, we make the assumption that the hospital's isolation capacity is strong enough to admit all patients. To achieve a single variable, we assign the following parameters: the total population = 5,000, number of initially infected persons = 20, population mobility rate = 1, healing time = 15 days (standard deviation = 2 days), hospital response time = 1 day, fatality rate = 0.05, and dead time = 10 days (standard deviation = 5 days) remained the same during the simulation. The experimental groups were as follows: the mean incubation period was set at 3, 7, 10, 14 and 21 days. This model is used to discuss the impact of the hospital response time on epidemic infection and medical resource occupation. In this model, the hospital's isolation capacity is strong enough to admit all patients. To achieve a single variable, we assign the following parameters: the total population = 5,000, number of initially infected persons=20, incubation period = 7 days (standard deviation = 5 days), population mobility rate = 1, healing time = 15 days (standard deviation = 2 days), fatality rate = 0.05, and dead time = 10 days (standard deviation = 5 days) remained the same during the simulation. The experimental groups were as follows: the hospital response time was set at 1, 3, 5, 7 and 10 days. This model is used to discuss the influence of the hospital healing time on the epidemic infection and medical resource occupation. In this model, the hospital's isolation capacity is strong enough to admit all patients. To achieve a single variable, we assign the following parameters: the total population = 5,000, number of initially infected persons = 20, incubation period = 7 days (standard deviation = 5 days), population mobility rate = 1, hospital response time = 1 day, fatality rate = 0.05, and dead time = 10 days (standard deviation = 5 days) remained the same during the simulation. The experimental groups were as follows: the hospital healing time was set at 5, 7, 10, 15 and 20 days Impact of the population mobility on the epidemic development This model was used to discuss the influence of the population mobility on the epidemic infection and medical resource occupation. In this model, the hospital's isolation capacity is strong enough to admit all patients. To achieve a single variable, we assign the following parameters: the total population = 5,000, number of initially infected persons = 20, incubation period = 7 days (standard deviation = 5 days), hospital response time = 1 day, healing time = 15 days (standard deviation = 2 days), fatality rate = 0.05, and dead time = 10 days (standard deviation = 5 days) remained the same during the simulation. The experimental groups were as follows: the population flow rate was set to 0, 30%, 50%, 80% and 100%. This model was used to discuss the influence of the hospital isolation capacity on the epidemic infection. To achieve a single variable, we assign the following parameters: the total population = 5,000, number of initially infected persons = 20, incubation period = 7 days (standard deviation = 5 days), population mobility rate = 1, hospital response time = 1 day, healing time = 15 days (standard deviation = 2 days), fatality rate = 0.05, and dead time = 10 days (standard deviation = 5 days) remained the same during the simulation. The experimental groups were as follows: the hospital isolation capacity was set to 40%, 60%, 80% and 100%. Multilinear regression (MLR) analysis was used to evaluate the impact of the simulation parameters on the dependent variable demand for the number of isolation beds. Meanwhile, the prediction method was applied to an example under different healing times to test the accuracy. Continuous variables are compared using the average. Using SPSS v26.0 (IBM authorized Central South University to use) for data analysis, analysis of variance (ANOVA) was used to analyze the level of significant difference between the groups. When the variance is homogeneous, the least significant difference (LSD) method and multiple comparisons are used to analyze between any two groups; when the variance is not homogeneous, Tamhane's T2 tests and the multiple comparison are used to compare the mean between any two groups. The Grubbs method was used to address outliers. For all statistical analyses, the test level was a = 0.05. R is used to represent the goodness of fit of the multiple regression to measure the fitting degree of the estimated model to the observed values. The table of regression analysis lists the results of the significance test of independent variables (using t-test) and the P value of t-test, indicating whether independent variables have a significant influence on dependent variables. The incubation period is an asymptomatic stage in the early stages of disease development, at which point patients themselves will not suspect that they have been infected. We compared the infection situation of different incubation periods. ANOVA showed that the mean values of all indicators among groups were not exactly the same (P < 0.05). The detailed differences among groups are shown in Table 1 . Further analysis was performed using multiple comparisons. The maximum number of incubation cases, the sum of infected cases and the corresponding date for the peak number of inpatients were significantly different between any two groups (P < 0.05). The long incubation period promoted these epidemic indicators. We use the Basic Reproduction Number (R0) to describe the rate of infection of an epidemic. This value can reflect the possibility and severity of an infectious disease outbreak. Basic Reproduction Number (R0) refers to the number of people who can be infected by an average patient in an environment with all susceptible people without intervention. For common epidemics, R0 will be bigger than one. In addition, Effective Reproduction Number (Rt) represents the average number of patients that can be infected at a certain moment in the process of disease transmission and development, with the addition of prevention and control interventions, such as isolation of patients in shelters, isolation of individuals at home, and wearing masks. The maximum number of newly confirmed cases and their corresponding dates, corresponding date of peak incubation cases, maximum value of Rt, duration of the epidemic, and maximum number of inpatients were not exactly equal among the groups in different incubation periods, and there were significant differences among some groups (P < 0.05). The above indicators increased with the increase in the incubation period (Fig. 2) . In the simulation model, hospital response time refers to the time it takes for a patient to develop a first symptom until a clear diagnosis is obtained. This time is extended if the patient is unwilling to go to the hospital to undergo detection testing, if the hospital detection method fails to diagnose the disease early, or if there are insufficient hospital detection reagents. Notes: a There is a significant difference compared with group 1 (p < 0.05). b There is a significant difference compared with group 2 (p < 0.05). c There is a significant difference compared with group 3 (p < 0.05). d There is a significant difference compared with group 4 (p < 0.05). e There is a significant difference compared with group 5 (p < 0.05). ANOVA showed that there were no significant differences in the corresponding date of the maximum number of incubation cases among different response time groups (P > 0.05), and the mean of the other indicators among the groups was not exactly equal (P < 0.05). The detailed differences among the groups are shown in Table 2 . The multiple comparisons showed that the sum of infected cases between any two groups was significantly different (P < 0.05). The sum of the infected cases increased with the extension of response time. The maximum number of newly confirmed cases and its corresponding date, the maximum number of incubation cases, the maximum of Rt, the Notes: a There is a significant difference compared with group 1 (p < 0.05). b There is a significant difference compared with group 2 (p < 0.05). c There is a significant difference compared with group 3 (p < 0.05). d There is a significant difference compared with group 4 (p < 0.05). e There is a significant difference compared with group 5 (p < 0.05). duration of the epidemic, the maximum number of inpatients and its corresponding date were not exactly equal among the groups at different response times, and there were significant differences among some groups (P < 0.05). The above indicators increased with the extension of the response time (Fig. 3) . The healing time refers to the average time from admission to discharge. ANOVA showed that the mean values of the maximum value of Rt, the maximum number of inpatients and their corresponding dates among different healing time groups were not exactly the same (P < 0.05), and the other indicators were not considered to be significantly different (P > 0.05). The detailed differences among the groups are shown in Table 3 . Further multiple comparisons showed that the maximum number of inpatients between any two groups was significantly different (P < 0.05). The maximum number of inpatients increased with the extension of the healing time. The maximum value of Rt and the corresponding date of peak inpatient number were not exactly equal among the groups at different healing times, and there were significant differences among some groups (P < 0.05). The extension of the healing period promoted the increase in the above indicators (Fig. 4) . The population mobility rate refers to the proportion of people in motion to the total population. We compared the infection situation of different population mobility rates. ANOVA showed that there were no significant differences in the maximum value of Rt and the duration of the epidemic among the groups (P > 0.05), and the mean of other indicators among the groups was not exactly equal (P < 0.05). The detailed differences among the groups are shown in Table 4 . Notes: a There is a significant difference compared with group 1 (p < 0.05). b There is a significant difference compared with group 2 (p < 0.05). c There is a significant difference compared with group 3 (p < 0.05). d There is a significant difference compared with group 4 (p < 0.05). e There is a significant difference compared with group 5 (p < 0.05). The multiple comparisons showed that the sum of the infected cases between any two groups was significantly different (P < 0.05). The increase in the population mobility rate caused a higher sum of the infected cases. The maximum number of newly confirmed cases and its corresponding date, the maximum number of incubation cases and its corresponding date, the maximum number of inpatients and their corresponding dates were not exactly equal among the groups in different population mobility rates, and there were significant differences among some groups (P < 0.05). Among them, the maximum number of newly confirmed cases, the maximum number of incubation cases and the maximum number of inpatients increased with the increase in the population activity rate. At the extreme value of 0%, that is, when everyone was inactive, the corresponding date of peak incubation cases and the corresponding date of peak inpatient number were significantly advanced, which was significantly different from that of the other groups (Fig. 5) . The hospital isolation capacity is defined by the proportion of the actual quantity of isolation beds to the demanded quantity for isolation beds. ANOVA showed that there were no significant differences in the maximum number of newly confirmed cases, the maximum number of incubation cases and the maximum value of Rt among different isolation capacity groups (P > 0.05), and the mean of the other indicators among the groups was not exactly equal (P < 0.05). The detailed differences among groups are shown in Table 5 . The multiple comparisons showed that the corresponding dates of the peak number of inpatients and the duration of isolation facilities at their full capacity between any two groups were significantly different (P < 0.05). The corresponding date of the peak inpatient number was delayed with the decrease in isolation capacity. The duration of isolation facilities at their full capacity increased with the lack of isolation beds, which showed a quadratic relationship (Table S1, Fig. S1 ). In addition, the corresponding date of peak newly confirmed cases, the corresponding date of incubation cases, the sum of infected Notes: a There is a significant difference compared with group 1 (p < 0.05). b There is a significant difference compared with group 2 (p < 0.05). c There is a significant difference compared with group 3 (p < 0.05). d There is a significant difference compared with group 4 (p < 0.05). e There is a significant difference compared with group 5 (p < 0.05). cases and the duration of the epidemic were not exactly equal among the groups, and there were significant differences among some groups (P < 0.05). In the severely inadequate isolation capacity group (40%), the corresponding date of incubation cases, the mean value of Rt, the sum of infected cases and the duration of the epidemic were significantly increased (P < 0.05) (Fig. 6) . Notes: a There is a significant difference compared with group 1 (p < 0.05). b There is a significant difference compared with group 2 (p < 0.05). c There is a significant difference compared with group 3 (p < 0.05). d There is a significant difference compared with group 4 (p < 0.05). To further explore the rational setting of isolation beds in the medical system under multifactor epidemic conditions, we analyzed the relationship between different epidemic indicators and a number of isolation beds by multiple regression analysis. The t-test showed that the independent variables of incubation period, population mobility rate, hospital response time and healing time significantly affected the number of isolation beds (P < 0.05) (Table 6 ). Finally, we obtained the following regression equation (R 2 = 0.841): N = P × (−0.273 + 0.009I + 0.234M + 0.012T1 + 0.015T2) × (1 + V) N indicates a number of isolation beds. P represents population, which refers to the total population in the corresponding area. I represents incubation period of the epidemic. M represents population mobility rate, which refers to the proportion of people in motion to the total population. T1 represents hospital response time, which refers to the time it takes for a patient to develop the first symptom until a clear diagnosis is obtained. T2 represents healing time, which refers to the average time from admission to discharge. T1 and T2 can be estimated based on a certain number of cases. Considering that a certain number of isolation beds should be reserved to cope with emergency situations, The data for each curve is the average of 10 simulations. The peak number of cumulative confirmed cases and inpatient cases increased with the decrease in the isolation capacity. In addition, with the decrease in isolation capacity, the corresponding date of the peak inpatient number was delayed and the duration of isolation facilities at their full capacity increased. Isolation capacity had no effect on the newly confirmed cases and the value of Rt. Full-size  DOI: 10.7717/peerj.11629/ fig-6 we set V as the reserve amount. This article suggests that it is generally reserved at 10% according to the simulation results. Here, the prediction method was applied to an example (Fig. 7) . The predicted number of isolation beds were basically consistent with the model operating results. The parameter setting is the same as model 2.3. According to result 1.1, we found that a longer incubation period significantly promoted the infectivity, scale and duration of the epidemic. By tracking this phenomenon, it was found that the patients in the incubation period and without mobility restriction caused a high level of transmission before displaying symptoms by contacting others, which was similar to the views of Jiang, Rayner & Luo (2020) and . To contain an outbreak, early detection of suspected cases is critical (De Salazar et al., 2020) . Some studies have described that a longer incubation period may be beneficial for epidemic control (Kahn et al., 2020) , as this allows the Centers for Disease Control and Prevention (CDC) to have more time to deal with the overall epidemic. This conclusion may be more applicable to some known diseases, but for unknown diseases, we believe that a longer incubation period represents a more dangerous signal, making the development of the epidemic uncontrollable (Kahn et al., 2020; Lauer et al., 2020) . Due to the reduced predictability of the disease outbreak scale, it is more difficult to track patients. As a result, the disease may spread to a wider range of people, making it difficult to control. Our results showed that increasing hospital response speed could improve infectivity and scale of an outbreak, which is consistent with previous research (Chan et al., 2020; Hellewell et al., 2020; Wu, Leung & Leung, 2020) . Shortening the hospital response time depends on the public's awareness of epidemic prevention and the level of medical technology. On the one hand, the public needs to pay more attention to the epidemic and actively cooperate with early detection; on the other hand, medical technology determines the time it takes for the detection method to give an accurate result. In addition, if sufficient isolation facilities can be provided, the centralized isolation of all suspected patients who cannot be excluded can also help reduce the hospital response time (Bai et al., 2018; Chen et al. 2020a) . Compared with the hospital response time, the impact of the population mobility rate on the duration of the epidemic is not significant in the case of abundant medical resources. However, unrestricted population mobility can cause a large medical load and consumption of medical supplies and will generate a large number of infected cases, resulting in adverse socioeconomic impacts Tian et al., 2020; Yang et al., 2020) . In the actual epidemic situation, the amount of medical resources will be less and more scarce than usual. Therefore, it cannot be considered that the population mobility has no effect on the duration of the outbreak. The detailed consequences of inadequate medical resources are discussed in section 3.2. In extreme cases, all people stopped activities, i.e., when the mobility rate is 0%, the overall scale of the epidemic is dramatically reduced, and the corresponding date of the epidemic peak sharply advances. It is speculated that the disease may saturate in a small area after taking this extreme prevention and control measure; thus, the transmission will be completely blocked. Since there is no new-generation infection, different transmission laws are displayed. There is no specific treatment or vaccine for COVID-19 at the time of the conceptualization of the simulation model, containment of the epidemic depends more on traditional public health measures (Wilder-Smith & Freedman, 2020) . The results showed that the low capacity of hospital isolation would lead to serious consequences. This is consistent with previous studies showing that intervention through timely isolation measures is effective in controlling the epidemic (Fraser et al., 2004; Rocklov, Sjodin & Wilder-Smith, 2020) . Even with vaccines, adequate isolation beds are a key factor in controlling the outbreak. In our model, if you need to simulate the possession of a vaccine, you can simply modify the total population. The method is to update this constant to subtract the number of people immunized. In addition, the simulation model showed that the duration of isolation facilities at full capacity showed a quadratic relationship with the gap in the number of isolation facilities. That is, as the gap in the number of isolated beds expands, the growth rate of full-load time gradually accelerates, which may increase the uncontrollability of the epidemic. In our model, the hospital isolation capacity does not affect the ability of to detect the disease and diagnosis patients, so it has no significant effect on the maximum number of newly confirmed cases and their corresponding dates. However, the increase in the duration of isolation facilities at full load shows a more severe overload of the medical system. Thus, under the condition of insufficient isolation capacity, expanding the original size of the hospital or constructing Fangcang shelter hospitals are the key measures to contain outbreaks (Chen et al. 2020a; Khan et al., 2020; Wu & McGoogan, 2020) . We summarized the related factors that affected the demanded quantity of isolation beds by multiple regression analysis. Furthermore, multivariate regression analysis was used to estimate the number of isolation beds: N = P × (−0.273 + 0.009I + 0.234M + 0.012T1 + 0.015T2) × (1 + V) The regression equation shows that the population mobility rate is the variable with the highest weight, which indicates that the restriction of population mobility is the critical factor to contain outbreaks and effectively reduce the load on the medical system (Liao et al., 2020; Ng et al., 2020; Tian et al., 2020; Wu, Leung & Leung, 2020) . We believe that reducing the epidemic scale by restricting population mobility can also help to provide time for the establishment of temporary isolation. In practice, the incubation period (I) can be estimated from the time between traceable harmful exposure to the time of the first symptom (Backer, Klinkenberg & Wallinga, 2020; Lauer et al., 2020) . The population mobility rate (M) can be roughly estimated by the ratio of the population in unrestricted mobility, including medical personnel and administrative personnel, to the total population. (Telionis et al., 2020; Wu, Leung & Leung, 2020) . Hospital response time (T1) and healing time (T2) can be estimated based on a certain number of cases. In addition, we recommend V = 10% as a reserve to address emergency situations under actual conditions. The above indicators are easy to obtain and estimate, which provides a feasible guarantee for using this method to estimate a number of isolation facilities. More importantly, estimating the number of isolation facilities based on the epidemic situation and relevant parameters of the medical system will help to predict the pressure of the medical system in different areas in advance. This will provide decision-making support for the rational arrangement of medical resources and epidemic control. Based on the data we sampled, the simulation model proposed in the manuscript can analyze the common parameters of infectious diseases and the related laws of transmission in the case of a single variable. However, we must admit that this model is still preliminary. As researchers of this issue, we have summarized the advantages and limitations of the study. Advantage: (1) The established simulation program is controlled by computer advanced language software, using multi-threaded parallel operation methods. It can produce results quickly. (2) The simulation program is convenient, and the modification parameters can be subsequently analyzed for different types of epidemic. The output value is a continuous variable, which is good for statistical analysis. (3) Parametric assumptions based on data analysis are established in a virtual environment, which is conducive to early warning of risks. Limitation: (1) This study attempts to put forward a more general model to simulate the process of disease transmission. But in fact, we only tested on part of the COVID-19 data. If the model is removed from this environment, it may produce large errors. (2) In this model, we consider many common parameters, most of which we give suggestions for interpretation and value in the paper. If we want to pursue higher accuracy of the model, we strongly suggest that the model should be verified by the local actual situation in the early stage. The incubation period, response speed detection capacity of the hospital, disease healing time, and degree of population mobility have different effects on the infectivity, scale, duration of the epidemic, and the demand and number of isolation beds. Adequate isolation facilities are essential to control outbreaks. The prediction equation can be easily and quickly applied to estimate the demand number of isolation beds in a COVID-19affected city. This study will provide decision-making support for the rational arrangement of medical resources and epidemic control. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Grant Disclosures The following grant information was disclosed by the authors: National Natural Science Foundation of China Hunan Natural Science Fund-Youth Foundation Project): 2018JJ3850. Hunan Health Commission: B2019192 Hunan Provincial Health Commission: B20180054. Changsha Science and Technology: kq1706072 Incubation period of 2019 novel coronavirus (2019-nCoV) infections among travellers from Wuhan, China Challenges of treating adenovirus infection: application of a deployable rapid-assembly shelter hospital COVID-19: towards controlling of a pandemic Improved molecular diagnosis of COVID-19 by the novel, highly sensitive and specific COVID-19-RdRp/Hel real-time reverse transcription-polymerase chain reaction assay validated in vitro and with clinical specimens Fangcang shelter hospitals: a novel concept for responding to public health emergencies Epidemiological and clinical characteristics of 99 cases of 2019 novel coronavirus pneumonia in Wuhan, China: a descriptive study Identifying locations with possible undetected imported severe acute respiratory syndrome coronavirus 2 cases by using importation predictions Factors that make an infectious disease outbreak controllable Feasibility of controlling COVID-19 outbreaks by isolation of cases and contacts SARS-CoV-2 cell entry depends on ACE2 and TMPRSS2 and is blocked by a clinically proven protease inhibitor Does SARS-CoV-2 has a longer incubation period than SARS and MERS? Incubation periods impact the spatial predictability of cholera and Ebola outbreaks in Sierra Leone Novel coronavirus, poor quarantine, and the risk of pandemic The effect of human mobility and control measures on the COVID-19 epidemic in China The incubation period of coronavirus disease 2019 (COVID-19) from publicly reported confirmed cases: estimation and application Transmission of COVID-19 in the terminal stage of incubation period: a familial cluster A simple prediction model for the development trend of 2019-nCov epidemics based on medical observations The association between internal migration and pulmonary tuberculosis in China Genomic characterisation and epidemiology of 2019 novel coronavirus: implications for virus origins and receptor binding COVID-19 pandemic in west Africa Evaluation of the effectiveness of surveillance and containment measures for the first 100 patients with COVID-19 in Singapore COVID-19 and Italy: what next? COVID-19 outbreak on the Diamond Princess cruise ship: estimating the epidemic potential and effectiveness of public health countermeasures COVID-19: the current situation in Afghanistan The response of Milan's emergency medical system to the COVID-19 outbreak in Italy Methods for rapid mobility estimation to support outbreak response An investigation of transmission control measures during the first 50 days of the COVID-19 epidemic in China Coronavirus disease (COVID-2019) situation reports Isolation, quarantine, social distancing and community containment: pivotal role for old-style public health measures in the novel coronavirus (2019-nCoV) outbreak Nowcasting and forecasting the potential domestic and international spread of the 2019-nCoV outbreak originating in Wuhan, China: a modelling study Characteristics of and important lessons from the coronavirus disease 2019 (COVID-19) outbreak in China: summary of a report of 72314 cases from the Chinese center for disease control and prevention Insight into 2019 novel coronavirus-an updated intrim review and lessons from SARS-CoV and MERS-CoV Spatio-temporal patterns of the 2019-nCoV epidemic at the county level in Hubei Province We thank Bruce Yong for providing a prototype of the program. We referred to his open-source virus broadcast simulation project and used it as the prototype of our simulation design. With Bruce Yong's consent, we redesigned some programs according to the epidemic situation. Thank you to Prof. Zhoushun Zheng, Prof. Canhua Jiang and Prof. Changyun Fang of Central South University for their support for this project. Thank you to the MAIGO mathematical modeling team for their help with this project. This work was supported by the National Natural Science Foundation of China (Grant No. 81901065), the Hunan Province Science, Technology Department (Hunan Natural Science The authors declare that they have no competing interests. Xinyu Li conceived and designed the experiments, performed the experiments, analyzed the data, prepared figures and/or tables, and approved the final draft. Yufeng Cai conceived and designed the experiments, performed the experiments, prepared figures and/or tables, and approved the final draft. Yinghe Ding analyzed the data, prepared figures and/or tables, and approved the final draft. Jia-Da Li analyzed the data, prepared figures and/or tables, and approved the final draft. Guoqing Huang analyzed the data, authored or reviewed drafts of the paper, and approved the final draft. Ye Liang conceived and designed the experiments, performed the experiments, authored or reviewed drafts of the paper, and approved the final draft. Linyong Xu conceived and designed the experiments, authored or reviewed drafts of the paper, and approved the final draft. The following information was supplied regarding data availability:The codes of the current study are available in the GitHub repository, https://github. com/coolleafly/COV_SIM/. The average data generated by 10 simulations for each model are included in the article and the Supplemental Files. Supplemental information for this article can be found online at http://dx.doi.org/10.7717/ peerj.11629#supplemental-information.