{'fraction_non_alphanumeric': 0.026290336762507693, 'fraction_numerical': 0.02060435534452944, 'mean_word_length': 4.650877774097383, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The Use of Direct Carbon Fuel Cells in Compact Energy Systems for the Generation of Electricity, Heat and Cold

The study presents a concept and calculations concerning the operation of the direct carbon fuel cell (DCFC) with molten hydroxide electrolyte (MH-DCFC) as the basic source of electricity integrated with heat and cool air generation systems. The technology of direct carbon fuel cells assumes the direct use of a carbon fuel (such as fossil coal, carbonized biomass, graphite, coke etc.) to generate electricity with high efficiency and low impact on the environment. These cells operate by utilizing carbon fuel in the range of temperatures of 673–973 K and allow for generation of electricity with an efficiency of about 56%. In order to improve the fuel conversion efficiency, the heat generated in the process of cell cooling can be used to prepare hot water, for heating during the heating season, while during the summer period, heat from cooling of the direct carbon fuel cells can be utilized in the process of cool air production (chilled air) using absorption chillers for e.g. air conditioning. This paper presents a case study and simulation calculations of the system composed of MH-DCFC that generates electricity, and runs heat exchangers and an absorption chiller, integrated with the fuel cell to generate heating and cooling for improving the efficiency of the whole system. The maximum heat and cool streams that can be obtained during the operation of the cell were also evaluated. The results obtained in the study can be helpful in the design of autonomous buildings equipped in direct carbon fuel cells as sources of electricity integrated with the systems of heat and cool generation.


Introduction
Noticeable tendencies in the development of energy technologies are being observed in the European Union and all over the world, with their major task being not only to increase generation capacity but also to improve the efficiency of conversion of coal (which is the largest source of energy for generating electricity and the most abundant fossil fuel in the world [1,2]) combined with activities commonly termed "sustainable development" [3,4]. Coal is known as the most carbon-intensive fossil fuel and the continuing use of coal in global electrification could have implications for climate change mitigation strategies [5][6][7][8]. Nevertheless, coal will still play an important role in energy systems that support sustainable development for the foreseeable future. This is because of coal's unique combination of advantages: it is low-cost fuel, it is easy and safe to transport and store and it is available from a wide range of sources. Therefore, coal remains essential in achieving a diverse, balanced and secure energy mix. It can also meet the growing energy needs of many developing countries. On the other hand, electricity generation from coal generates several pollutants including CO 2 (greenhouse gas (GHG)), SO x , NO x , particulate matter (PM) and heavy metals which are accumulated in air and 2 of 11 water and lead to severe environmental and health impacts. Therefore, new innovative technologies are needed to be developed for generation of energy from coal with low pollutants emissions and high conversion efficiency.
The development of cogeneration, trigeneration or polygeneration which consists of the production of two or more energies (or other products) simultaneously is a viable option for raising the effectiveness of coal chemical energy use. Generally, these technological solutions offer many environmental and economic benefits. Moreover, among numerous modern high-performance and low-emissions energy technologies that allow for transformation of coal into electricity and heat, the most interesting are direct carbon fuel cells (DCFCs). This technology is promising and has been extensively explored recently in research and development studies [9][10][11][12][13]. DCFC is a power generation device converting the chemical energy of coal directly into electricity. The energy is converted through direct electrochemical oxidation of the fuel without combustion or gasification processes and without using any 'intermediate' technologies or machinery (e.g., steam turbines, thermal engines, etc.). Furthermore, during operation, DCFCs do not emit pollutants such as SO x , NO x , or PM, since the only product of the electrochemical oxidation of carbon is carbon dioxide. The basic structure of a direct carbon fuel cell is identical to any of the other fuel cells. The only difference is that the anode chamber is supplied with a solid carbonaceous fuel (e.g., hard coals, biomass-derived biochars, active carbons, carbon black, graphite, coke, etc.) that is oxidized directly at the anode surface.
Compared to other technologies the solid carbon fueled fuel cells have several unique features and advantages offering higher thermodynamic efficiency and lower emission of carbon dioxide per unit of the generated electricity. On the other hand, high-quality waste heat is produced during operation of DCFCs, which should be managed to improve fuel conversion efficiency. In recent years, research problems concerning utilization of waste heat produced by those fuel cells has become very topical. Munnings et al. [14] proposed that waste heat from solid oxide direct carbon fuel cells (SO-DCFCs) could be used for fuel (coal) drying or pyrolysis, used within a low-pressure steam turbine or for syngas production. Consequently, the DCFCs can be viewed as both a coal-based power production technology and a key enabler for production of high-value-added products. Chen et al. [15] presented and analyzed a new hybrid system which mainly consisted of a DCFC with molten carbonate as an electrolyte (MC-DCFC), a regenerator and a Carnot heat engine, with the Carnot heat engine driven by the high-quality waste heat generated in the DCFC. It was found that performance of the MC-DCFC can be greatly enhanced by using a Carnot heat engine for further power generation. Yang et al. [16] developed a new model of a hybrid system composed of a MC-DCFC and a thermophotovoltaic cell (TPVC). New model of the DCFC-TPVC hybrid system using a TPVC to utilize the waste heat from a MC-DCFC showed that maximum power output density and efficiency is higher compared to the stand-alone MH-DCFC. Furthermore, the DCFC unit can be integrated into cogeneration, trigeneration or polygeneration systems for further improvement of efficiency, which is highly beneficial for climate mitigation by achieving a higher reduction in CO 2 emissions [17][18][19][20].
However, the research activities focus on solid oxide direct carbon fuel cells (SO-DCFCs) and molten carbonate direct carbon fuel cells (MC-MCFCs), but the direct carbon fuel cells with molten hydroxide electrolyte (MH-DCFC) have never been studied in terms of waste heat management and the possibility of integrating such a cell in cogeneration, trigeneration or polygeneration systems. The aim of the present paper is to present a new approach to effective recovery of waste heat generated in the MH-DCFC cell. This cell is considered a source of electricity and heat which can be used for heating, cooling and domestic hot water capacities for the building. The paper presents a case study and simulation calculations of the new cogeneration system (compact energy system-CES) composed of a MH-DCFC that generates electricity and CO 2 , and heat exchangers and an absorption chiller, integrated with fuel cell, to generate heat and cool for improving the efficiency of the whole system.

MH-DCFC and Concept of Compact Energy System Overview
In MH-DCFC, the electrochemical reaction between carbonaceous fuel and an oxidizing agent (pure oxygen or air) that produce electricity, takes place directly at the electrodes excluding the combustion or the moving machinery associated with conventional heat engines. A general overview of MH-DCFC operating principle is shown in Figure 1.

MH-DCFC and Concept of Compact Energy System Overview
In MH-DCFC, the electrochemical reaction between carbonaceous fuel and an oxidizing agent (pure oxygen or air) that produce electricity, takes place directly at the electrodes excluding the combustion or the moving machinery associated with conventional heat engines. A general overview of MH-DCFC operating principle is shown in Figure 1. As in all fuel cells that use a hydroxide electrolyte, general cell reactions in MH-DCFC are: Anode reaction: Cathode reaction: Overall reaction: Consequently, the MH-DCFC converts chemical energy directly into electrical energy so that the efficiency of electrochemical conversion of fuel is not limited due to the Carnot's rule. Therefore, the efficiency of a chemical process must be evaluated differently than conventional heat engines. Efficiency of DCFCs can be defined in many ways, as shown in Table 1.
It is also worth mentioning that overall net efficiency (ηfc = 0.56%) is related to electricity production in the fuel cell, so the remaining 44% is related to the heat generated by the current flow through the internal resistance of the cell. Knowing that the average electrical power of the cell was 0.23 W, the heat generated in the cell should be 0.18 W [21].
The details of design, configuration and the operating mechanism of MH-DCFC, as well as the details of efficiency calculations were described in previous papers [21][22][23][24][25].The idea of the CES is presented in Figure 2. Its basic element is a direct carbon fuel cell with molten hydroxide electrolyte fueled by coal, described above. Apart from MH-DCFC and the fueling system adjusted to the specifically prepared fuel (chemical composition and grain size), the CES includes: absorption chiller, CO2 cooling and compression system, heat exchangers, containers for oxygen, carbon dioxide, fuel, electrolyte, used electrolyte and system for control of fuel cell operation. The main criterion for the composition of the CES is opportunities to install them in 20′ (a standard ISO container of 20 feet long) or 40′ (a standard ISO container of 40 feet long) rail or maritime containers. As in all fuel cells that use a hydroxide electrolyte, general cell reactions in MH-DCFC are: Anode reaction: Cathode reaction: Overall reaction: Consequently, the MH-DCFC converts chemical energy directly into electrical energy so that the efficiency of electrochemical conversion of fuel is not limited due to the Carnot's rule. Therefore, the efficiency of a chemical process must be evaluated differently than conventional heat engines. Efficiency of DCFCs can be defined in many ways, as shown in Table 1.  It is also worth mentioning that overall net efficiency (η fc = 0.56%) is related to electricity production in the fuel cell, so the remaining 44% is related to the heat generated by the current flow through the internal resistance of the cell. Knowing that the average electrical power of the cell was 0.23 W, the heat generated in the cell should be 0.18 W [21].
The details of design, configuration and the operating mechanism of MH-DCFC, as well as the details of efficiency calculations were described in previous papers [21][22][23][24][25]. The idea of the CES is presented in Figure 2. Its basic element is a direct carbon fuel cell with molten hydroxide electrolyte fueled by coal, described above. Apart from MH-DCFC and the fueling system adjusted to the specifically prepared fuel (chemical composition and grain size), the CES includes: absorption chiller, CO 2 cooling and compression system, heat exchangers, containers for oxygen, carbon dioxide, fuel, electrolyte, used electrolyte and system for control of fuel cell operation. The main criterion for the composition of the CES is opportunities to install them in 20 (a standard ISO container of 20 feet long) or 40 (a standard ISO container of 40 feet long) rail or maritime containers. Further investigations assumed that the system will be fueled by hard coal as a main or reserve fuel (in the case of the probable lack of access to renewable fuels). Further investigations assumed that the system will be fueled by hard coal as a main or reserve fuel (in the case of the probable lack of access to renewable fuels). Table 1. MH-DCFC performance efficiency calculations [21].

MH-DCFC Module and Cogeneration System Characteristics
The above presented data concerning MH-DCFC indicate its high electrical efficiency (56%). Despite the high electrical efficiency of fuel cells during generation of electrical energy, it is necessary to constantly or periodically cool the cell. The heat generated during the cell's operation can be used for preparation of hot water and heating during the heating season or, using additional equipment (e.g., absorption chillers that produce chilled water) can be used to fuel air-conditioning systems.
Based on the information presented in the previous section and the design, configuration and operating mechanism of MH-DCFC described in references [21][22][23][24][25], the cell was rescaled to target electrical power of the 25 kWe that allows for its commercial use while ensuring opportunities for its transport. Maritime, rail and road transport is mainly based on 20′ and 40′ shipping containers. The

MH-DCFC Module and Cogeneration System Characteristics
The above presented data concerning MH-DCFC indicate its high electrical efficiency (56%). Despite the high electrical efficiency of fuel cells during generation of electrical energy, it is necessary to constantly or periodically cool the cell. The heat generated during the cell's operation can be used for preparation of hot water and heating during the heating season or, using additional equipment (e.g., absorption chillers that produce chilled water) can be used to fuel air-conditioning systems.
Based on the information presented in the previous section and the design, configuration and operating mechanism of MH-DCFC described in references [21][22][23][24][25], the cell was rescaled to target electrical power of the 25 kWe that allows for its commercial use while ensuring opportunities for its transport. Maritime, rail and road transport is mainly based on 20 and 40 shipping containers. The basic data of shipping containers are compared in Table 2. The main parameters necessary for fuel cell scaling are presented in Table 3.   Analysis of the data presented in Table 2 reveals that the maximal mass of fuel cell with necessary equipment and devices cannot exceed 28,200 kg or 26,200 kg depending on the container variant used.
The design of a MH-DCFC unit is shown in Figure 3. A fuel cell is composed of a casing typically made of nickel and a set of electrodes (anode and cathode-a series of nickel plates) submerged in the electrolyte. The electrode chambers are separated from each other with a porous separator made of e.g., nickel foam or porous ceramics. basic data of shipping containers are compared in Table 2. The main parameters necessary for fuel cell scaling are presented in Table 3.  Analysis of the data presented in Table 2 reveals that the maximal mass of fuel cell with necessary equipment and devices cannot exceed 28,200 kg or 26,200 kg depending on the container variant used.
The design of a MH-DCFC unit is shown in Figure 3. A fuel cell is composed of a casing typically made of nickel and a set of electrodes (anode and cathode-a series of nickel plates) submerged in the electrolyte. The electrode chambers are separated from each other with a porous separator made of e.g., nickel foam or porous ceramics. The cell is equipped in a system of continuous supply of oxygen and discharge of excess oxygen, which work together in a closed system (the O2 recirculation system is shown in Figure 4) to avoid heat losses due to continuous supply of a fresh oxidizer such as air. Operation of the cell is also The cell is equipped in a system of continuous supply of oxygen and discharge of excess oxygen, which work together in a closed system (the O 2 recirculation system is shown in Figure 4) to avoid heat losses due to continuous supply of a fresh oxidizer such as air. Operation of the cell is also possible using air instead of pure oxygen but an additional heat exchanger should be used in this option to recover the heat of excess air leaving the cell at the cathode side. The recovered heat would be used to heat the air stream supplied to the MH-DCFC. Outside the nickel casing there is a set of Energies 2018, 11, 3061 6 of 11 steam coil performing the role of heat exchanger that allows for heating water to the temperature of 368 K. maximal heat power of the coil system is 200 kW. A set of electrical heaters with power of 25 kW is installed in the lower part of anode chamber, with its task being electrolyte melting at the first cell activation and maintaining cell temperature at the adopted level in the case of the lack of reception of the electricity from the cell by external recipients (the electricity produced by the cell is used to maintain a certain operating temperature-standby mode). Operation of heaters allows for increasing the rate of heat accumulation in the cell through generation of heat from electrochemical processes and resistance heating of electrolyte with the heaters. Carbon dioxide generated during cell operation is collected under the anode cover and then cooled and compressed. A power outlet is mounted outside the cell casing in the form of electric terminals. For the assumed power, the necessary electrolyte volume is 12 m 3 , which corresponds to an electrolyte mass of 20,664 kg. The obtained values of electrolyte volume and mass allow for using the 20 containers for installation of a CES. Furthermore, this container has a favorable mass to volume ratio. Figure 4 presents the design of a cell in the 20 container with all necessary installations. The system is composed of a fuel cell (MH-DCFC unit) with electrical power of 25 kWe, fuel buffer (coal reservoir), set of bottles containing O 2 , buffer (reservoir) for ash and used electrolyte, system for cooling and compression of CO 2 , containers that store liquid CO 2 , system for control and measurement and transforming direct current into alternating current, buffer (reservoir) with reserve of NaOH ('fresh' electrolyte), absorption chiller with fixtures, cooling system for the absorption chiller and emergency cooling of the cell and system of O 2 recirculation in the cathode area. The cell cooling agent can be water or water vapour (steam) which is discharged from the system using pipes led outside the container. Total calculated mass of the system without fuel and electrolyte reservoirs and O 2 bottles is 28,000 kg. The weight of same fuel cell with electrolyte is 24,700 kg.
Energies 2018, 11, x FOR PEER REVIEW 6 of 11 possible using air instead of pure oxygen but an additional heat exchanger should be used in this option to recover the heat of excess air leaving the cell at the cathode side. The recovered heat would be used to heat the air stream supplied to the MH-DCFC. Outside the nickel casing there is a set of steam coil performing the role of heat exchanger that allows for heating water to the temperature of 368 K. maximal heat power of the coil system is 200 kW. A set of electrical heaters with power of 25 kW is installed in the lower part of anode chamber, with its task being electrolyte melting at the first cell activation and maintaining cell temperature at the adopted level in the case of the lack of reception of the electricity from the cell by external recipients (the electricity produced by the cell is used to maintain a certain operating temperature-standby mode). Operation of heaters allows for increasing the rate of heat accumulation in the cell through generation of heat from electrochemical processes and resistance heating of electrolyte with the heaters. Carbon dioxide generated during cell operation is collected under the anode cover and then cooled and compressed. A power outlet is mounted outside the cell casing in the form of electric terminals. For the assumed power, the necessary electrolyte volume is 12 m 3 , which corresponds to an electrolyte mass of 20,664 kg. The obtained values of electrolyte volume and mass allow for using the 20′ containers for installation of a CES. Furthermore, this container has a favorable mass to volume ratio. Figure 4 presents the design of a cell in the 20′ container with all necessary installations. The system is composed of a fuel cell (MH-DCFC unit) with electrical power of 25 kWe, fuel buffer (coal reservoir), set of bottles containing O2, buffer (reservoir) for ash and used electrolyte, system for cooling and compression of CO2, containers that store liquid CO2, system for control and measurement and transforming direct current into alternating current, buffer (reservoir) with reserve of NaOH ('fresh' electrolyte), absorption chiller with fixtures, cooling system for the absorption chiller and emergency cooling of the cell and system of O2 recirculation in the cathode area. The cell cooling agent can be water or water vapour (steam) which is discharged from the system using pipes led outside the container. Total calculated mass of the system without fuel and electrolyte reservoirs and O2 bottles is 28,000 kg. The weight of same fuel cell with electrolyte is 24,700 kg. The operation of the module can be divided into three stages: • Supplying the cell module in the container to the user (electrolyte is already in liquid state and fuel cell is in standby mode)-connecting the cell module with the current infrastructure (installation for hot water, chilled water and electricity). The operation of the module can be divided into three stages: • Supplying the cell module in the container to the user (electrolyte is already in liquid state and fuel cell is in standby mode)-connecting the cell module with the current infrastructure (installation for hot water, chilled water and electricity). • Fuel cell operation: production of electricity, heat and cold to meet the user needs. Replenishment of fuel and oxygen (exchange of bottles), exchange of the buffer with ash and consumed electrolyte, reception of liquid CO 2 . • Transport of the cell to the place of electrolyte regeneration (electrolyte in the liquid state), inspection and repairing the cell, electrolyte regeneration.
The fuel cell module (unit) presented in Figure 3 can produce a maximal electrical power of 25 kW e . Electricity generation efficiency in the cell was assumed to be 55.5%. With maximal electrical power, heat flux generated in the electrochemical processes amounts to 20 kW th , which corresponds to the thermal power of the cell of 20 kW th .
The minimum operational temperature is 673 K and is limited by the electrolyte melting temperature (589 K). Maximum cell operating temperature of 973 K is limited by the mechanical strength of the cell structure and the increase in cell components corrosion rate.
The Compact Energy System presented in Figure 2 can be operated with the following variants: (A) Generation of electricity (P e = 25 kW e ) and heat (P th = 20 kW th ) with ratio P e /P th of 1.25; (B) Generation of electricity and storage of heat in molten electrolyte; (C) Generation of electricity and cold using an absorption chiller; With electrical capacity of the fuel cell of 25 kW e and an efficiency of 55.5%, the heating power of the cell is 20 kW th . In the case of cell operation with the above power specifications, the cell (electrolyte) temperature will not be changed.
Heat and electricity demand is mostly varied, with the highest demand for electricity observed over the day, whereas in the winter season, the highest demand for heat occurs at night.
The proposed design of the cogeneration system of the cell allows for the separated use of electricity and heat. This is possible due to accumulation of heat in the molten electrolyte and structural components of the cell. Mass of electrolyte contained in the cell is 20,664 kg, whereas specific heat of molten electrolyte in the range of temperatures from 592 K to 973 K can be described by the following equation [26]: All cell components which are in contact with molten electrolyte are made of nickel, with its specific heat ranging from 100 K to 1500 K, as presented in Table 4. Table 4. Values of specific heat for nickel [27]. 232  200  383  400  485  600  592  800  530  1000  562  1200  594  1500  616 Based on the design data of the cell model, a mathematical model of cell operation in the range of temperatures of 673-973 K was developed using the C++ software.

Variant A
With nominal electrical and heat power and other operating conditions for which ratio of electricity to heat generation is P e /P th = 1.25 (for cell efficiency of 55.5%), electrolyte temperature remains unchanged.

Variant B
In the case of electricity production without heat reception from the cell, the heat generated from the cell in electrochemical processes leads to an increase of electrolyte temperature. The safe range of cell operating temperatures adopted is 673-973 K and at temperature of 673 K, the amount of heat collected in the cell equals zero. Figure 5 presents the amount of heat collected in the cell. The highest amount of heat is collected in the electrolyte (Q NaOH ) due to its mass and specific heat (mean specific heat of the electrolyte for the range of 673-973 K is 2.118 kJ kg −1 ·K −1 ). The amount of heat collected in structural components of the cell (Q Ni ) is over 19 times lower, which results from their lower mass and lower specific heat (mean specific heat of nickel for the range of 673-973 K is 0.546 kJ kg −1 ·K −1 ). The amount of heat in the cell for the range of 673-973 K is 13.287 GJ.

Variant B
In the case of electricity production without heat reception from the cell, the heat generated from the cell in electrochemical processes leads to an increase of electrolyte temperature. The safe range of cell operating temperatures adopted is 673-973 K and at temperature of 673 K, the amount of heat collected in the cell equals zero. Figure 5 presents the amount of heat collected in the cell. The highest amount of heat is collected in the electrolyte (QNaOH) due to its mass and specific heat (mean specific heat of the electrolyte for the range of 673-973 K is 2.118 kJ kg −1 •K −1 ). The amount of heat collected in structural components of the cell (QNi) is over 19 times lower, which results from their lower mass and lower specific heat (mean specific heat of nickel for the range of 673-973 K is 0.546 kJ kg −1 •K −1 ). The amount of heat in the cell for the range of 673-973 K is 13.287 GJ.  If the cell reaches the temperature of 973 K, it is necessary to switch it off or transfer the heat in an amount that ensures maintaining the temperature of the cell at a constant level.

Variant B
In the case of electricity production without heat reception from the cell, the heat generated from the cell in electrochemical processes leads to an increase of electrolyte temperature. The safe range of cell operating temperatures adopted is 673-973 K and at temperature of 673 K, the amount of heat collected in the cell equals zero. Figure 5 presents the amount of heat collected in the cell. The highest amount of heat is collected in the electrolyte (QNaOH) due to its mass and specific heat (mean specific heat of the electrolyte for the range of 673-973 K is 2.118 kJ kg −1 •K −1 ). The amount of heat collected in structural components of the cell (QNi) is over 19 times lower, which results from their lower mass and lower specific heat (mean specific heat of nickel for the range of 673-973 K is 0.546 kJ kg −1 •K −1 ). The amount of heat in the cell for the range of 673-973 K is 13.287 GJ. Maximum operating time of the cell with power of 25 kWe, starting from cell temperature of 673 K to 973 K is 184 h. It allows for accumulation of 13.287 GJ of heat. Figure 6 presents the characteristics of the temperature increase during heat accumulation in the cell with the electrical power of the cell set at 25 kWe. If the cell reaches the temperature of 973 K, it is necessary to switch it off or transfer the heat in an amount that ensures maintaining the temperature of the cell at a constant level. If the cell reaches the temperature of 973 K, it is necessary to switch it off or transfer the heat in an amount that ensures maintaining the temperature of the cell at a constant level. Heat accumulated in the cell can be used for heating, production of hot water or the purposes of powering an absorption chiller. The cell design allows for collecting heat from the fuel cell at a maximal power of 200 kW. This allows for discharging the idle cell (from 673 K to 973 K) in 18 h and 27 min, whereas if the cell is operates at its nominal power of 25 kW e , the time of cell discharge is 20 h and 30 min. After this time, the cell temperature reaches 673 K. If the cell temperature declines below 673 K, the automatic control system starts the idle cell at nominal power and the heat generated during electrochemical processes increases electrolyte temperature. The electrical heaters present in the cell with power of 25 kW ensure the reception of electricity. In this case, it is possible to quickly replenish the accumulated heat with power of 45 kW th . If the heat is expected to be used at power lower than the peak value of 200 kW, the time of battery heat discharge is accordingly longer.

Variant C
Apart from supplying electricity and heat, the fuel cell also allows for generation of cold using absorption chiller technology. Figure 7 presents an absorption chiller chosen for the installation with maximal cooling power of 45 kW. Heat accumulated in the cell can be used for heating, production of hot water or the purposes of powering an absorption chiller. The cell design allows for collecting heat from the fuel cell at a maximal power of 200 kW. This allows for discharging the idle cell (from 673 K to 973 K) in 18 h and 27 min, whereas if the cell is operates at its nominal power of 25 kWe, the time of cell discharge is 20 h and 30 min. After this time, the cell temperature reaches 673 K. If the cell temperature declines below 673 K, the automatic control system starts the idle cell at nominal power and the heat generated during electrochemical processes increases electrolyte temperature. The electrical heaters present in the cell with power of 25 kW ensure the reception of electricity. In this case, it is possible to quickly replenish the accumulated heat with power of 45 kWth. If the heat is expected to be used at power lower than the peak value of 200 kW, the time of battery heat discharge is accordingly longer.

Variant C
Apart from supplying electricity and heat, the fuel cell also allows for generation of cold using absorption chiller technology. Figure 7 presents an absorption chiller chosen for the installation with maximal cooling power of 45 kW. In the case of the analyzed co-generation system (CES), the absorption chiller was powered with hot water. Table 5 presents basic specifications of an absorption chiller. The energy efficiency rating is 0.75. This means that for the electrical power of the cell of 25 kWe (thermal power of the cell of 20 kWth) in the steady state (unchanged electrolyte temperature), cold can be generated at 15 kW. Considering heat accumulation in the cell and production of cold for only 8 h, it is possible to install absorption chillers with cooling power of 45 kW.  In the case of the analyzed co-generation system (CES), the absorption chiller was powered with hot water. Table 5 presents basic specifications of an absorption chiller. The energy efficiency rating is 0.75. This means that for the electrical power of the cell of 25 kW e (thermal power of the cell of 20 kW th ) in the steady state (unchanged electrolyte temperature), cold can be generated at 15 kW. Considering heat accumulation in the cell and production of cold for only 8 h, it is possible to install absorption chillers with cooling power of 45 kW.

Conclusions
The proposed design of a cogeneration system with a direct carbon fuel cell allows for using coal as a source for generation of electricity and heat or cold. The electrolyte contained in the cell and its structural components represent a heat storage area capable of collecting an amount of heat of 13.287 GJ. This heating capacity allows for its operation at nominal electrical power for 184 h without receiving heat from the cell. The cell design allows for collecting heat from the fuel cell at a maximal power of 200 kW. With the amount of heat collected in the cell, the maximum time of cell discharge with the maximum power of 200 kW is 18 h and 27 min if electricity is not generated. If the cell is operated at nominal power (25 kW e ), the heat accumulated in the cell allows for using the cell at 200 kW for 20 h and 30 min. The heat accumulated in the cell can be used to power an absorption chiller with a cooling capacity of 45 kW. The automatic control system allows for control of the fuel cell over asafe range of temperatures. If the temperature falls below the electrolyte temperature of 673 K, the system starts the fuel cell to power the heaters installed in the lower part of the cell anode chamber, which helps to quickly increase the cell temperature and accumulate the required amount of heat.
The proposed solution can be used to supply electricity to detached houses or multi-family buildings and also as a source of heat or cold. The proposed system can represent a source of electricity used to charge electrical vehicles at night, which will beneficially impact on the operation of the cell, thus allowing for accumulation of heat for the purposes of powering of the absorption chiller over the day. The system of cooling, compression and condensation of CO 2 allows for CO 2 storage. Consequently, the installation can be considered as a zero-emission system if CO 2 stored is reused as a substrate, e.g., in industrial processes.