key: cord-0909338-s1ekw9pm authors: Sood, Sandeep Kumar; Rawat, Keshav Singh title: A fog assisted intelligent framework based on cyber physical system for safe evacuation in panic situations date: 2021-10-01 journal: Comput Commun DOI: 10.1016/j.comcom.2021.08.022 sha: b0c7383baa4cf1dcb6698ba3905916e4f675e61d doc_id: 909338 cord_uid: s1ekw9pm In the current scenario of the COVID-19 pandemic and worldwide health emergency, one of the major challenges is to identify and predict the panic health of persons. The management of panic health and on-time evacuation prevents COVID-19 infection incidences in educational institutions and public places. Therefore, a system is required to predict the infection and suggests a safe evacuation path to people that control panic scenarios with mortality. In this paper, a fog-assisted cyber physical system is introduced to control panic attacks and COVID-19 infection risk in public places. The proposed model uses the concept of physical and cyber space. The physical space helps in real time data collection and transmission of the alert generation to the stakeholders. Cyberspace consists of two spaces, fog space, and cloud-space. The fog-space facilitates panic health and COVID-19 symptoms determination with alert generation for risk-affected areas. Cloud space monitors and predicts the person’s panic health and symptoms using the SARIMA model. Furthermore, it also identifies risk-prone regions in the affected place using Geographical Population Analysis. The performance evaluation acknowledges the efficiency related to panic health determination and prediction based on the SARIMA with risks mapping accuracy. The proposed system provides an efficient on time evacuation with priority from risk-affected places that protect people from attacks due to panic and infection caused by COVID-19. In the last decade, the world has witnessed several incidences of natural and human disasters, comprising droughts and pandemics. Integration of both and their impacts can be leading to severe economic failure, stress, and malnutrition, mostly in developing countries [1] . These circumstances can be caused by technological accidents, natural hazards, violent intergroup clashes, lack of essential resources, and other main risks to health, life, assets, well-being, and others [2] . The COVID-19 virus is infecting people worldwide, about 3 million patients were infected, and approximately 200 thousand lives have been lost till 28 April 2020 (WHO, 2020) [3] . However, the Pennsylvania Supreme Court included COVID-19 in the natural disaster category [4] and referenced that as the other disaster ''substantial damage to property, hardship, suffering or possible loss of life'', the COVID-19 belong to the ''same general nature or class as those specifically enumerated'', henceforth it is included in the category of natural disaster in the state. Disasters over the years have directed to extensive devastation of physical infrastructure, an immense amount of health issues, a huge amount of human loss including economical damages [5] . As per reports [6, 7] , in the last year, natural and human-made disasters are reasoned for management. Fog computing provides the concept of processing at the network edges with cloud computing features. Fog nodes are capable of computing and storing data with the support of neighboring edge devices [12] . It also helps to reduce the load of clouds and refer to as mini clouds. In the fog layer, fog nodes provide the ability of computation at the edge devices in the network. The processes or tasks that cannot be processed by them are transferred to the cloud space for further processing. The IoT facility provides control and manages smart devices remotely with the application of the internet. CPS uses fog computing and IoT features that integrate various cyber components such as smartphones, wireless sensors, and network devices. CPS has significant applications in various fields such as healthcare, automatic transportation, industry, and so on [12] . Hence, panic wellbeing of the human being in the disaster is decisive for timely evacuation with effectiveness to keep away from any attacks due to panic and infection caused by COVID-19. In the COVID-19 pandemic, the person's panic well being is also affected by witnessing different intense conditions. The proper and effective on-time evacuation of such a person can prevent panic attacks and COVID-19 infection chances. Therefore, in this situation, the higher educational institutions and other public places are monitored in real-time. The data of persons related to their panic health and COVID-19 symptoms are acquired and analyzed for the effective ontime evacuation for the affected person depending on the priority. Here, Information and Communication Technologies (ICT) facilitates the latest technologies and platforms to evaluate and analyze the evacuation process from remote places and take action consequently. On the other hand, different limits confine the concept of successful evacuation such as communication architecture and real-time processing. The communication infrastructure, including IoT sensors, must communicate among the fog nodes for computing and transmission purposes. In such a condition, the partial or entire communication failure among the users and the response team may direct to interruption and response errors. The scenario such as COVID-19 pandemic, where the timely decision is played an important role for evacuation and other applications. The evacuation teams and monitoring system have to observe realtime health data of users and may face difficulties to monitor real time data dynamically that can depreciate the effectiveness of priority evacuation. Furthermore, the evaluation efficiency of the framework depends on the accurate data set of the persons related to panic health and COVID-19 symptoms. In addition, the majority of IoT devices in the physical space function on battery sourced power [13] . Therefore, IoT devices need to be recharged at specific intervals without any failure. The proposed system also has some difficulties and challenges in terms of Internet connectivity, Internet speed, the energy consumption of sensors, limited mobile battery, GPS tracking. The wireless network has a challenging problem related to robustness in failed communication and dynamic environment. In addition, some other constraints are short radio range and interference occurred due to other wireless devices. On-time evacuation is critical in disaster management operations, and it is attracting increasing attention from various authorities throughout the world. On-time and priority-based evacuation of people through risky and infected areas may rescue their lives and reduce the devastating effects of traumatic events on a person's wellbeing [14] . Effective risk evacuation can be achieved through real-time condition consciousness, such as the physical environment, and monitoring persons is essential. It provides an integrated depiction of the risk affected regions to the response team. The development and progression in the technology of sensor devices, wireless communication, and their integration in the IoT have allowed using of smartphones and IoT devices in various fields such as disaster management [15] , higher education [16] , healthcare [17, 18] , transportation [19, 20] , industrial manufacturing [21] , and others. Cloud computing offers higher storage and computation facilities to analyze real-time data acquired from smartphones and IoT devices. Furthermore, the integration of fog and cloud computing facilitates computing on cloud platforms, locationbased computation, and less dependency on the bandwidth of the network. The arrangement is suitable for real time computations, where fog nodes are placed near to the data source and far away from the cloud server. Hence, an efficient and effective on-time and orderly evacuation system can formulate using these technologies with evacuation challenges. In this proposed cyber-physical system, Data is collected by sensors and devices in physical systems and evaluated by computing resources in cyber systems [22] . Physical space and cyber space are used in the proposed system. Using a wireless network of smartphones and behavioral sensors, as well as IoT-assisted sensors, physical space aids in the gathering of data comprising different health-related aspects. It sends notifications to the relevant stakeholders, prompting them to take appropriate action. Cyberspace has data analytics layers that contain fog and cloud space. The fog space uses locally retrieved time-sensitive records from physical space and transmits the processed physical space data to cloud servers in the cyber space for remote computing. The fog space assists in the determination of panic health and the creation of alerts in real time. It consists of two layers: synchronization and panic health and COVID-19 symptoms determination. After processing in the fog space, the data is sent to the cloud space for health severity analysis and risk analysis. Health Severity Analysis (HSA) Layer and Risk Mapping Layer (RML) are two layers available in the cloudspace. The HSA monitors and forecasts the severity of user's health based on the SARIMA model. The RML allows GPA to identify high-risk areas and prioritize evacuations based on the estimated health severity of the individuals. RML also applies evacuation maps to real-world scenarios based on the monitored risk routes. Routes of evacuation are recognized using the knowledge of risk regions and health severity. The knowledge of these evacuation routes in the risk region and the evacuation priority of persons in those risk regions offer the response team to act accordingly and plan on time and evacuation based on preference. The proposed cyber-physical system will have a substantial impact on the healthcare and higher education sectors. It provides: (i) A novel cyber-physical system based architecture for on-time evacuation of people amid panic attacks and the COVID-19 pandemic, (ii) For time-series computational services, the proposed approach employs fog-assisted smartphones and IoT devices, (iii) The most important contribution of this proposed model is the panic health severity analysis based on GPA to recognize the risk regions, (iv) Logistic regression is used to classify persons, and cloud computing is utilized to analyze and transmit alerts. In this section, the related works are discussed and compared based on the following aspects: Fog Computing, Cloud Computing, Internet of Things, Real-Time Monitoring, Prediction Modeling, Evacuation, and Healthcare. Xu et al. [23] contributed to the Relationship-based personalized evacuation approach and presented a system based on Artificial Potential Field and Artificial Potential Field with Relationship Attraction that provide better convergence rate, less evacuation time, and route length. Karthik and Suja [24] presented WSN based geographic map-oriented route discovery to multiple exits and used two approaches, the Markov decision process, and geographic mapbased routing, to discover the shortest route. Bhattacharjee et al. [25] presented their work on crowd sensing-based evacuation maps construction with a smartphone and delay tolerant networks, as well as the suggested method for effectively designing pedestrian maps of risk impacted regions. described the Sensor-based machine learning assumption and compression and assessed the efficacy of this technique on several IoT methods with two communication scenarios, alert and constant warning. The proposed approach utilized the characteristics of cloud, real-time monitoring, strategy based evacuation, and data reduction. Singh and Sood [12] proposed the fog-assisted CPS system in the 5G network for various applications based on IoT. The framework uses an optical fog network to facilitate real-time delivery with low delay and high scalability in the 5G network. Sun and Zhang [26] discussed machine learning techniques for analyze the DR among the patients with the EHR records and introduced few treatment techniques. Sharma and Agarwal [27] presented a COVID-19 predictive control and modeling CPS architecture. The predictive control technique is utilized to forecast COVID-19 infection spread based on time and space constraints. The model uses the UPPAAL tool to verify the model and incorporated the polynomial-regression curve-fitting for predicting hotspots of the coronavirus infection. Ghita et al. [28] elaborated the importance of digitalization against the new outbreak (COVID-19) and discussed the pandemic management phases such as prevention, preparedness, control, and responses using digitalization. The potential solution to encounter COVID-19 through digital twins includes AI solutions for sanitary crises, the digital economy, the smart supply chain transition, smart cities, and smart manufacturing. Ro et al. [29] designed a Cyber Physical Systems based on the SEIR model and created different classes of controllers for epidemiology and can be used to prevent the disease in various countries. Santamaria et al. [30] discussed the cognitive intelligence-based human action using behavioral sensors utilizing IoT, fog, cloud computing, and healthcare applications. Asghari et al. [31] presented the prediction of medical situations for providing timely health services using advanced IoT and cloud computing technologies. Most of the papers based on health care that utilized IoT, fog, and cloud computing have focused on health monitoring, predictions of disease, panic health, and COVID-19 pandemic related problems [32, 33] . The literature review has not come across a smart healthcare system on panic attacks and COVID-19 infection after analyzed studies and assessing the state-of-the-art works. Henceforth, a cyber-physical system is required that focused on panic health problems during disasters. The main contribution of this proposed framework related to the healthcare and education domains are (i) The person's panic health and COVID-19 symptoms were determined using fog computing. (ii) A cloud-based monitoring system of panic health and COVID-19 symptoms of persons, (iii)A cloud-based risk mapping and evacuation of the person using GPA. Table 1 shows the the description of symbols and abbreviations used in this paper. The proposed cyber-physical system for predicting and preventing panic attacks and COVID-19 infection. Fig. 1 depicts the working of the proposed system based on physical space and cyber space. The physical space helps to data acquisition process using different sensors, and the cyberspace facilitates various data analytics. The cyberspace includes two subspaces, fog space and cloud space. Fog space uses fog computing to provide local data analytics that comprises three layers -synchronization layer (SYN), panic health, and COVID-19 symptoms determination layer. In the proposed system, the physical space acquires data from the IoT devices and sensors, fog space process the received data from physical space, and the data is stored in the cloud storage using cloud space. The cloudspace has Health Severity Analysis Layer (HSAL) and Risk Mapping Layer (RML) that analyze health severity and risk mapping by recognizing evacuation maps to real-time situations. Therefore, the evacuation of affected people in those risk areas may be possible using the priority of the person's health parameters. The physical space acquires real time data related to panic health, a personal record, and COVID-19 symptoms. The system collects lots of data in real time from the users by mobiles and sensors using the internet in the physical system, then transfer to cyberspace for different data analytics. Real-time processing is the fastest data processing method that processes data in a shorter period and offers the correct output. It also generates risk alerts to the concerned stakeholders, as shown in Fig. 1 regarding panic and COVID-19 symptoms. Table 2, Table 3 , and Table 4 present the various attributes of personal record, panic health, and COVID-19 symptoms, respectively. The proposed system uses smartphones and IoT devices for acquiring panic health, a personal record, and COVID-19 symptoms, including the GPS location of a person. The health attributes such as ''heart rate'', ''breathlessness'', ''chest pain'', ''nausea'', ''sweating'', ''dizziness'', ''chills'', ''trembling'', and ''choking'' are gathered through mobile, IoT devices and sensors [34] [35] . The smartphones of the persons are used as the sink nodes for collecting Health attributes from the IoT devices and sensors. The GPS sensor on the sink nodes is also used by the wireless network to determine the location of the people. The sink nodes' wifi capabilities allows the wireless network to interact with the IoT network in order to transmit the received Health records to cyberspace [36] . Cyberspace receives data through physical space for different data analytics layers to identify panic health severity and COVID-19 symptoms of the person. It is divided into two spaces: fog space and cloud space. This layer is hosted by IoT sensors at higher education institutions or public areas for local data analysis and real-time panic health and COVID-19 infection detection. In this layer, the Panic health and COVID-19 symptoms data are used to classify the panic health (PHealth) and COVID-19 symptoms (COVSym) of the user, which either belong to the SAFE or UNSAFE class. The SAFE class presents that the user is neither panic nor having COVID-19 symptoms and not required any urgency during the evacuation process from the safe region. The UNSAFE class presents users may be panic or have COVID-19 symptoms, hence requires special attention and medical response and give priorities in the process of evacuation analysis. The two vectors and are formed by Panic health and COVID-19 symptoms data attributes of the user at a particular instance . The panic attack and Medical history User's old medical history 9. Relatives User's relatives name and contact number Where and are the outputs of logistic regression respectively, 0 and 1 are the intercept of bias and the Panic Health coefficient respectively, 0 and 1 are the intercept of bias and the COVID-19 symptoms coefficient respectively, and and are the Panic Health and COVID-19 Symptoms of the user at time instance respectively. 0 and 0 are the coefficients not associated with any input feature and determined by log-odds of the reference variables (the intercepts of bias). 1 and 1 are the coefficients of the input features (coefficients of Panic Health and COVID-19 symptoms). As per logistic regression, the response outputs are to be binary (Yes or No) for categorical classification of PHealth and COVSym records. The Bernoulli distribution defines the probabilities of PHealth and COVSym as follows: PHealth = 1 (SAFE), COVSym = 1(SAFE), if the outputs of the functions are and respectively. PHealth = 0 (UNSAFE), COVSym = 0(UNSAFE), if the outputs of the functions are 1-and 1-respectively. The sigmoid function is used by logistic regression to offers classifications the records into given categories based on thresholds of the output of the function as Eqs. (3) and (4) and formed s-shaped curve. where PH and CH are the classes of the determined Panic Health and COVID-19 Symptoms, respectively. Sig() function presents the categorized values of the outputs based on logistic regression. The fogassisted nodes at the user end, employ fog-assisted local data analysis to enable real-time PHealth and COVSym determination and alert message delivery to associated stack-holders. It provides real-time alerts of panic attacks and COVID-19 symptoms identifications, medical responses, and evacuations alerts, which helps the safe evacuation of the users. Algorithm 1 described the Panic Health and COVID-19 Symptoms determination and alert production based on logistic regression. Cloud storage is a part of cloud space that saves accessible data from fog space in a time-series manner. It is made up of a series of observations that are completed over time. Health severity analysis and risk mapping layers are available in the cloud space. Health and COVID-19 symptoms time-series records for Panic Health Severity and COVID-19 Symptoms Index (PSCSI) Monitoring and predictions and transmit data to the RML for safe evacuations. Panic Severity and COVID-19 Symptoms Indexes provides a probability measure for identifying the Panic Severity and COVID-19 infection consequences on the users. These indexes facilitate the on-time evacuation of users based on preference. A high-rise in the Panic Severity and COVID-19 Symptoms Indexes present the chances of severe health risk due to panic attacks and the chance of COVID-19 infection. Hence, the indexes of Panic Severity and COVID-19 Symptoms are monitored and predicted to recognize the unsafe regions, and priorities for evacuation are given to users belonging to these regions. The index monitoring for Panic Severity and COVID-19 Symptoms are prepared using conditional probability. Eq. (5) depicts the index monitoring of HSA. where PSCSI represents Panic Severity and COVID-19 Symptoms Index, PH and CH denote the classes of the determined Panic Health and COVID-19 Symptoms, respectively, presents the occurrence of deleterious events in time instance . Cloud server uses PSCSI during the process of monitoring of Panic Health and COVID-19 Symptoms of users. The Seasonal Auto Regression Integrated Moving Average (SARIMA) technique is used to predict PSCSI at the HSA layer. The prediction model SARIMA is the expansion of the Autoregressive Integrated Moving Average (ARIMA) that is used to predict time-series data. In this model, prediction accuracy can get better by eliminating seasonal deviation features during seasonal differences. In general, traditional time series models such as ARIMA and SARIMA models are used in epidemic time series forecasting. The SARIMA method merges seasonal differencing factors with ARIMA for effective time-series data modeling applications with periodic features. Therefore, the SARIMA prediction model is used to identifying the structure and pattern of linear data in the proposed framework. As the proposed model deals with real time data, the solution is dynamic in nature due to the movement of the user from one place to another. The SARIMA prediction model is used to predict PSCSI at the HSA layer to predict time-series data dynamically. and, Here and represent coefficients of ''seasonal autoregression'' and ''seasonal moving average''. Similarly, and represent coefficients of ''autoregression and moving average'', A and M are the order of seasonal autoregression and seasonal moving average terms, respectively. The order of ''non-seasonal autoregression'' and ''non-seasonal moving average'' terms are represented by a and m. D represents the differencing order, and R is the seasonality length. presents the random error at time k. In addition, The random error follows a unique normal distribution with a mean of zero. The SARIMA approach is also appropriate for the short-term as a contrast to long-term prediction as it offers high-weights to the latest data [37, 38] . The prediction of Panic Severity and COVID-19 Symptoms Indexes based on the SARIMA model, it contains four stages-(a) identification of stationarity, (b) recognization and estimation of parameters, (c) Model diagnosis, (d) Prediction. In the first stage, the stationary data is identified and determine the order of non-seasonal difference d and seasonal difference D. The value of a, A, m, and M are also identified using Partial Autocorrelation and Autocorrelation Functions. The second stage is used to estimate corresponding standard errors and parameters using square lease estimation, Yule-Walker, and maximum likelihood measures. The third stage is used to evaluate different models and analyzed their residuals. The model with the least residual or ''Mean square error'', ''Root mean square error'' and ''Mean absolute error'' is chosen. The selected model predicts the Panic Severity and COVID-19 Symptoms Indexes in the last stage, as described in Algorithm 2. The predicted PSCSI of users is transferred to the RML to identify critical sections, and evacuation can be done based on priority in those regions. To reduce the chance of COVID-19 infection in higher educational institutions and public places, the requirement of an effective evacuation process is necessary. In this situation, the convergence of evacuation maps with real conditions, the discovery of critical places, and ordering of the evacuation of the witnessed user due to COVID-19 symptoms of self and others in critical places can facilitate the timely evacuation based on priority. Therefore, this layer analyzes the panic and COVID-19 symptoms information to converse the COVID-19 prevention and evacuation maps to the real condition of the region. This layer offers PSCSI time series records to recognize the unsafe areas and define evacuation priorities for the users in that places. The COVID-19 symptoms are analyzed by this layer and determine whether the location is safe or unsafe based on their threshold. The threshold values have been selected and modified on the equal distribution of PSCSI values to categorized people based on the panic health and COVID-19 symptom. This layer also analyzed the PSCSI time-series data for identification of the peak health severity of users, critical regions and priority of evacuations in the future. In the RML, the critical regions are identified using GPA based on the determined highest PSCSI of the users. Table 5 depicts the classification of PSCSI based on GPA. Here GPA classifies the user population depending on their calculated PSCSI in to four classes -Strong (PSCSI >= 0.86), Moderate (0.58 <= PSCSI < 0.86), Mild (0.30 <= PSCSI < 0.58), and (None < 0.30) and priority weights of evacuation. The higher PSCSI value has the top priority of evacuation. The risk associated with a region (safe or unsafe) is determined by the population density of the area, as discussed in Table 6 . In table, the regions are categorized based on the population density of various users node such as (i) Category high (red color) having more than 20 maroon nodes, i.e. population of the strong class is more than 20, high chance of panic attack, (ii) category medium (orange) having D(Red node) >= 30 AND D(Maroon node) <20 AND D(Blue node)<50, (iii) category low (Yellow) D(Blue node) >= 50 AND D(Maroon node) <20 AND D(Red node) <30, (iv) category safe (green) D(Green node) = 100, i.e. PSCSI value of the population is less than 0.30, (v) category none (white) having no population. GPA classifies risk affected regions into hexagonal areas and depicts the direction of the safe evacuation of various population density in Fig. 2 based on the description in Table 6 . The different risk regions are recognized by analyzing the density of the population of the PSCSI classified user in those regions. The region priority (Reg_Pri)is defined as where, is the priority weight of evacuation of the respective category population, and d denotes the share of the population of a particular region r. The definite integral is considered precisely the limit and summation used to find the net area. In the definite integral, If a non-negative velocity function is used for an item traveling down an axis, the region in the velocity function involving the lower and higher limits indicates how far the object moved during that time interval. Algorithm 3 represents the overall working of the RML of the proposed model. The Performance Evaluation of the proposed Cyber-Physical System contains section four subsections -Data set for the experiment, Panic Health determination, panic severity prediction evaluation, and risk mapping efficiency. As there is a non-availability of accurate data set of risk-oriented evacuation, a synthetic data set is created through referring datasets [39] with the consultation of various doctors, pathologists and academician of this domain, and 8400 records are created for their panic health determination during the pandemic of COVID-19. The Cup-Carbon is used for simulation of deployed IoT sensors in the higher educational institutions or public places. In the CupCarbon platform, the sensors provide random values of panic status to facilitate real-time scenarios and mapped the users' health records to simulate the higher education institution scenario. In the CupCarbon platform, the sensors provide random values of panic status to facilitate real-time scenarios and mapped the users' health records to simulate the place scenario. It also offers a dynamic configuration of the sensor nodes. In the Cupcarbon tool, SenScript is used for real-time coding, which configures each mobile and sensor node individually. The simulation parameters used by SenScript are Standards, Simulation time, Simulation radius, Initial energy, and Simulation time. In addition, Java API is used to highlights the risk region and locate the risk status, either safe or unsafe. PSSCI class of users and region priorities is used to ensure proper on-time evacuations based on priority in particular risk regions. Evaluate the highest PSCSI in a future by, 23 = highestPSCSI( , + ) 24 Paint the Node based on the Colors defined in Table 5 25 Determine the priority of Evacuation using, = 26 end 27 for Every ℎ region of the panic identified areas do 28 Identify population density of different color nodes 29 Paint the region with color defined in Table 6 30 Evaluate the region priority using, Reg_Pri=∫ 4 =1 * 31 end 32 end In the HSA layer, panic health is locally determined by IoT devices using close approximation. It uses logistic regression for the classification of panic health as SAFE or UNSAFE. The classification performance is measured using statistical measures, such as ''accuracy'', ''F-Measure'', ''sensitivity'', and ''specificity'', to evaluate logistic regression performance with Decision Tree, k-Means Clustering, and Naive Bayes approach. The accuracy refers to the precision of the classification model, which is used to classify the Panic health and COVID-19 symptoms records. This performance metric is used to identifying the classification model, and with the help of this classification model, PH and CH classes of the panic health and COVID-19 symptoms are determined. Fig. 3 (a) depicts the comparison of classification performance, and it is observed that the logistic regression has the highest accuracy of 98.42% in comparison of Decision Tree (97.89%), k-Means Clustering (72.36%), and Naive Bayes (97.1%). The logistic regression also has the maximum sensitivity (99.40%), specificity (99.20%), and F-measure (99.74%). Therefore, the logistic regression approach of classification is very efficient for the panic health classification of the user. It is also analyzed that the logistic regression takes less time for classification than other approaches during panic health determination. Fig. 3(b) shows the efficiency of the classifier based on classification time and depicts the potential of the logistic regression approach, which is used to generate alerts to the user and other stack holders in the fog layer. The cloud space predicts PSCSI based on health and environment data, including the location of users using the SARIMA model. Also, it receives records with geographical details, location, and sensors status. The prediction evaluation uses the SARIMA model in R Studio with the hardware support of the Amazon EC2 virtual machine. Autocorrelation function and partial autocorrelation function scheme are utilized to establish an accurate model of SARIMA. [40] . Fig. 4 presents the evaluation of Panic severity prediction for a particular time window. The prediction of PSCSI is based on panic wellbeing and COVID-19 symptoms of users. It depicts the prediction of PSCSI values of users in the time window. The time window is updated in regular intervals. The effectiveness of the SARIMA model is assessed using PCA and SVD methods. It is observed that the comparison of the SARIMA model with the PCA and SVD approach reveals that the PCA based SARIMA has less error and high performance as compared to the SVD method. The two most common metrics, ''Mean Squared Error (MSE)'' and "Root MEAN SQUARED ERROR (RMSE)", are utilized to compute the accuracy of the SARIMA model. SARIMA with PCA approach has an MAE value of 0.1412 and RMSE value of 0.5602 less error, where SVD approach has MAE and RMSE values 0.3565 and 0.8427, respectively. The result analysis of these metrics indicates that the SARIMA with PCA method has less error and high accuracy in this framework. The Risk mapping layer (RML) constructs an evacuation map by identifying critical regions based on risk status received from sensors using GPA of the person. The hexagonal shape is used to present region as the hexagon shape is the ideal way to partition the plane into equal areas, the Sensors are placed at the center of hexagon for optimize the sensor frequency as well as to cover entire area. Fig. 5 (a) highlights the risk region by Java API to locate the risk status, either safe or unsafe. PSSCI class of users and region priorities are used to ensure proper on-time evacuations based on priority in particular risk regions. Fig. 5(b) represents the evacuation map, and Fig. 5(c) shows well depicted risk regions, where red color hexagon presents the highest priority of evacuation, followed by orange, yellow, and green color. In this system, multiple scenes have been analyzed and the stable case (in Fig. 5 ) has been taken and presented. The distribution of region color in mapping is based on the PSCSI value and the area density. The risk regions are assigned a specific color to represent the severity level of risk, such as red, orange, yellow, and green color, representing highrisk, medium risk, low-risk, and safe areas, respectively. A region with no color depicted no population in the respective area. A well-depicted result of the evaluation of risk mapping is shown in Fig. 5 . As a result, depending on the person's panic health and COVID-19 symptoms, the RML provides a well efficient, on-time, and priority evacuation. In the proposed system, users get an evacuation map based on their well-being (health data), their PSCSI values, and population density. This map can be used (i) for the safe and priority-based timely evacuation of users that have symptoms of a panic attack or COVID-19, (ii) to suggest a safe evacuation path to users so that they do not get panic or infected. In case of priority-based timely evacuation of the users that have higher PSCSI values (higher symptoms of a panic attack and COVID-19), the proposed system sends alerts to users and stakeholders to take necessary action regarding quarantine or hospitalization for further diagnosis, so that dissemination of infection can reduce and hence the other persons are unaffected from infection. The proposed system also offers an evacuation map to safe users that have fewer or no symptoms of a panic attack and COVID-19(hold low PSCSI values), and the risk associated with the region is determined by the population density of people and their PSCSI values (as per Tables 5 and 6 ). In case most of the people moved to the safe region, they remain safe due to they hold very less PSCSI values(fewer or no symptoms)in that particular region. Moreover, if any person is found with a higher PSCSI value, the system sends an alert to the person as well as stack holders to on-time safe evacuation from that region for isolation of that user or hospitalization for further diagnosis. Therefore, other people in that region do not get panic or infected, this way we can control the dissemination and maintain the wellbeing of people. In this paper, a fog-assisted cyber-physical system has been proposed for safe evacuations of persons based on priority to save them from panic attacks in this COVID-19 pandemic. The proposed model used smartphones and IoT devices for time-series computational services at fog space. The main contribution of this proposed model is the panic health severity analysis based on GPA to recognize the risk regions for safe on time evacuations. Logistic regression is employed to determine the panic health and COVID-19 symptoms of the user as it has the highest accuracy as compared to Decision Tree, k-Means, and Naive Bayes. Cloud computing is utilized to analyze and transmit health alerts effectively. The performance evaluation of the proposed model implemented on Amazon EC2 cloud and it acknowledged the efficiency of panic health and COVID-19 symptoms determination, prediction of the SARIMA model, and identifying risk region using GPA. The proposed model has effectively dealt with the evacuation map in the different categories of regions to control panic attacks and offered the on-time panic evacuation based on priority. The outcome of this paper helps people to avoid region-based exposure of infection and provide a platform to design a system for effective management for panic prevention. Compound natural and human disasters: Managing drought and COVID-19 to sustain global agriculture and food sectors Disaster studies World Health Organization COVID-19 classified AS a NATURAL DISASTER BY pennsylvania supreme court; COULD THIS AFFECT COVERAGE litigation ARISING FROM COVID-19? Social media analytics for natural disaster management Weather, climate & catastrophe insight-2018 annual report Global catastrophes caused USd 56 billion insured losses in 2019, estimates swiss re institute Fear propagation and the evacuation dynamics Treatment-resistant panic disorder: a systematic review Balance complaints and panic disorder: A clinical study of panic symptoms in members of a self-help group for balance disorders Dimensional structure of bodily panic attack symptoms and their specific connections to panic cognitions, anxiety sensitivity and claustrophobic fears 5G ready optical fog-assisted cyber-physical system for IoT applications DPDRM: A decentralized post-disaster resource management scheme using energy efficient smart phone based DTN An agent-based simulation system for concert venue crowd evacuation modeling in the presence of a fire disaster Impact of internet of things (IoT) in disaster management: a task-technology fit perspective Toward Social Internet of Things (SIoT): Enabling Technologies, Architectures and Applications IoTS (internet of things) and DfPL (device-free passive localisation) in a disaster management scenario Towards fog-driven IoT ehealth: Promises and challenges of IoT in medicine and healthcare Internet of things for smart cities Smart vehicular traffic management: An edge cloud centric IoT based framework A simulation analysis of the impact of finite buffer storage on manufacturing system reliability Return on CPS (RoCPS): An Evaluation Model to Assess the Cost Effectiveness of Cyber-Physical Systems for Small and Medium-Sized Enterprises CLOTHO: A largescale internet of things-based crowd evacuation planning system for disaster management Optimized multiple existence for pedestrian evacuation using geographic map-based path discovery Post-disaster map builder: Crowdsensed digital pedestrian map construction of the disaster affected areas through smartphone based DTN Diagnosis and analysis of diabetic retinopathy based on electronic health records A cyber-physical system approach for model based predictive control and modeling of COVID-19 in India Digitalization against the new outbreak Compositional cyber-physical epidemiology of COVID-19 A real IoT device deployment for e-health applications under lightweight communication protocols, activity classifier and edge data filtering Haj Seyyed Javadi, A medical monitoring scheme and health-medical service composition model in cloud-based IoT platform COVID-19 and mental health: A review of the existing literature Bibliometric monitoring of research performance in ICT-based disaster management literature Internet of things for smart healthcare: Technologies, challenges, and opportunities IoT-Based situation awareness support system for real-time emergency management Energy efficient transmission strategies for body sensor networks with energy harvesting An estimation model for determining the annual energy cost budget in educational facilities using SARIMA (seasonal autoregressive integrated moving average) and ANN (artificial neural network) Time Series Analysis: Forecasting and Control Stress-caused health problems (CAPS-STRESSPR module), unc dataverse Structural time-series modelling for seasonal surface air temperature patterns in India The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.