**7. Elements of technology for modeling of the energy hub**

**Figure 3** shows general structure of the energy hub simulation model, which was constructed by Matlab/Simulink software capabilities [21]. This structural scheme presents three energy supply channels: 1 - electric power; 2 - heat; 3 - gas. The model implements the functions of transformation, conversion and storage of energy, and an additional summation function whose concept is understandable from **Figure 3**.

**Figure 4** presents detail structure of the energy hub simulation model for the electric power supply channel using representation of elements by images of Matlab/Simulink software. Here 1 and 6 present direct and inverse transformations of state variables; 2 and 4 present the electricity transfer; 3 presents the transformer sub-station model; 5 presents the energy storage device model.

**Figure 4** takes into account the peculiarities of simulation modeling procedures of Matlab/Simulink software, including propagation and conversion of presented system.

**Figure 5** gives an example of an integrated scheme based on two energy supply channels. A black line here denotes a channel of a heat network; gray one denotes a

#### **Figure 3.**

*General structure of the energy hub simulation model. (channels: 1 - electric power supply; 2 - heat supply; 3 - gas supply).*

*Simulation Modeling of Integrated Multi-Carrier Energy Systems DOI: http://dx.doi.org/10.5772/intechopen.99323*

*Flow chart of electric power supply channel for the energy hub simulation model.*

**Figure 5.**

*An integrated scheme based on two energy supply channels.*

channel of an electric network. A squares denote hubs locations, which represent electricity and heat consumers.

The example in **Figure 5** shows, that two energy channels (electric power and heat) go to one consumer. Taking into account storage systems and systems for conversion of electric power into heat we will have complex energy hub based on presented consumer.

Rather simple elements of electric power and heat supply systems can be presented by simulation models from Matlab/Simulink library. According to above noted approach, it is necessary to create additionally the library of energy hubs simulation models. **Figure 6** presents the integrated simulation model of energy supply systems (electric power and heat) including energy hub with two energy supply channels.

The simple elements of individual energy supply systems are used from the basic library of Sim Power Systems which is sub-system of Matlab/Simulink.

WEI and WS elements represent energy consumption and storage, which connected by electric power supply channel. WH is the energy consumption by heat supply channel. KP1 - KP4 are the elements, which works taking into account efficiency of the energy conversion. WE-WH represent electricity converted into the heat energy.

**Figure 6.** *Construction of integrated simulation model with two energy supply channels in Matlab/Simulink.*
