Design of an Emergency Energy System for a City Assisted by Renewable Energy, Case Study: Latakia, Syria

: Electrical energy is one of the most important daily needs. Shortage of energy can be very dangerous for any society. This can affect the standard of living and quality of life of the people and even endanger the lives of those in hospitals, and so forth. Developed countries do not face such risks in general because they have well organized electrical systems and high energy security. The developing countries are faced daily with electric system collapses, especially in the case of wars, where many parts of the electrical grid in the country can be damaged and fuel transmission lines for generators cut off. Urban areas in developing countries should have a strategic plan to deal with any unexpected occurrence of energy shortages using any available renewable energy sources. City of Latakia is located in the region which has been suffering from the consequences of war for more than six years. The fact that a high number of migrants from other cities have come to Latakia along with a lack of fuel makes the energy shortage in the city worse. An emergency system could use the cheapest available renewable energy sources in addition to few big portable generators to provide an acceptable energy supply for the most needed requirements of daily life.


Introduction
The discovery of electricity was one of the most important things which moved civilization on to the level it is at present. Getting a continuous and stable electric-power supply is one of the most important needs of human existence in the modern age, especially in cities where daily human activities are high both during the day and night hours [1]. Our high dependence on electricity in modern life in all sectors such as health, education, industry, business, communication, transport, food, . . . etc. makes long-term interruption in electricity supply equivalent to a disaster in modern life. Therefore, any interruption to electricity supply for long hours significantly affects social economic life, causes financial loss, negatively affects a nation's economy, decrease the Gross Domestic Product (GDP), retards development and daily life activities [2][3][4].
Using electrical energy in the cities does not result in any emissions because power plants are usually located far from the cities so that their effects on human health and the environment in cities is reduced to the barest minimum. But due to poverty and weak infrastructure in developing countries, old ways of heating or cooking such as diesel and wood-burning are being used, most especially in the suburbs of cities. Using such methods is very harmful to people's health and the surrounding environment since they emit a lot of emissions [5,6]. In the same way, energy stored in fossil fuels that is released by human activity causes environmental pollution. Furthermore, fossil fuel energy resources are exhaustible and alternatives will be needed in the near future [7]. The extensive exploitation of renewable energy sources in cities has become an essential and practical strategy for fostering sustainable development [8].
Renewable energy sources such as solar, wind and biomass energy has become an essential part of the modern grid owing to the fact that renewable energy resources are clean and cannot be depleted; other reasons are that this reduces global warming, that there are limited levels of fossil fuel in the world and that diversification of energy sources achieves high levels of energy security, in addition to improving voltage profile and power quality [7,[9][10][11][12][13][14]. A lot of developing countries are susceptible to armed conflicts, natural disasters, regional and international disputes, economic crises, wars . . . and so forth which can affect power supply and rapidly increase the population in some regions due to migration from the neighbouring areas. In such cases an energy crisis can force people to use all alternative solutions to continue their daily life, even the oldest ones. An energy crisis in itself and these alternative solutions for it can have considerable negative effects on health, environment, education . . . etc. Most cities in the developing countries have renewable sources which have not yet been invested in, especially biomass and solar energy. Renewables can play a major role in mitigating an energy crisis especially in the remote areas of developing countries. Considerable research has been done on the ability of renewable energy sources to solve the problems related to energy shortages. Some of these projects have been proposed to mitigate electric-power crises in Pakistan, China and Bangladesh [15][16][17][18] and others are about to be implemented in Africa and India [19][20][21]. In addition, Renewable energy sources, together with the use of new eco-sustainable systems with low energy consumption [22,23] and new building technologies that use the new generation of low-cost Smart-Windows [24], could be associated with local energy sources that can play an important role in the emergency system for any city or country but we also need a stable source of energy.
Continuous electricity supply enhances energy security, as energy security is a very important aspects of the energy plans of countries, mostly in situations where it is essential to have many sources of energy supply and to also have alternative sources of power in case of armed conflicts, natural disasters and so forth. Power shortages and climate change are two great problems today. For this reason, the power sector must get rid of carbon emitting plants to create a pollution-free environment [21]. It is hoped that renewable energy sources will help to reduce energy crises and prevent further climate change. Renewable energy is one of the fundamental resources needed to help achieve the social, economic and environmental goals of mankind [25][26][27]. Access to clean energy is essential for well-being, poverty reduction and the sustainable development of cities [28]. These resources, in combination with several large portable power plants could be very effective in facing crises. Energy security plans can be locally or centrally organized. Local plans may be more efficient because each municipality can adopt a strategy according to its geographical location and the available energy sources. As result of the above, designing and implementing an emergency energy system is highly important for every city in the developing countries.
In this paper, the Syrian city, Latakia is discussed as a case study of a city which has faced an unexpected energy crisis and its related consequences. The methodology adopted in the study and the data sources used for the analysis are also discussed in order to present the energy crisis effects on urban areas and to show the importance of emergency energy systems. The data presented in this article has been collected by the authors and several volunteers.

Methodology
Designing the emergency energy system and figuring out its capacity depend on two important factors which can arise when any city, in particular, faces an unexpected situation. These two factors are:

1.
Energy shortage (electricity): We can consider 6 emergency levels according to the electricity cut off hours per day as shown in Table 1. For our methodology, we will assume an average case where rationing hours are 6 daily, corresponding to emergency level 3, which implies a 25% decrease in the energy supply; we will also consider the expected demand for energy for this city in the future over the next 2 years, where the total system will be updated every 2 years.

2.
Migration: where in case of war or natural disasters, people migrate to other safe cities or areas and this causes an increase in residential energy consumption. We will consider 4 emergency levels according to the population increase percentage as Table 2 shows: Here we will also consider the average case where the percentage of population increase is 25% corresponding to emergency level 2. Any expected increase in the demand for energy due to the native population increases will not be considered because they are included in the previous factor.
Using these two factors we can define an emergency energy function according to the following Equation (1): where: E em : emergency energy. E T : total energy demand for the city in 1 year. E ex %: the percentage of expected energy demand for the next 2 years. E res : residential energy demand in the city.
We can use the following algorithm to express the methodology and how we can get the required values as shown in Figure 1.
And in Figure 2 you can see MATLAB Simulink model for the calculations of the methodology. Eg=Eem -(Ere0 +Ere1+Ep)

The Effects of the War on Syria
As the consequence of the occurring Syrian civil war, the whole region is unstable since 2011. Long lasting conflict remains because of the fragmented impact of many groups, including radical Islam militias, and so forth... the Syrian government and its service institutions, in addition to the civil people have faced many pressures and changes in many sectors. We mention that the presenting data from Latakia and Syria came from views, surveys, follow ups and contact with the responsible governmental institutions during the period 2011-2016.

The Social Sector (Especially the Family)
We not that spread of divorce, widows, orphans, disabled children because of losing body-parts due to injuries suffered because of the war, child labour, as a result of destitution, widespread increases in need and poverty, psychological and sexual violence against women and children ... and so forth.

The Educational Sector
A large number of schools have stopped functioning and staff are out of work because of the destruction they have suffered in addition to the external migration and internal migration which forced hundreds of thousands of children to leave their schools, estimated at 3 million children, thus increasing the illiteracy rate among children in Syria after 2011, where, before this date, illiteracy was almost non-existent, as the percentage of children enrolled in basic education at the beginning of the academic year 2011 was 98% ,declining in 2015 to less than 50%.

The Effects of the War on Syria
As the consequence of the occurring Syrian civil war, the whole region is unstable since 2011. Long lasting conflict remains because of the fragmented impact of many groups, including radical Islam militias, and so forth... the Syrian government and its service institutions, in addition to the civil people have faced many pressures and changes in many sectors. We mention that the presenting data from Latakia and Syria came from views, surveys, follow ups and contact with the responsible governmental institutions during the period 2011-2016.

The Social Sector (Especially the Family)
We not that spread of divorce, widows, orphans, disabled children because of losing body-parts due to injuries suffered because of the war, child labour, as a result of destitution, widespread increases in need and poverty, psychological and sexual violence against women and children . . . and so forth.

The Educational Sector
A large number of schools have stopped functioning and staff are out of work because of the destruction they have suffered in addition to the external migration and internal migration which forced hundreds of thousands of children to leave their schools, estimated at 3 million children, thus increasing the illiteracy rate among children in Syria after 2011, where, before this date, illiteracy was almost non-existent, as the percentage of children enrolled in basic education at the beginning of the academic year 2011 was 98%, declining in 2015 to less than 50%.

The Economic Sector
We note increases in poverty, weakening purchasing power due to rising prices and increase unemployment.

The Security Sector
We note a lack or loss of security and safety in most cities.

The Service Sector
We note the inability of state institutions to provide the necessary services to citizens as a result of the pressures imposed by the war, especially in the field of providing the necessary oil derivatives for daily life, in addition to an electrical energy shortage which has caused many to use alternative solutions which are nonetheless unable to compensate for shortfall in covering electricity demand while contributing to a large extent to increased pollution of the environment, with significant repercussions for public health.

The Demographic Sector
A new demographic map has been established that has affected the whole of Syrian geography, especially the Syrian regions and cities which are considered as safer than others, due to the absence of Islamic groups. This new demographic map has been formed due to the growth of two types of migration: External and internal where the internal one was to the safe areas and cities of Syria (Damascus City, Tartus City and Latakia City).
The Latakia portion from that migration was the largest compared to other cities when compared to its population and geographical area. Although there are no accurate statistical studies of the internal migration population, the estimated numbers indicate that one million inhabitants have reached the centre of Latakia governate and its regions and villages.
In our study we will study the energy problem and especially electricity.

An Overview of the Electricity System and Energy Sources in Latakia before the War
The supply of electricity and energy in Latakia before the war in 2010 was very effective where electricity was available 24/7 [29] and was used in all industrial, commercial, agricultural and residential sectors. Energy sources used was typically diesel or electricity for heating and gas for cooking.
Latakia city gets electricity through three 230/66 kV distribution stations which are connected to the national power system which run on various sources as shown in Figure 3 [29] where Syria depends on fossil fuels especially fuel and gas to get electricity and some renewable energy sources such as hydro energy and very small applications of solar and wind energy.

The Economic Sector
We note increases in poverty, weakening purchasing power due to rising prices and increase unemployment.

The Security Sector
We note a lack or loss of security and safety in most cities.

The Service Sector
We note the inability of state institutions to provide the necessary services to citizens as a result of the pressures imposed by the war, especially in the field of providing the necessary oil derivatives for daily life, in addition to an electrical energy shortage which has caused many to use alternative solutions which are nonetheless unable to compensate for shortfall in covering electricity demand while contributing to a large extent to increased pollution of the environment, with significant repercussions for public health.

The Demographic Sector
A new demographic map has been established that has affected the whole of Syrian geography, especially the Syrian regions and cities which are considered as safer than others, due to the absence of Islamic groups. This new demographic map has been formed due to the growth of two types of migration: External and internal where the internal one was to the safe areas and cities of Syria (Damascus City, Tartus City and Latakia City).
The Latakia portion from that migration was the largest compared to other cities when compared to its population and geographical area. Although there are no accurate statistical studies of the internal migration population, the estimated numbers indicate that one million inhabitants have reached the centre of Latakia governate and its regions and villages.
In our study we will study the energy problem and especially electricity.

An Overview of the Electricity System and Energy Sources in Latakia before the War
The supply of electricity and energy in Latakia before the war in 2010 was very effective where electricity was available 24/7 [29] and was used in all industrial, commercial, agricultural and residential sectors. Energy sources used was typically diesel or electricity for heating and gas for cooking.
Latakia city gets electricity through three 230/66 kV distribution stations which are connected to the national power system which run on various sources as shown in Figure 3 [29] where Syria depends on fossil fuels especially fuel and gas to get electricity and some renewable energy sources such as hydro energy and very small applications of solar and wind energy.  Most of these energy sources were available locally from oil and gas wells where oil production was 380,000 barrels per day and gas production was 21 million m 3 per day in 2010. Syria also has two refineries which produce diesel, fuel and other products.

The Energy Shortage in Latakia during the War
We can summarize the energy situation from 2011 till 2016 with the following:

Rationing Hours
Since the start of the war in Syria in 2011 electricity hours started to decrease using a power rationing system where rationing hours were as shown in Figure  Most of these energy sources were available locally from oil and gas wells where oil production was 380,000 barrels per day and gas production was 21 million m 3 per day in 2010. Syria also has two refineries which produce diesel, fuel and other products.

The Energy Shortage in Latakia during the War
We can summarize the energy situation from 2011 till 2016 with the following:

Rationing Hours
Since the start of the war in Syria in 2011 electricity hours started to decrease using a power rationing system where rationing hours were as shown in Figure   where it is about 50% for to many reasons especially-migration from other parts of Syria to Latakia city. Also, we can notice that the increase in 2016 is less than 2015 as some families came back to Aleppo and Homs.  where it is about 50% for to many reasons especially-migration from other parts of Syria to Latakia city. Also, we can notice that the increase in 2016 is less than 2015 as some families came back to Aleppo and Homs. Most of these energy sources were available locally from oil and gas wells where oil production was 380,000 barrels per day and gas production was 21 million m 3 per day in 2010. Syria also has two refineries which produce diesel, fuel and other products.

The Energy Shortage in Latakia during the War
We can summarize the energy situation from 2011 till 2016 with the following:

Rationing Hours
Since the start of the war in Syria in 2011 electricity hours started to decrease using a power rationing system where rationing hours were as shown in Figure 4   where it is about 50% for to many reasons especially-migration from other parts of Syria to Latakia city. Also, we can notice that the increase in 2016 is less than 2015 as some families came back to Aleppo and Homs.   Figure 6 [29] shows the demand in this condition where the energy demand decreases slightly but in general we can say that it does not change a lot after 2011 because the available energy sources were limited and that expound the reason of rationing hours increase.

Peak Power Demand
Concerning demand for electric power there are two conditions: 1. With Power Rationing Figure 6 [29] shows the demand in this condition where the energy demand decreases slightly but in general we can say that it does not change a lot after 2011 because the available energy sources were limited and that expound the reason of rationing hours increase.

Without Power Rationing
Where the Syrian ministry of electricity gave an approximate value for the demand for electric power every year. Figure 7 [29] shows total energy demand without power rationing and the relevant shortage values where we can notice that the energy demand without rationing is much bigger than it is with rationing and that demand is seen as increasing slightly after 2011. Regarding the energy shortage the figure shows how it increased rapidly between 2011 and 2014; the changes then become smaller because most people migrated to Latakia city during the period 2011 to 2014.

Energy Resources
Oil production decreased to 14,000 barrels per day and natural gas to 8.2 million m 3 per day.

Without Power Rationing
Where the Syrian ministry of electricity gave an approximate value for the demand for electric power every year. Figure 7 [29] shows total energy demand without power rationing and the relevant shortage values where we can notice that the energy demand without rationing is much bigger than it is with rationing and that demand is seen as increasing slightly after 2011. Regarding the energy shortage the figure shows how it increased rapidly between 2011 and 2014; the changes then become smaller because most people migrated to Latakia city during the period 2011 to 2014.

Peak Power Demand
Concerning demand for electric power there are two conditions: 1. With Power Rationing Figure 6 [29] shows the demand in this condition where the energy demand decreases slightly but in general we can say that it does not change a lot after 2011 because the available energy sources were limited and that expound the reason of rationing hours increase.

Without Power Rationing
Where the Syrian ministry of electricity gave an approximate value for the demand for electric power every year. Figure 7 [29] shows total energy demand without power rationing and the relevant shortage values where we can notice that the energy demand without rationing is much bigger than it is with rationing and that demand is seen as increasing slightly after 2011. Regarding the energy shortage the figure shows how it increased rapidly between 2011 and 2014; the changes then become smaller because most people migrated to Latakia city during the period 2011 to 2014.

Energy Resources
Oil production decreased to 14,000 barrels per day and natural gas to 8.2 million m 3 per day.

Energy Resources
Oil production decreased to 14,000 barrels per day and natural gas to 8.2 million m 3 per day.

1.
The appearance of ISIS in Syria has made people abandon their houses and go to safe areas and Latakia city is one of the safest cities in Syria as we mentioned before. And this has caused an increase in the population of Latakia city as shown in Table 3 and Figure 8 according to estimates, there being no formal statistics for the population. The numbers and percentages shown in the table relate to the population change only in the city centre of Latakia because most of the migrants live in the centre of the city in its various neighbourhoods. The change in the percentage in 2016 was a result of the liberation of Aleppo and Homs cities from radical Islamic groups, which contributed to the return of people from those cities to their homes. 2.
Significant decreases in oil and gas production were because ISIS captured most oil and gas wells in Homs and Deir Alzor as shown in Figure 9. 3.
The destruction of power plants and transmission lines by ISIS and other "terrorists groups" such as in Homs, Aleppo and Hama reduced the ability to generate energy and to transmit it between governates. Figure 9 shows the power plants in Syria.

Causes of the Energy Shortage
1. The appearance of ISIS in Syria has made people abandon their houses and go to safe areas and Latakia city is one of the safest cities in Syria as we mentioned before. And this has caused an increase in the population of Latakia city as shown in Table 3 and Figure 8 according to estimates, there being no formal statistics for the population. The numbers and percentages shown in the table relate to the population change only in the city centre of Latakia because most of the migrants live in the centre of the city in its various neighbourhoods. The change in the percentage in 2016 was a result of the liberation of Aleppo and Homs cities from radical Islamic groups, which contributed to the return of people from those cities to their homes. 2. Significant decreases in oil and gas production were because ISIS captured most oil and gas wells in Homs and Deir Alzor as shown in Figure 9. 3. The destruction of power plants and transmission lines by ISIS and other "terrorists groups" such as in Homs, Aleppo and Hama reduced the ability to generate energy and to transmit it between governates. Figure 9 shows the power plants in Syria.

The Current Solutions to the Shortage
Since 2011 people have started using 3 utilities to face energy shortages: 1. Diesel and gasoline generators: with different power capacities from 1 kW up to over 500 kW. Figure 10 shows the number of generators in use from 2011 till 2016 where a rapid increase can be seen during the period 2011 to 2014 because of the big increase of population in this period due to migration as mentioned before. Also, we can notice that the highest increase where in the generators with small capacities due to the daily life needs of families such as lighting or some electronic devices.

The Current Solutions to the Shortage
Since 2011 people have started using 3 utilities to face energy shortages: 1. Diesel and gasoline generators: with different power capacities from 1 kW up to over 500 kW. Figure 10 shows the number of generators in use from 2011 till 2016 where a rapid increase can be seen during the period 2011 to 2014 because of the big increase of population in this period due to migration as mentioned before. Also, we can notice that the highest increase where in the generators with small capacities due to the daily life needs of families such as lighting or some electronic devices.

The Current Solutions to the Shortage
Since 2011 people have started using 3 utilities to face energy shortages: 1. Diesel and gasoline generators: with different power capacities from 1 kW up to over 500 kW. Figure 10 shows the number of generators in use from 2011 till 2016 where a rapid increase can be seen during the period 2011 to 2014 because of the big increase of population in this period due to migration as mentioned before. Also, we can notice that the highest increase where in the generators with small capacities due to the daily life needs of families such as lighting or some electronic devices.  In Figure 11 we can see old diesel generators deployment in the streets of Latakia city with apparent oil leakage and significant production of harmful noise pollution and toxic exhaust gases.
Energies 2018, 11, x FOR PEER REVIEW 12 of 22 In Figure 11 we can see old diesel generators deployment in the streets of Latakia city with apparent oil leakage and significant production of harmful noise pollution and toxic exhaust gases.

Figure 11. Old portable generators in Latakia's streets.
And the average power supplied by these generators for each year can be calculated according to the number of rationing hours as shown in Figure 12 using the following Equation (11): = ( 1 · 1 + 2 · 2 + ⋯ 5 · 5 ) · · 365 (11) where: E: The generated energy for each year. We have calculated the short-fall before considering the power generated from portable generators by adding the power generated from these generators to the short-fall so that the real short-fall is as shown in Figure 12 where the figure shows that the real short-fall in power is bigger. The generated energy from portable generators is about 10% of the real short-fall in general and that is make us understand how the energy crisis where bad in city especially if we know that a lot of people were using only batteries for lights during nights And the average power supplied by these generators for each year can be calculated according to the number of rationing hours as shown in Figure 12 using the following Equation (11): E = (P m1 ·n 1 + P m2 ·n 2 + . . . P m5 ·n 5 )·C·365 (11) where: E: The generated energy for each year. P m1 , P m2 . . . P m5 : The average power for each group of generators. We have calculated the short-fall before considering the power generated from portable generators by adding the power generated from these generators to the short-fall so that the real short-fall is as shown in Figure 12 where the figure shows that the real short-fall in power is bigger. The generated energy from portable generators is about 10% of the real short-fall in general and that is make us understand how the energy crisis where bad in city especially if we know that a lot of people were using only batteries for lights during nights. 2. Batteries: there are different capacities of 7-300 Ah batteries where in general every home has 1 or 2 batteries with most of these batteries being of inferior types or recycled so that they have to change them every year or sometime after 6 months. These batteries are used in general for lighting where they are connected to LED lamps. They are also used to charge mobile phones and TV's. Figure 13 shows how the batteries are used in homes. 3. Wood is used for heating in Latakia suburbs and most of this wood comes from rural areas and forests in Latakia where a lot of trees are being cut down and some forests have disappeared or semi disappeared.

Health
Using such methods increases a number of diseases [30] such as: 1. Respiratory system diseases including asthma and bronchitis: where most of the generators are of inferior types and are installed in the streets, they emit a considerable amount of gas emissions such as carbon dioxide (CO2), carbon monoxide (CO) and nitrogen Oxide (NOx) … and so forth. Wood combustion also emits a lot of gases especially (CO) which is very harmful to babies, children and older people. 2. We see an increase in sight diseases because of LED lights where most of these lights produce focused light which can be harmful for eyes or be weak when the battery is close to exhausted.

2.
Batteries: there are different capacities of 7-300 Ah batteries where in general every home has 1 or 2 batteries with most of these batteries being of inferior types or recycled so that they have to change them every year or sometime after 6 months. These batteries are used in general for lighting where they are connected to LED lamps. They are also used to charge mobile phones and TV's. Figure 13 shows how the batteries are used in homes. 2. Batteries: there are different capacities of 7-300 Ah batteries where in general every home has 1 or 2 batteries with most of these batteries being of inferior types or recycled so that they have to change them every year or sometime after 6 months. These batteries are used in general for lighting where they are connected to LED lamps. They are also used to charge mobile phones and TV's. Figure 13 shows how the batteries are used in homes. 3. Wood is used for heating in Latakia suburbs and most of this wood comes from rural areas and forests in Latakia where a lot of trees are being cut down and some forests have disappeared or semi disappeared.

Health
Using such methods increases a number of diseases [30] such as: 1. Respiratory system diseases including asthma and bronchitis: where most of the generators are of inferior types and are installed in the streets, they emit a considerable amount of gas emissions such as carbon dioxide (CO2), carbon monoxide (CO) and nitrogen Oxide (NOx) … and so forth. Wood combustion also emits a lot of gases especially (CO) which is very harmful to babies, children and older people. 2. We see an increase in sight diseases because of LED lights where most of these lights produce focused light which can be harmful for eyes or be weak when the battery is close to exhausted.

3.
Wood is used for heating in Latakia suburbs and most of this wood comes from rural areas and forests in Latakia where a lot of trees are being cut down and some forests have disappeared or semi disappeared.

Health
Using such methods increases a number of diseases [30] such as:

1.
Respiratory system diseases including asthma and bronchitis: where most of the generators are of inferior types and are installed in the streets, they emit a considerable amount of gas emissions such as carbon dioxide (CO 2 ), carbon monoxide (CO) and nitrogen Oxide (NO x ) . . . and so forth. Wood combustion also emits a lot of gases especially (CO) which is very harmful to babies, children and older people.

2.
We see an increase in sight diseases because of LED lights where most of these lights produce focused light which can be harmful for eyes or be weak when the battery is close to exhausted. And other diseases related to the toxic chemicals and gas emissions from expired batteries where most of these are thrown randomly on open lands or into waterways.

Environment
Using a lot of generators of inferior types, in addition to batteries and wood, can cause a lot of pollution in the city [31] where the pollutants from each source are:

2.
Battery pollutants: Improper or careless handling of waste batteries can result in the release of corrosive liquids and dissolved metals that are toxic to plants and animals. Improper disposal of batteries in landfill sites can result in the release of toxic substances into groundwater and the environment.

1.
Increases in noise in buildings and streets have made concentration harder for the students [32] in addition to the stress caused by such noise especially because most of these portable generators are cheap and poor quality and cause high noise levels.

2.
Additional difficulties in studying over prolonged periods arise from bad lightings because most of the lights used during the rationing hours are LED lights, which are concentrated and strong at the beginning and very low after some time because of the cheap and poor quality of the batteries.

3.
We note increases in the living costs for families which are already have financial problems.

Designing an Emergency System
We have made an overview of the electrical situation and energy crisis in Latakia city in Syria. Now we will apply the previous methodology for Latakia as if an emergency system had been applied in 2010 and we will see the advantages of such a system.
The power demand in Latakia in 2010 was E T =2,733,732 GWh and the residential power demand was about 70% of that, so it was about E res =1,913,612 GWh. The expected increase in energy demand for the next 2 years for Latakia was about E ex =11%. Therefore, according to Equation (1) The emergency energy would be E em = 1237.014 GWh. This energy could be obtained with co-generators powered by gas oil, capable of supplying both electrical and thermal energy, typical hospital requests [33]. These co-generators should be monitored with new "E-sensing" control systems in order to keep under check the presence of any pollutants dangerous to human health [34]. Now we will calculate the energy needed according to Equation (3): For E p : there is no power plant near Latakia city therefore, E p = 0 GWh. For E re0 : in Latakia city there are only some solar applications such as solar panels in Tishreen university also some installed panels on the communications tower in addition to some domestic solar applications and the estimated energy produced by them is about 0.671 GWh. Therefore, the needed energy is E n = 1236.343 GWh.
According to Equations (7) and (8): In Latakia city there are only a limited number of solar panel applications such as the solar panels in Tishreen University and also some panels installed on the communications tower in addition to some domestic solar applications with an estimated energy produce by these of about 0.671 GWh.
Biomass energy: There is a large area of landfill near Latakia in Al-Bassa which receives about 1100 ton/day. Therefore, if we build a power plant to produce electricity from this waste, the generated electrical energy according to [35][36][37] will be about 660 MWh per day and 240.9 GWh.
Also, we have a high solar radiation in Latakia. In Latakia we have two choices to install solar panels:

1.
On buildings rooves such as on schools, universities, residential buildings, . . . etc. as shown in Table 4. Thus, the area would be S = 144,700 m 2 .

2.
On the unused lands around the city which cannot be used for agriculture or buildings. The area of these lands is about 214,000 m 2 .
So, the total area would be about 358,700 m 2 According to Photovoltaic Geographical Information System [38], we have got Figures 14 and 15 for Latakia. In Figure 14 we can notice the location choosing and the optimal slope of the solar panels which is θ = 31 • . And in Figure 15 we got the average daily sum of global irradiation per square meter without taking into consideration the power losses G 0 = H d = 5.9 kWh/m 2 · day. And if we take losses into consideration the average daily sum of global irradiation will be: In Latakia city there are only a limited number of solar panel applications such as the solar panels in Tishreen University and also some panels installed on the communications tower in addition to some domestic solar applications with an estimated energy produce by these of about 0.671 GWh.
Biomass energy: There is a large area of landfill near Latakia in Al-Bassa which receives about 1100 ton/day. Therefore, if we build a power plant to produce electricity from this waste, the generated electrical energy according to [35][36][37] will be about 660 MWh per day and 240.9 GWh.
Also, we have a high solar radiation in Latakia. In Latakia we have two choices to install solar panels: 1. On buildings rooves such as on schools, universities, residential buildings, … etc. as shown in Table 4.  Figure 14 we can notice the location choosing and the optimal slope of the solar panels which is = 31°. And in Figure 15 we got the average daily sum of global irradiation per square meter without taking into consideration the power losses = = 5.9 kWh/m . day. And if we take losses into consideration the average daily sum of global irradiation will be: = = 4.33 kWh/m . day  To calculate the electrical power which could be calculated from solar energy it will be used one solar panel with high power (420 W) due to the big areas and big demand of electric power. Therefore, we will calculate the needed area for each solar panel so we can calculate the total number of solar panels and electricity production. The calculations should be made on the 21 December because that is when the sun will be lowest in the sky where the shadow will be the longest and solar altitude angle α. And it should be used suns azimuth angle ψ to know the Sun's relative direction along the local horizon. These angles could be calculated from [39] where for Latakia we got: To calculate the distance between the solar rows it should be calculate the high of the solar panel from the Equation (11): where: x: length of the solar panel (m).
After that it will be calculated the maximum shadow length Equation (13): Therefore, = 3.26 m.
Then it could be calculating the distance between the solar rows (Minimum array row spacing) from the Equation (14): Therefore, = 2.393 m. So, the area for each solar panel is sum of the area which the solar panel covers on the roof and the area of its shadow according to Equation (15): where: Figure 15. Solar radiation data and electricity production in Latakia.
To calculate the electrical power which could be calculated from solar energy it will be used one solar panel with high power (420 W) due to the big areas and big demand of electric power. Therefore, we will calculate the needed area for each solar panel so we can calculate the total number of solar panels and electricity production. The calculations should be made on the 21 December because that is when the sun will be lowest in the sky where the shadow will be the longest and solar altitude angle α. And it should be used suns azimuth angle ψ to know the Sun's relative direction along the local horizon. These angles could be calculated from [39] where for Latakia we got: To calculate the distance between the solar rows it should be calculate the high of the solar panel from the Equation (11): where: x: length of the solar panel (m).
After that it will be calculated the maximum shadow length D Equation (13): Therefore, D = 3.26 m. Then it could be calculating the distance between the solar rows D (Minimum array row spacing) from the Equation (14): Therefore, D = 2.393 m.
So, the area for each solar panel is sum of the area which the solar panel covers on the roof and the area of its shadow according to Equation (15): where: y: width of the solar panel (m).
Therefore, S 1 = 5.353 m 2 . So, the number of solar panels which could be installed is calculated from Equation (16): The generated energy from the selected solar panel is calculated using the Equation (17): where: A: The solar panel area (2.588 m 2 ).
Therefore, E m = 1.819 kWh·day. So, the generated energy from all the solar panels for a year will be according to Equation (18): Therefore, E = 44.49 GWh. According to previous calculations, the total energy which could be generated from renewable sources is E us =286.061 GWh per year.

For Stable Sources
We have to install portable generators where the available portable generators before the war were only a few ones with small capacities so we can consider that E g = 0. Therefore, the power of these generators should be P p = E p /8760 = 108.556 MW.

For the Electricity Situation
We can find the effect of this system for each year since 2011 by dividing the total energy which could be generated by the emergency system by the total short-fall for each year as shown in Figure 16. We can find the effect of this system for each year since 2011 by dividing the total energy which could be generated by the emergency system by the total short-fall for each year as shown in Figure  16.  So, the proposed solution will compensate for the power generated from the generators because the total generated power from emergency system is 1237.014 GWh per year and the highest generated power from generators was 234.281 GWh in 2015 in addition to reducing the rationing hours as shown in Table 5.  Figure 17 shows the forests which has been cut in Latakia, where we can notice that the increase is gradual and it is not related to the energy shortage or demand because of many reasons. People move toward using wood because it is cheap also it is hard to control all the lands and forests to prevent this from happening. So, the proposed solution will compensate for the power generated from the generators because the total generated power from emergency system is 1237.014 GWh per year and the highest generated power from generators was 234.281 GWh in 2015 in addition to reducing the rationing hours as shown in Table 5.  Figure 17 shows the forests which has been cut in Latakia, where we can notice that the increase is gradual and it is not related to the energy shortage or demand because of many reasons. People move toward using wood because it is cheap also it is hard to control all the lands and forests to prevent this from happening. Cutting the trees will cause an increase in (CO2) and a decrease in (O2), where according to Reference [40,41] trees with a height of 9-12 dbh produce 22.6 kg (O2)/year and urban whole tree carbon storage densities average 7.69 kg/m 2 of tree cover per year where tree cover in Latakia is about 40% on average. Also, combustion of wood causes an increase in (CO2) and a decrease in (O2) and according to [42] the carbon concentration is about 45.7-60.7% in subtropical/Mediterranean species Cutting the trees will cause an increase in (CO 2 ) and a decrease in (O 2 ), where according to Reference [40,41] trees with a height of 9-12 dbh produce 22.6 kg (O 2 )/year and urban whole tree carbon storage densities average 7.69 kg/m 2 of tree cover per year where tree cover in Latakia is about 40% on average. Also, combustion of wood causes an increase in (CO 2 ) and a decrease in (O 2 ) and according to [42] the carbon concentration is about 45.7-60.7% in subtropical/Mediterranean species where each tree weighs about 120 kg. Therefore, cutting the trees and burning them will be very harmful to the environment. If the emergency system had been used in Latakia city it would have been able to reduce the emissions which have occurred in the 6 years as shown in Figure 18. 2. Generators: According to [40] the emissions from diesel generator sets are a mixture of gases primarily comprised of Carbon Monoxide (CO), Oxides of Nitrogen (NOx), unburned Hydrocarbons (HC) and soot particles (particulate matter or PM). Emission norms are specified based on the number of grams of these compounds present in diesel exhaust per kilowatt-hour of electricity generated. The emission limits reached of (NOx) are up to 9.2 g/kWh, 1.3 g/kWh in the case of (HC), 3.5 g/kWh in the case of (CO) and 0.3 g/kWh of (PM). Figure 19 shows the emissions from the portable generators which shows how these generators could be harmful for people's health and the environment inside the city. Thus, the reduced amounts of emissions during the 6 years would be as shown in the figure.

Conclusions
Lack of planning of secure energy sources and depending on one source to generate electricity

2.
Generators: According to [40] the emissions from diesel generator sets are a mixture of gases primarily comprised of Carbon Monoxide (CO), Oxides of Nitrogen (NO x ), unburned Hydrocarbons (HC) and soot particles (particulate matter or PM). Emission norms are specified based on the number of grams of these compounds present in diesel exhaust per kilowatt-hour of electricity generated. The emission limits reached of (NO x ) are up to 9.2 g/kWh, 1.3 g/kWh in the case of (HC), 3.5 g/kWh in the case of (CO) and 0.3 g/kWh of (PM). Figure 19 shows the emissions from the portable generators which shows how these generators could be harmful for people's health and the environment inside the city. Thus, the reduced amounts of emissions during the 6 years would be as shown in the figure.
Energies 2018, 11, x FOR PEER REVIEW 19 of 22 Figure 18. Increase in (CO2) and decrease in (O2) due to cutting the trees and the combustion of wood.
2. Generators: According to [40] the emissions from diesel generator sets are a mixture of gases primarily comprised of Carbon Monoxide (CO), Oxides of Nitrogen (NOx), unburned Hydrocarbons (HC) and soot particles (particulate matter or PM). Emission norms are specified based on the number of grams of these compounds present in diesel exhaust per kilowatt-hour of electricity generated. The emission limits reached of (NOx) are up to 9.2 g/kWh, 1.3 g/kWh in the case of (HC), 3.5 g/kWh in the case of (CO) and 0.3 g/kWh of (PM). Figure 19 shows the emissions from the portable generators which shows how these generators could be harmful for people's health and the environment inside the city. Thus, the reduced amounts of emissions during the 6 years would be as shown in the figure.

Conclusions
Lack of planning of secure energy sources and depending on one source to generate electricity can lead to energy crises in the case of unexpected situations such as armed conflicts. Renewable

Conclusions
Lack of planning of secure energy sources and depending on one source to generate electricity can lead to energy crises in the case of unexpected situations such as armed conflicts. Renewable energy sources are secure because they can work as local energy sources so they can play a major role in the emergency system for any city or country but we need stable sources of energy too. This research could be used to design a local emergency system for any city depending on many factors such as population, energy demand, available renewables sources, and so forth, which will be very useful for energy security in any city or country. Designing the emergency energy system has been done according to points such as capacity of the system, future needs, expected threats on the system. In addition, to make sure that the system will be stable and able to provide the most needed requirements of the city by choosing more than half of the system as big portable generators. This research gives a guide for any city or governate all needed parameters to start designing emergency energy system. The case of Latakia city is a real case so these data can be used as a basis for designing an emergency security system in the current world with insecure fuel lines, wars and disasters. This information and data could be used also as a reference for further studies regarding electricity and the environment in Latakia or Syria.