원시데이터 수집 시스템
선정목록으로

Integration of an Energy Management Tool and Digital Twin for Coordination and Control of Multi-vector Smart Energy Systems

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. O'Dwyer, Edward
  2. Pan, Indranil
  3. Charlesworth, Richard
  4. Butler, Sarah
  5. Shah Nilay
DOI
10.48550/arxiv.2007.12129
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
2
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2007.12129
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W6910800265

평가 내용

관련도
관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

As Internet of Things (IoT) technologies enable greater communication between energy assets in smart cities, the operational coordination of various energy networks in a city or district becomes more viable. Suitable tools are needed that can harness advanced control and machine learning techniques to achieve environmental, economic and resilience objectives. In this paper, an energy management tool is presented that can offer optimal control, scheduling, forecasting and coordination services to energy assets across a district, enabling optimal decisions under user-defined objectives. The tool presented here can coordinate different sub-systems in a district to avoid the violation of high-level system constraints and is designed in a generic fashion to enable transferable use across different energy sectors. The work demonstrates the potential for a single open-source optimisation framework to be applied across multiple energy vectors, providing local government the opportunity to manage different assets in a coordinated fashion. This is shown through case studies that integrate low-carbon communal heating for social housing with electric vehicle charge-point management to achieve high-level system constraints and local government objectives in the borough of Greenwich, London. The paper illustrates the theoretical methodology, the software architecture and the digital twin-based testing environment underpinning the proposed approach.

본문 82,011자

본문 펼치기
## Integration of an Energy Management Tool and Digital Twin for Coordination and Control of Multi-vector Smart Energy Systems Edward O’Dwyer <sup>a,</sup> <sup>_∗_</sup>, Indranil Pan <sup>b,c</sup>, Richard Charlesworth <sup>d</sup>, Sarah Butler <sup>e</sup>, Nilay Shah <sup>a</sup> _aCentre_ _for_ _Process_ _Systems_ _Engineering_ _and_ _Department_ _of_ _Chemical_ _Engineering,_ _Imperial_ _College_ _London,_ _SW7_ _2AZ,_ _UK_ _bCentre_ _for_ _Process_ _Systems_ _Engineering_ _and_ _Centre_ _for_ _Environmental_ _Policy,_ _Imperial_ _College_ _London,_ _SW7_ _2AZ,_ _UK_ _cThe_ _Alan_ _Turing_ _Institute,_ _The_ _British_ _Library,_ _London,_ _NW1_ _2DB,_ _UK_ _dSiemens_ _Energy_ _Management,_ _Digital_ _Grid,_ _Nottingham,_ _UK_ _eThe_ _Royal_ _Borough_ _of_ _Greenwich,_ _The_ _Woolwich_ _Centre,_ _35_ _Wellington_ _Street,_ _Woolwich,_ _SE18_ _6HQ,_ _UK_ Abstract As Internet of Things (IoT) technologies enable greater communication between energy assets in smart cities, the operational coordination of various energy networks in a city or district becomes more viable. Suitable tools are needed that can harness advanced control and machine learning techniques to achieve environmental, economic and resilience objectives. In this paper, an energy management tool is presented that can offer optimal control, scheduling, forecasting and coordination services to energy assets across a district, enabling optimal decisions under user-defined objectives. The tool presented here can coordinate different sub-systems in a district to avoid the violation of high-level system constraints and is designed in a generic fashion to enable transferable use across different energy sectors. The work demonstrates the potential for a single open-source optimisation framework to be applied across multiple energy vectors, providing local government the opportunity to manage different assets in a coordinated fashion. This is shown through case studies that integrate low-carbon communal heating for social housing with electric vehicle charge-point management to achieve high-level system constraints and local government objectives in the borough of Greenwich, London. The paper illustrates the theoretical methodology, the software architecture and the digital twin-based testing environment underpinning the proposed approach. _Keywords:_ Urban energy systems, smart cities, building energy, transport energy, machine learning 1. Introduction Cities account for approximately 60-80% of global energy consumption and are responsible for a similar share of global _CO_ 2 emissions [1]. Driven by environmental concerns _∗_ Corresponding author _Email_ _address:_ `e.odwyer@imperial.ac.uk` (Edward O’Dwyer) _Preprint_ _submitted_ _to_ _Elsevier_ _July_ _24,_ _2020_ and urbanisation trends [2], a clear motivation to significantly reduce the carbon intensity of the urban energy sector has emerged. When considering the transition from fossil fuel dependence to a low carbon future, the presence of large concentrated heating, cooling and electrical power demands in the urban environment poses a significant technical challenge. As the electrification of heating and transport sectors is projected to increase [3] for example, the infrastructural requirements for a resilient power grid needs to be prioritised. Conversely, this multi-vector demand problem also presents opportunities for cross-cutting synergies to be exploited [4]. The proliferation of wireless sensing and communication networks and the more widespread adoption of Internet of Things (IoT) concepts provide the opportunity to reduce the environmental impacts of the energy sector while improving system resilience [5]. Key to achieving this is the suitable deployment of computational intelligence and advanced control strategies that can provide optimal operational energy management decisions in real time [6]. The use of Machine Learning (ML) to inform operational actions in the urban energy landscape offers a means of turning ubiquitous data into useful information and distil it to actionable knowledge. Of particular relevance to the energy management problem is the use of ML to infer predictions of future energy consumption from historical data. Examples include Artificial Neural Network (ANN) and Genetic Algorithm (GA) based scheduling approaches [7, 8] and Long Short-Term Memory (LSTM) recurrent neural network models [9]. The use of advanced control strategies such as Model Predictive Control (MPC) also has well reported advantages over more traditional approaches for energy system management [10]. Cost, comfort and environmental objectives to be considered within a framework that can naturally incorporate system limitations and state-feedback. As such, MPC has been applied to smart building control [11, 12], micro-grid control [13] and district-level energy management [14, 15]. To enact these strategies, IoT-enabled smart energy management has been investigated in different sectors, with particularly active research in areas such as security and privacy [16] and communication technologies [17]. In [18] for example, an IoT network and control design was developed for energy management in a smart building context, promoting the concept of an intelligent home space while reducing energy consumption. An architecture for a building energy management IoT platform is developed in [19], utilising off-the-shelf data analytic and intelligence software to meet consumer demand. At the multi-vector district scale, simulation platforms such as MESCOS [20] and IDEAS [21] have been proposed to capture the key interactions between interconnected energy systems incorporating various supplies and demands. As new methods are developed and refined, energy management approaches must evolve appropriately and, to this end, a single reconfigurable framework that can contain forecasting and optimisation capabilities for real-time energy management is still required. While applications can vary across different sectors, many common underlying requirements exist, including optimisation formulations and solvers, model structures, data acquisition approaches and forecasting methods. To flexibly allow for different energy system types and contexts while enabling the incorporation of new functions and capabilities, an extensible framework would be required in a modular form to enable different configurations and user 2 preferences to be incorporated without significant software re-development. The goal of this paper is the development of an open-source software framework for use by local government to coordinate interconnected energy assets in a city or district. This tool, denoted the Sustainable Energy Management System (SEMS), is a set of modules incorporating advanced control in the form of MPC as well as ML-based forecasting algorithms to provide optimal operational decisions to the energy networks of a smart city or district. The SEMS decomposes the overall district-level problem into a set of subsystems and derives an optimal operational trajectory for each. A high-level coordination module then evaluates the proposed solutions from the district-level perspective, enforcing mitigating action in times of constraint violation. The SEMS consumes measurements and information relating to external influences in real time, sending updated set-points following a receding horizon-based MPC approach and would be used by owners of multiple flexible energy assets such as local government bodies. Given the complexity of the decision-making tasks involved, a key feature of the proposed methodology is the use of a suitable digital twin environment to test different approaches and scenarios, enabling analysis to be carried out from different stakeholder perspectives. The SEMS is integrated with an open-source digital twin tool to achieve this to be used both prior to implementation for design and in parallel with real-world operation to allow adaptive evaluation and updating of strategies. The main contributions of the work are as follows. The framework can be applied to muti-vector energy systems incorporating different applications while including a coordination layer to ensure the various sub-systems adhere to higher-level constraints. This is particularly important given the current push for greater electrification of heating and transport sectors. The extensible framework proposed allows different prediction algorithms and optimisation formulations to be implemented out without a major overhaul of the underlying code. Though a range of scenarios are presented in the paper, the SEMS has not been developed to fit to one application only, but to allow for scaling and transferal to different applications while incorporating different forecasting methods. Finally, the integration of the SEMS with a digital-twin simulation environment allows for potentially complex decisions to be informed by scenario-based analysis, thus ensuring that problems can be framed in a more tangible context. All components of the tool are developed with open-source software to encourage replication and growth. In Section 2, a detailed description of the different modules of the SEMS is presented, while the integration and deployment of the SEMS is then discussed in Section 3. Finally, the application of the SEMS to the EU-funded Sharing Cities project is presented. This includes a set of case studies used to illustrate the ability of the SEMS to control and coordinate assets across different energy sectors. 2. Modular control and scheduling framework _2.1._ _Requirements_ _for_ _flexibility_ _and_ _transferability_ A wide range of possible applications can exist in the energy management of a district, and no two district or cities will be the same. A tool that is over-specified to one context will not be transferable to others. As such, the SEMS developed here is designed to be generic 3 and modular, thus encouraging adaptation to different contexts. In this generic form, each subsystem is considered as a network of elements representing supplies, demands and energy stores generating useful energy from multiple resources to satisfy economic, environmental and user-centric objectives. The demand elements can be in the form of static time-series (if a demand cannot be influenced by the SEMS), or in the form of a state-space model (commonly used in MPC problems). In current form, the state-space model represents the dynamic relationship between the demand inputs and outputs - the SEMS will seek to choose a set of energy inputs that provide some desired behaviour in the demand outputs (e.g. maintaining the temperature in a building within comfort bounds). Other model forms could be readily incorporated, including physics-based approaches and could be in a discrete-event or hybrid switched mode form. By leveraging pre-existing open-source tools, best-practice approaches can be developed to fit specific applications. An arbitrary number of energy vectors can be included, and the energy supplies and stores can correspond to any class of technology. To further encourage the transferability of the SEMS, it is composed of solely open-source software, avoiding costs and barriers associated with licensing (the SEMS core itself is written in Python3.6). It is envisaged as an ever-evolving set of interchangeable modules which can expand naturally as new applications arise, rather than a single strictly defined pre-packaged set of algorithms. The following sections outline the modules currently used for model identification, forecast generation, control and coordination. However, if an alternative algorithm for one of these modules is preferred, it should be possible (within reason) to replace an existing algorithm with another, while keeping the rest of the framework intact (due to the modular architecture as discussed before). For the general form of the SEMS, robust linear approaches are then favoured over more sophisticated but application-specific non-linear approaches. The purpose of the SEMS is to deliver set-point recommendations to a lower-level control/actuator layer (for the sake of robustness and stability, it would not be desirable to directly send control signals to the assets using a cloud-based solution such as this [22]). _2.2._ _The_ _SEMS_ _subsystem_ _modules_ A schematic of the algorithm structure employed by the SEMS for each subsystem is shown in Fig. 1. The problem is first defined in terms of the system component parameters, boundaries and energy vectors as well as the modelling, forecasting and optimisation options to be used. In long-term intervals, re-parameterisation can be carried out to capture any slow or seasonal trends. Model states, set-points and generated forecasts are then updated at each time sample. The optimisation problem is solved and the optimally derived set-points, inputs and outputs for the following day are sent to the high-level system coordinator. If the high-level constraints are satisfied, the first elements of the optimal set-point trajectories are then sent to the real system. Otherwise, the system coordinator reformulates the subproblem constraints following the approach described in Section 2.3. The specific components that form this general approach are defined in detail in the following sections. 4 Operatorhinput Systemhmeasurements Externallyhavailableh Historicalhdata forecasts Forecasts Initialisation Periodichupdate Samplehupdate Optimisation Technologyhlimits SetTpoint recommendations Supplywhstorageh andhdemandhasseth parameterisation Optimisationh settingshandh parameterisation Initialhtraininghofh modelshandh forecasts Settinghsystemh boundaries UpdatehofhstateT spacehdemandh models ModelTstabilityh check Retraininghofh forecasthclassifiers Forecasth generation Demandhmodels:h updatehinitialh conditions Updatehdemandh setTpointhrequest Demandhmodels SetTpointhrequests Externalhinfluences Systemhboundaries Objectivehweights Solverhoptions Coordinator CheckhhighTlevelh systemh constraints Reformulateh subsystemh Buildhoptimisationh constraintshqh objectives Solvehoptimisationh problem GeneratehsetT pointshbasedhonh solution Errorhchecking/h anomalyhdetection SetTpoint recommendations Optimal trajectories Reformulated problems constraints Figure 1: Overview of individual sub-system optimisation _2.2.1._ _Forecast_ _generation_ Data-driven and ML approaches have become more common for forecasting temporal variables based on historical measurements, particularly when the underlying physical dynamics of the systems described by the variables are analytically complex. Examples include Artificial Neural Network (ANN) approaches for renewable energy generation [7] and building electricity demands [23]. To give a user the option of such a forecasting service, modules based on supervised ML techniques available using the Scikit-learn toolbox [24] are included in the SEMS framework. To illustrate the use of forecasting within the overall SEMS framework, two possible algorithms are described here. This is an active research area with many different routes for ML-based forecast generation possible and different approaches will be more applicable to different situations (a review is presented in [25] for example). As such, it must be emphasised that the algorithms in this section should only be seen as place-holders that can be replaced by different algorithms depending on the application and user preference insofar as they can fit within the generic framework, consuming data from the data-store and passing forecasts to the optimisation module. The first of the two approaches used is based on classification and clustering and is suited to forecasting demand or profiles with a repetitive profile (diurnal energy demands for example), while the second is a more typical regression-based approach using ANNs. An overview of the methods is provided here, with examples of the application of the algorithms to energy system forecasting problems presented in Section 4.2. It should be noted that the solvers and algorithms were chosen based on their performance in the applications presented - as stated, other configurations may be better suited to different applications. The concept behind the first approach centres on clustering and classification. The training data is broken into daily chunks, and a k-means clustering algorithm is used to develop a set of representative cluster prototypes. Using an ensemble classification approach such as Random Forest (RF) or Gradient Boost (GB), the forthcoming day is assigned to its most representative cluster prototype. This approach exploits the daily patterns that emerge in many energy system applications and ensemble approaches are reasonably robust 5 Prediction generation New data Historical features Training Historical profiles k-means clustering Clustered profiles 1 2 Ncl Classes Train Classifier Figure 2: Classification-based ML approach for forecast generation to over-fitting (which is particularly useful if the data quality is low). An example of such an approach would be the prediction of a building heating demand profile. The training feature set could comprise day-type information (e.g. weekend, weekday, holiday) and external temperature information. This is similar to the time series aggregation approaches developed for seasonal storage operation in [26] and [27]. A graphical representation of the approach is given in Fig.2. Alternatively, if common daily patterns are not expected, a regression-based ANN approach can be used. Conceptually, this approach is more straightforward. Using a standard multi-layer perceptron model and stochastic gradient descent optimisation algorithms, neural network weights can be derived with an input training data-set. The resulting relationship between features and outputs is then used to project future outputs for the forthcoming day. Different neural network architectures might work better in many instances, for example recurrent neural network and LSTM models have often been shown to perform well in time series predictions like this. The modelling paradigm is open for inclusion of all these ML model variants. _2.2.2._ _Control_ _formulation_ The primary aim of an energy management tool is to provide control decisions to the participating assets, for applications such as temperature regulation and supply technology choices in heat networks, energy storage deployment, electric vehicle charger curtailment for grid resilience etc. MPC, an advanced control technique, is a natural fit for such applications to its ability to optimise control actions to a given set of criteria while incorporating future system behaviour and explicitly handling system constraints. Applications are often limited 6 to academic study, partly due to the required implementation effort [28]. Implementing MPC at this scale introduces challenges in terms of handling the complexity of interconnected systems, modelling the relevant dynamics and implementing a software package that does not rely on proprietary algorithms and architectures. The proposed approach seeks to overcome many of these barriers, significantly expediting the design effort. The following features ensure that an appropriate condition is provided. A pre-defined constraint formulation that incorporates energy supply, storage and demand components is formed. This can be expanded or reduced as desired to fit to new applications and scenarios. Objective formulations are provided allowing for energy, cost, _CO_ 2 and/or discomfort minimisation, these being of particular interest in the energy domain. This optimisation formulation, at the heart of the MPC problem, is designed to be solved with open-source solvers and adaptable to different problems with little adjustment. Perhaps most importantly, as part of the framework, multiple MPC subproblems can be formed and coordinated via a highlevel master coordinator to account for the overlapping constraints and objectives of the district-level energy landscape. The subproblems can integrate with forecasting tools and external data repositories to allow for external factors to be considered in the optimisation problem without the compatibility issues that can arise when combining software tools. The framework can also be integrated with an open-source simulation tool for analysis and evaluation of strategies that may cut across multiple energy vectors. This can significantly reduce the time needed for the modelling stage of the control design process. These features are described in detail in the following sections. _State-space_ _model_ _generation:._ Formulating demand models as linear state-space systems has advantages for the definition of the MPC problem. It may be necessary to parameterise these state-space models using data-driven techniques. The SEMS once again employs the Scikit-learn library to do this, in this case using a ridge regression algorithm to choose model parameters that minimise the difference between historical measurements and modelled predictions of these historical terms. This approach has been included to illustrate the modelling ability, but it could be greatly expanded upon. For example, in applications containing non-linear dynamics, models would be linearised around particular operating points with the potential to switch between multiple models as the system moves from one operating point to another. Such approaches could be incorporated without affecting the structure of the tool. _Optimisation_ _Constraints:._ In this section, the constraints of the optimisation at the core of the MPC formulation associated with an individual subsystem are presented. In the SEMS, the problem is formulated using the Pyomo library [29, 30]. A supply technology (e.g. a boiler, PV panel, heat pump etc.) ( _s_ _∈_ _S_ ) converts energy from a resource or multiple resources to useful energy of type or multiple types, with a conversion efficiency from resource _p_ _∈_ _P_ to energy type _q_ _∈_ _Q_ given by _ηs,p,q_ . Where the superscript _sup_ is used throughout to denote variables relating to the supply technologies, the relationship between the energy generated ( _u_ <sup>_sup_</sup> _s,q,i_ <sup>) and resource consumed (</sup> <sup>_v_</sup> _s,p,q,i_ <sup>_sup_</sup> <sup>) is given</sup> <sup>_sup_</sup> _s,q,i_ <sup>) and resource consumed (</sup> <sup>_v_</sup> _s,p,q,i_ <sup>_sup_</sup> _s,p,q,i_ <sup>_sup_</sup> <sup>) is given</sup> 7 for each step along the prediction horizon ( _i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1]) by the following: _u_ <sup>_sup_</sup> _s,q,i_ <sup>=</sup> _p∈P_ _vs,p,q,i_ <sup>_sup_</sup> <sup>_ηs,p,q_</sup> (1) _∀s ∈_ _S, ∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] (2) The supply limits are constrained between upper and lower bounds, denoted _tech_ <sup>_max_</sup> and _tech_ <sup>_min_</sup> respectively: _vs,p,q,i_ <sup>_sup_</sup> _v_ <sup>_sup_</sup> _s,p,q,i_ <sup>_max_</sup> (3) _s,p,q,i_ <sup>_min_</sup> (4) _s,p,q,i_ <sup>_sup_</sup> <sup>_≤_</sup> <sup>_tech_</sup> _s,p,q,i_ <sup>_max_</sup> _s,p,q,i_ <sup>_sup_</sup> <sup>_≥_</sup> <sup>_tech_</sup> _s,p,q,i_ <sup>_min_</sup> _∀s ∈_ _S, ∀p ∈_ _P, ∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] Such supply technologies can represent heating, cooling and electrical generation assets in the system (e.g. boilers, Combined Heat and Power (CHPs), heat pumps, PV panels or wind turbines). The consumption of each energy resource by all supplies is limited between upper ( _Pmaxp,i_ ) and lower ( _Pminp,i_ ) bounds as follows: _Pminp,i_ _≤_ _s∈S,q∈Q_ _vs,p,q,i_ <sup>_sup_</sup> <sup>_≤_</sup> <sup>_Pmaxp,i_</sup> (5) _∀p ∈_ _P, i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] For renewable resources such as solar radiation or wind, the upper limits would correspond to the available power, whereas for a resource such as gas or electricity, the limits may be associated with limits imposed by an energy supplier (or self-imposed). Storage technologies ( _st ∈_ _St_ ) in the model are modelled with a charging efficiency ( _ηst_ <sup>_stv_</sup> <sup>),</sup> discharging efficiency ( _ηst_ <sup>_stu_</sup> <sup>) and storage loss efficiency (</sup> <sup>_η_</sup> _st_ <sup>_stl_</sup> <sup>).</sup> <sup>These storage technologies can</sup> Storage technologies ( _st ∈_ _St_ ) in the model are modelled with a charging efficiency ( _ηst_ <sup>_stv_</sup> _st_ <sup>_stu_</sup> <sup>) and storage loss efficiency (</sup> <sup>_η_</sup> _st_ <sup>_stl_</sup> discharging efficiency ( _ηst_ <sup>_stu_</sup> <sup>) and storage loss efficiency (</sup> <sup>_η_</sup> _st_ <sup>_stl_</sup> <sup>).</sup> <sup>These storage technologies can</sup> represent batteries and thermal stores, but also such a technology can represent the delay of the use of an EV charger (from an energy balance perspective, the delayed consumption can be seen as equivalent to a battery with a negative storage capacity). Variables associated with the storage technologies are given the superscript _sto_ throughout, where _vst,q,i_ <sup>_sto_</sup> <sup>and</sup> <sup>_u_</sup> _st,q,i_ <sup>_sto_</sup> are the charging power and discharging power respectively associated with energy type _q_ at time _i_, the state of charge ( _SoCst,q,i_ ) of the storage technology _st_ is defined as: _st,q,i_ <sup>_sto_</sup> <sup>and</sup> <sup>_u_</sup> _st,q,i_ <sup>_sto_</sup> <u>1</u> _st_ <sup>_stlSoCst,q,i_</sup> <sup>_−_</sup> _ηst_ <sup>_stu_</sup> _st_ <sup>_stvv_</sup> _st,q,i_ <sup>_sto_</sup> _st,q,i_ <sup>_sto_</sup> (6) _SoCst,q,i_ +1 = _ηst_ <sup>_stl_</sup> _u_ <sup>_sto_</sup> <sup>_sto_</sup> _st,q,i_ <sup>+</sup> <sup>_η_</sup> _st_ <sup>_stv_</sup> _st_ _∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] The state of charge is initialised with the measured value ( _SoCst,q_ <sup>_init_</sup> _st,q_ <sup>_init_</sup> <sup>), and the upper (</sup> <sup>_SoC_</sup> _st,q_ <sup>_max_</sup> The state of charge is initialised with the measured value ( _SoCst,q_ <sup>_init_</sup> <sup>), and the upper (</sup> <sup>_SoC_</sup> _st,q_ <sup>_max_</sup> <sup>)</sup> and lower bounds ( _SoCst,q_ <sup>_min_</sup> <sup>)</sup> <sup>are</sup> <sup>set</sup> <sup>using</sup> <sup>the</sup> <sup>following</sup> <sup>constraints:</sup> _st,q_ <sup>_min_</sup> <sup>)</sup> <sup>are</sup> <sup>set</sup> <sup>using</sup> <sup>the</sup> <sup>following</sup> <sup>constraints:</sup> _SoCst,q,_ 0 = _SoCst,q_ <sup>_init_</sup> (7) _SoCst,q_ <sup>_min_</sup> _st,q_ <sup>_min_</sup> <sup>_≤_</sup> <sup>_SoCst,q,i_</sup> <sup>_≤_</sup> <sup>_SoC_</sup> _st,q_ <sup>_max_</sup> _st,q_ <sup>_max_</sup> (8) _∀st ∈_ _St, ∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] 8 The stores are limited by upper and lower bounds on the charge and discharge powers as follows: _u_ <sup>_sto_</sup> _st,q_ <sup>_MIN_</sup> _vst,q_ <sup>_stoMIN_</sup> <sup>_sto_</sup> _st,q,i_ <sup>_≤_</sup> <sup>_u_</sup> _st,q_ <sup>_stoMAX_</sup> _st,q,i_ <sup>_sto_</sup> <sup>_≤_</sup> <sup>_v_</sup> _st,q_ <sup>_stoMAX_</sup> <sup>_sto_</sup> _st,q_ <sup>_MIN_</sup> _≤_ _u_ <sup>_sto_</sup> _st,q,i_ _st,q_ <sup>_stoMIN_</sup> _≤_ _vst,q,i_ <sup>_sto_</sup> _st,q_ <sup>_stoMAX_</sup> (9) _st,q_ <sup>_stoMAX_</sup> (10) _∀st ∈_ _St, ∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] Furthermore, the charging power of a store is constrained to be less than or equal to the power supply generated by the supply assets connected to that store. With the subset of store-connected supplies given as _S_ <sup>_st_</sup> _⊆_ _S_, this limit is defined by the following constraints: _st∈St_ _vst,q,i_ <sup>_sto_</sup> <sup>_≤_</sup> _s∈S_ <sup>_st_</sup> _,p∈P_ _u_ <sup>_sup_</sup> _s,p,q,i_ (11) _∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] For MPC-type problems, energy demands can be characterised in the form of a linear state-space model to which the energy of type _q_, generated by the supply assets and discharged by the stores, forms the input vector _u_ <sup>_in_</sup> _q,i_ <sup>as</sup> <sup>given</sup> <sup>by:</sup> <sup>_sto_</sup> _st,q,i_ <sup>_−_</sup> <sup>_v_</sup> _st,q,i_ <sup>_sto_</sup> _u_ <sup>_in_</sup> _q,i_ <sup>=</sup> ( _u_ <sup>_sto_</sup> _st,q,i_ <sup>_sto_</sup> <sup>) +</sup> _s∈S_ _u_ <sup>_sup_</sup> _s,q,i_ (12) _st∈St_ _∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] The demand model can also be influenced by external disturbances ( _ext_ _∈_ _Ext_ ) of type _ex_ _∈_ _Ex_ (in a model representing the thermal behaviour of a building for example, the internal temperature may be influenced by external factors such as solar radiation and ambient temperature). For such a demand element _m_, the relationship between these inputs and disturbances with the vectors of states ( x _m,i_ ) and outputs ( y _m,i_ ) are described by the following equations, where _Am_, _Bm_, _Em_ and _Cm_ represent the coefficient matrices of the model: x _m,i_ +1 = _Am_ x _m,i_ + _q∈Q_ _Bm,qu_ <sup>_in_</sup> _q,i_ + _ex∈Ex_ _Em,ex_ _ext∈Ext_ _dex,ext,i_ (13) y _m,i_ = _Cm_ x _m,i_ (14) x _m,_ 0 = x <sup>_init_</sup> _m_ (15) _∀m ∈_ _M, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] A soft constraint is used to penalise deviations of the output from the desired set-point in the MPC formulation, while an allowable set-point range can also be included. Where the upper and lower set-point bands are given as _sp_ <sup>_up_</sup> _m,i_ <sup>and</sup> <sup>_sp_</sup> _m,i_ <sup>_lo_</sup> <sup>respectively, the slack variables</sup> <sup>_up_</sup> _m,i_ <sup>and</sup> <sup>_sp_</sup> _m,i_ <sup>_lo_</sup> _m,i_ <sup>_lo_</sup> <sup>respectively, the slack variables</sup> 9 representing the deviation of the output outside the specified band are defined as: _ϵm,i_ _≥_ y _m,i −_ sp <sup>_up_</sup> _m,i_ (16) _ϵm,i_ _≥_ sp <sup>_lo_</sup> _m,i_ <sup>_−_</sup> <sup>y</sup> <sup>_m,i_</sup> (17) _∀m ∈_ _M, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] While some demands may fit this aforementioned MPC structure (e.g. building thermal systems), it may be preferable to view other demands in the form of a static time-series as opposed to a dynamic model, particularly if the demand cannot be directly altered. In such cases, the MPC problem becomes a scheduling problem based on energy balances between the supplies, stores and demands and the state space demand model is replaced by a timeseries demand forecast. The following constraint is used to ensure that the supply and storage mix chosen matches the total demand requirement (where each individual demand _de ∈_ _D_ is defined for energy type _q_ at time _i_ as _demde,q,i_ ): _s∈S,p∈P_ _st∈St_ <sup>_sto_</sup> _st,q,i_ <sup>_−_</sup> <sup>_v_</sup> _st,q,i_ <sup>_sto_</sup> _u_ <sup>_sup_</sup> _s,q,i_ <sup>+</sup> ( _u_ <sup>_sto_</sup> _st,q,i_ <sup>_sto_</sup> <sup>) =</sup> _de∈D_ _demde,q,i_ (18) _∀q_ _∈_ _Q, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] _Objectives:._ The optimisation objectives (denoted here by _J_ ) forming the cost function of an individual subsystem are next summarised. Three components are included in the overall objective. Factors associated with energy consumption are denoted by the superscript _nrg_, slack variable costs are denoted by the superscript _slack_ and additional miscellaneous userspecified penalties are denoted by _pen_ . Different factors (denoted _w_ _∈_ _W_ ) associated with the consumption of a resource (e.g. the _CO_ 2 emissions and financial cost associated with gas or electricity consumption) can be penalised, weighted by the coefficient _αw,p,i_ _∈_ [0 _,_ 1]. Larger values (closer to 1) imply that the associated term is more heavily penalised in the objective, while setting it to 0 implies that the term is not considered in the optimisation. The ratio of the weights across all objectives define the balance of the overall cost function, enabling a user to place more or less emphasis on different objectives. The following equation defines the objective corresponding to the energy related terms: _Ji_ <sup>_nrg_</sup> = _w∈W,p∈P,q∈Q_ _αw,p,ivs,p,q,i_ <sup>_sup_</sup> (19) _∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] (20) The use of a storage technology can also be penalised using the weighting coefficient _βst,i_ _∈_ [0 _,_ 1], with larger weights again corresponding to greater penalties in the cost function, as follows: _Ji_ <sup>_pen_</sup> = _q∈Q,st∈St_ 10 _βst,iSoCst,q,i_ (21) The purpose of such a penalty may be, for example, to discourage the delaying of EV chargers or the overuse of batteries. The presence of slack variables representing deviations of state-space model outputs from their corresponding set-points has been described previously. To penalise these deviations in the cost function, the weighting coefficient _γm_ _∈_ [0 _,_ 1] is used in the same manner as the previous weighting coefficients in the following equation: _Ji_ <sup>_slack_</sup> = _m_ _γmϵ_ <sup>2</sup> _m,i_ (22) These set-points may be one-sided, for example whereby the goal is to only penalise deviations below a set-point, not above (particularly relevant in heating system applications). These weighted objectives are combined in a single cost function. Once again, these must be appropriately weighted to ensure all terms are of the same scale and are balanced as per the user requirements. The weight applied to the energy consumption terms miscellaneous terms and slack variable terms are denoted _φnrg_ _∈_ [0 _,_ 1], _φpen_ _∈_ [0 _,_ 1] and _φslack_ _∈_ [0 _,_ 1] respectively. The following then represents the overall cost function to be minimised for the subsystem: _i_ <sup>_pen_</sup> + _φslackJi_ <sup>_slack_</sup> _i_ _J_ = _N_ _−_ 1 _i_ =0 - _φnrgJi_ <sup>_nrg_</sup> _i_ <sup>_nrg_</sup> + _φpenJi_ <sup>_pen_</sup> - (23) _φnrg_ + _φpen_ + _φslack_ = 1 (24) The formulation described is based on a deterministic optimisation. Given the uncertain nature of certain energy system components (energy demands may be heavily influenced by non-deterministic user behaviour for example), a stochastic or robust formulation may be appropriate. Although such an approach has not been applied here, it should be emphasised again that the specific formulation can be adapted for different applications in the future. For the problems considered in this work, deterministic optimisation is deemed adequate due to the slow nature of the underlying dynamics and the potential to use the digital twin to simulate a range of possible scenarios representing different levels of uncertainty in the system. _2.3._ _Coordination_ _layer_ _for_ _system-level_ _cooperation_ At a district level, the overall energy landscape may be composed of several subsystems, each of which can be handled by the optimisation formulation described in Section 2.2. Though these subsystems may be largely isolated from each other, they may draw power from the same energy sources. An example of this is the case whereby multiple heat networks and/or transport networks are dependent on the same electricity network. Coinciding demand peaks across the different subsystems (potentially quite likely due to coordinated patterns of behaviour) can lead to excessive grid stress if the optimisation of each subsystem is only carried out in isolation. As electrification of heating and transport sectors increases, 11 this scenario becomes more relevant. An important feature of the SEMS is the ability to coordinate the different subsystems when the total source requirement is predicted to exceed a specified threshold. For a subsystem _ℓ_ described by Eqns. (1) - (23), the predicted resource (of type _p_ ) requirement at time _i_ ( _Psubℓ,p,i_ ) can be defined as: _Psub_ <sup>_ℓ_</sup> _p,i_ <sup>=</sup> _s∈S,q∈Q_ _vs,p,q,i_ <sup>_sup_</sup> (25) For _L_ subsystems, the total predicted requirement of resource _p_ over the prediction horizon is then: _Ptotp,i_ = _L_ _ℓ_ =1 _Psubℓ,p,i, ∀i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] (26) _∀p ∈_ _P, i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] Where the system-wide resource limit is denoted _Plimp,i_, the excess resource requirement is then defined as _Pexp,i_, given as: _Pexp,i_ = _max_ (0 _, Plimp,i −_ _Ptotp,i_ ) (27) _∀p ∈_ _P, i ∈_ [0 _,_ 1 _, ..., N_ _−_ 1] (28) If this excess resource consumption is greater than 0 for any resource, the limits associated with that resource are tightened in each subsystem sequentially until the system-wide resource limit is satisfied. The subsystems must be set in a prioritised order 1 _...L_ such that _ℓ_ = 1 corresponds to the subsystem most open to resource restriction and _ℓ_ = _L_ corresponds to subsystem in which resource restriction is least desirable. The coordination algorithm is described in Algorithm 1. A graphical representation of the coordination mechanism is shown in Fig.3. 3. Integration of the SEMS and system simulation _3.1._ _Simulation_ _modelling_ _platforms_ _for_ _development_ _and_ _analysis_ At the district or neighbourhood level, energy systems can be composed of many possible subsystems in different configurations, while stakeholder priorities can be diverse. As previously discussed, where new algorithms and coordination approaches are to be applied, there is a need to test and refine strategies _in_ _silico_ prior to installation. Acting as a digital surrogate for the real system, a digital twin can combine on-line measurement updates with simulated system behaviour to improve operational decision-making strategies while providing more detailed performance insight and aiding the identification of faults and anomalies in the system. Furthermore, uncertainties in the models and predictions can be analysed through appropriate scenario testing. Underpinning a digital twin is a simulation environment capable of replicating the behaviour of the real system. Such a simulation environment is a vital tool in the development of a district-level energy management 12 <u>Algorithm</u> <u>1:</u> <u>Coordination</u> <u>of</u> <u>multiple</u> <u>sub-systems</u> Result: Predicted total power demand is less than system capacity threshold _ℓ_ _←_ 0; _Pexp,i_ = _max_ (0 _, Plimp,i −_ _Ptotp,i_ ) _, ∀p, ∀i_ ; while _Pexp,i_ _≥_ 0 _, ∀p, ∀i_ and _ℓ_ _≤_ _L_ do _ℓ_ _←_ _ℓ_ + 1; for _p ∈_ _P_ do for _i ←_ 0 to _N_ _−_ 1 do _Pmax_ ¯ <sup>_ℓ_</sup> <sup>_ℓ_</sup> _p,i_ <sup>_←_</sup> <sup>max(</sup> <sup>_Pminℓ_</sup> _Pmax_ ¯ <sup>_ℓ_</sup> _p,i_ <sup>_←_</sup> <sup>max(</sup> <sup>_Pmin_</sup> _p,i_ <sup>_ℓ_</sup> <sup>_, Psubℓ_</sup> _p,i_ <sup>_−_</sup> <sup>_Pexp,i_</sup> <sup>);</sup> _Pmax_ <sup>_ℓ_</sup> _p,i_ <sup>_←_</sup> <sup>_Pmax_</sup> <sup>¯</sup> _p,i_ <sup>_ℓ_</sup> <sup>_∀p, ∀i_</sup> <sup>;</sup> <sup>_ℓ_</sup> _p,i_ <sup>_←_</sup> <sup>_Pmax_</sup> <sup>¯</sup> <sup>_ℓ_</sup> _p,i_ <sup>_ℓ_</sup> <sup>_, Psubℓ_</sup> _Pmax_ <sup>_ℓ_</sup> _p,i_ <sup>_←_</sup> <sup>_Pmax_</sup> <sup>¯</sup> _p,i_ <sup>_ℓ_</sup> <sup>_∀p, ∀i_</sup> <sup>;</sup> end end reformulate and solve subproblem _ℓ_ ; update _Psubl,p,i_ and _Ptotp,i_ using Eqns. (25) and (26); _Pexp,i_ _←_ _Plimp,i −_ _Ptotp,i, ∀p, ∀i_ ; end Updated system measurements Initialise sub-problems ℓ==1 <u>N</u> ℓ==2 <u>N</u> Y Y p,i Pmax <sup>1</sup> p,i <sup><u>←Pmax1</u></sup> p,i Pmax <sup>2</sup> p,i <sup><u>←Pmax2</u></sup> p,i Pmax <sup>L</sup> <sup>L</sup> p,i <sup><u>←PmaxL</u></sup> Subproblem Subproblem 1 2 Subproblem Subproblem Subproblem 2 L L District-level supply-limit check Pexp,i==0 <u>Pmax</u> <sup>ℓ</sup> <sup>ℓ</sup> p,i <sup>←max(Pminℓ</sup> p,i <sup>,Psubℓ</sup> p,i p,i <sup>-Pex</sup> p,i <sup>)</sup> <u>N</u> ℓ←ℓ+1 Y Updated set-point recommendations Figure 3: Coordination of subsystems for district level supply constraint satisfaction 13 scheme. Through off-line simulations, software interfaces can be tested, control algorithms and operational strategies can be rigorously evaluated and proposed technological interventions can be validated. As part of the development of the energy management system, a suitable simulation environment is presented here. While simulation of the various sub-systems within an urban energy setting for these purposes is commonplace [31], the multi-scale, interconnected nature of the challenges faced, poses a problem for many common modelling software packages. The need to apply advanced control and ML-based strategies across various components while considering the interactions between the systems implies that a common modelling framework is required that can capture the various time-scales present in a multi-vector energy system, constructed in a modular format to ensure transferability and scalability. To satisfy these requirements, a simulation environment was developed using the Ptolemy II open-source modelling framework [32] using the Building Controls Virtual Test-bed (BCVTB) environment [33]. This allows for concurrent co-simulation of different software packages including EnergyPlus [34], which is used here as the building energy modelling tool. Once again, only open-source tools were included to encourage replication. _3.2._ _Simulation_ _modules_ _and_ _high-level_ _architecture_ The simulation environment can be viewed as a combination of energy source characteristics, conversion and storage technology models, demand models and external influence profiles (weather, energy prices, emission indicators etc.). Energy sources include gas, the electricity grid and renewable sources such as wind and solar radiation. Conversion technologies act as a bridge between the energy sources and the demands and can include heat generation (e.g. boilers, heat pumps), power generation (e.g. PV panels), cooling (e.g. chillers) or combined generation (e.g. CHPs), while storage technologies can be thermal or electrical in nature. Energy is conveyed from the conversion technologies to the demands (heat transfer is modelled in terms of temperatures and flow rates), managed via valves, switches and actuators and low-level control laws (e.g. PI controllers). The demand models characterise the consumption of this energy. Building heat demand is modelled using EnergyPlus, a software package in which detailed knowledge of the physical building envelope is used to generate a representative model of the heat requirement. The high-level architecture for the simulation environment is shown for a system with two generic subsystems in Fig. 4. Key to the validity of the simulation environment is the ability to communicate with the energy management platform in a manner that closely replicates the real system. To achieve this link, the Flask [35] web-app framework is used to pass measurements from the digital representation of the system to the SEMS and to return the derived set-points from the SEMS back to the twin. _3.3._ _Integrating_ _with_ _the_ _real-world_ In Fig. 5 the communication architecture between the simulation environment and the energy management system is shown. 14 EnergyPSources ElectricityPGrid GasPNetwork SolarPirradiance WindPspeed EnergyPConversionPSubsystemP1 Interconnection EnergyPConversionPSubsystemP2 CombinedP generationPassets ElectricalP generationPassets ExternalPinfluences EnergyPprices GridPCarbonP intensity HeatPgenerationP assets CombinedP generationPassets ElectricalP generationPassets HeatPgenerationP assets HeatPxkW2 ElectricalPPowerPxkW2 HeatPxkW2 ElectricalPPowerPxkW2 HeatP storageP assets SalePtoP grid EnergyPConsumptionPSubsystemP2 OperatingP costs HeatP storageP assets SalePtoP grid EnergyPConsumptionPSubsystemP1 ElectricalP storageP assets ElectricalP storageP assets OperationalP emissions HeatPdemandP ElectricalPdemandP models models ElectricalPdemandP HeatPdemandP ElectricalPdemandP models models ElectricalPdemandP models models <mark>AirPtemperature</mark> <mark>EVPrequests</mark> <mark>UserPset-points</mark> <mark>OccupancyPprofiles</mark> <mark>AirPtemperature</mark> <mark>EVPrequests</mark> <mark>UserPset-points</mark> <mark>OccupancyPprofiles</mark> <mark>OccupancyPprofiles</mark> <mark>OccupancyPprofiles</mark> Figure 4: High-level component architecture of simulation environment with two sub-systems The overall system consists of real physical assets with controllers (multiple sub-systems encircled with black dashed boundaries) interfaced with cloud based services indicated in blue (databases, SEMS algorithmic modules and digital twin). Each cloud service is containerised, hosted independently and communicates with the other modules through API calls. This ensures modularity, rolling updates for each service without updating the full system and resilience (multiple similar containers can be deployed on the cloud for reliability and load balancing purposes). The centralised data store service (Label A) can take inputs about system variables (from energy asset sub-systems) and environmental variables (from external sources, either modelled or in real time). These data-sets are queried by the SEMS core algorithms (Label B) with a web services /front-end interface (Label D) between the two. The web frontend allows the display of the system states and the controller actions through easily understandable graphs. The SEMS core block computes the set points and pushes them to the data-store. These updated set-points are pushed to the low-level control system of each asset through the SEMS integration module (Label C). The SEMS core makes decisions after updating the digital twin (Label E) with real time data, constraints etc. and receiving predictions from the digital twin. 4. Implementation: The SEMS in the Sharing Cities project _4.1._ _Application_ _to_ _the_ _smart_ _city_ _initiatives_ _of_ _Greenwich_ To demonstrate the use of the SEMS tool, the approach was applied to the smart cities interventions currently underway in the borough of Greenwich in London as part of the EUfunded Sharing Cities project [36]. The proposed activities include interventions in the built environment through retrofit and heating system electrification in part of the social housing stock and interventions in the transport sector through increased EV charger installation as well as the introduction of additional renewable generation capacity in the form of PV panels. The push for electrification of heating and transport sectors leads to a multi-vector, 15 ExternalTdata A Data store D C Boilers Water Source Heat Pumps Thermal Storage Sensing/ monitoring Sensing/ monitoring EnergyTassetTsubsystemT1 DataTacquisition x control We.g.TSCADAf DataTacquisition x control We.g.TSCADAf <mark>WebTservices</mark> <mark>WebTfrontend</mark> SEMS integration E B SEMS Core DigitalTtwin EnergyTassetTsubsystemT2 Figure 5: Data flows between the SEMS, the system components and the digital twin integrated energy landscape, in which electrical system capacity may be stretched without proper energy management approaches that can handle the interconnected nature of the various assets. In this way, it is highly suited to the deployment of an intelligent energy management system such as the SEMS. The development of a simulation environment that can represent the relevant energy systems in Greenwich is outlined in detail in [37]. Using the Ptolemy II-based platform described in Section 3, two subsystem models were developed. The first represents the proposed upgraded heating system of the Ernest Dence estate, a social housing complex comprising 95 flats with annual heating energy usage in its present form of approximately 2 GWh. A new Water-Source Heat Pump (WSHP) based system is to be installed including heat pumps, boilers and thermal storage. By reducing reliance on gas-based boiler systems and better insulating the buildings, the council seeks to significantly reduce the carbon footprint of the estate. The various components are modelled using generic Ptolemy actors, while the thermal representations of the housing units are developed using EnergyPlus, based on a model initially developed in the MOEEBIUS project [38]. The heat pump COP (calculated here a function between the source and the sink) is calculated based on the results of [39]. To validate the accuracy of the model, the measured pre-retrofit energy consumption over a 10-month period was compared to the predicted energy consumption produced by the model (set up in the pre-retrofit configuration). The plot in Fig.6 shows the measured and modelled average daily energy consumption as well as a scatter plot showing these consumption values plotted against the daily external air temperature. While a certain amount of deviation is expected due to assumptions about the user-behaviour (occupancy hours and internal temperature set-points are not known for example), the modelled consumption profile a good representation of the measured data, particularly capturing the relationship between the external air temperature and the heating requirement. Using typical building simulation 16 500 400 300 200 100 Measured Consumption ~~Modelled Consumption~~ 0 01/03/18 01/04/18 01/05/18 01/06/18 01/07/18 01/08/18 01/09/18 01/10/18 01/11/18 01/12/18 01/01/19 500 400 300 200 100 0 Measured Consumption ~~Modelled Consumption~~ -5 0 5 10 15 20 25 30 Average daily ambient temperature ( `°` C) Figure 6: Mean gas consumption vs. mean external air temperature at Ernest Dence: Modelled and measured metrics taken from ASHRAE guideline 14 [40], the Normalised Mean Bias Error (NMBE) is calculated as 0.7% while the Coefficient of Variation of the Root Mean Square Error (CV(RMSE)) is 25.9%. These values are within the ASHRAE guideline targets of _±_ 10% and 30% respectively. The second subsystem captured by the digital twin represents the increased penetration of electric vehicle usage in the district resulting from the installation of additional charging capacity as well as the installation of solar PV panels (with a combined generation capacity of 270 kWp) for power generation. The EV demand profiles are generated based on a combination of the average charging requirement profiles in the UK taken from [41] (300 vehicles are assumed), with an additional stochastic component added to represent realworld uncertainty. It is assumed that 50% of the EV charging request is associated with car-club and council-owned fleet vehicles, the charging of which can be delayed if required. The conversion of solar radiation to electrical energy is modelled as a function of the area, inclination and tilt of the panels, the latitude of the location, the time of day and year and the direct and diffuse solar irradiance as described in detail in [42]. The two subsystems can be simulated concurrently, communicating all relevant sensor measurements at each simulated time-step to the SEMS through a micro web framework (Flask). The SEMS then generates and returns a set of optimised set-points (described in the following sections) for the various simulated energy assets. The highest level of the digital twin implementation in Ptolemy is shown in Fig.7. _4.2._ _Configuration_ _of_ _the_ _SEMS_ _for_ _the_ _Greenwich_ _subsystems_ From a decarbonisation perspective, electrification of the heating and transport sectors can offer significant benefits for a district, however several challenges arise with such inter 17 Figure 7: Highest level of Greenwich subsystems digital twin interface ventions. For a start, the relatively high cost of electricity may result in increased heating bills for residents, while the likely timing mismatch between solar power generation and EV charger demand will reduce the potential for local utilisation of locally generated power. Furthermore, the new electrical loads will place additional strain on the power network, affecting resilience and potentially leading to a need for significant infrastructural development (which in turn leads to additional costs). The purposes of the SEMS in this scenario are then threefold: _•_ minimisation of some combination of financial cost and environmental impact _•_ maximisation of PV power utilisation for charging of EVs _•_ satisfaction of system-level power constraint, as set by a network operator To illustrate the application of the SEMS to these goals, a set of case studies are presented here using the SEMS with the digital twin, configured as described in Section 4.1. The case studies each demonstrate a 14-day simulation period from the 01/11/2018 - 14/11/2018. External temperature data for London was taken from [43], while solar radiation for the area was taken from data presented by the London Air Quality Network [44]. The historical solar radiation with 15 minute time samples was used as an input to the PV generation model - in this way, the stochastic varying nature of generated power is captured. Electricity and gas pricing for the time period was found using the approach described in [45] (with half hourly variations), while the Carbon Intensity API [46] was used to access both predictions and measurements of the _CO_ 2 intensity of the grid. A value of 0.184 _kgCO_ 2 _/kWh_ was assumed for the _CO_ 2 content of natural gas [47]. The selection and hyper-parameter tuning 18 <u>Gradient-boost</u> <u>Random</u> <u>forest</u> <u>ANN</u> <u>Mean</u> <u>absolute</u> <u>error</u> <u>54.7</u> <u>59.1</u> <u>57.4</u> Table 1: Comparison of heat demand forecasting methods tested using a 60 day unseen data-set of the ML-based forecast generation approaches are not covered in detail in the presented case studies for the sake of brevity. _4.3._ _Analysis_ _of_ _performance_ _in_ _heat_ _network_ _application_ The first subsystem (that of the heat network of the Ernest Dence estate) is solely considered here. It is assumed that the SEMS cannot influence the demand side of the heat network (the radiator set-point schedules) and can thus only affect the primary side of the heat network. The network, heat pump and boiler flow temperature set-points and the thermal store charge/discharge set-point are then taken to be the values set by the SEMS for this subsystem. The objective is to minimise a weighted sum of the financial operating cost and the _CO_ 2 emissions while maintaining the system temperatures within desired operational bounds. To do this, a state-space model of the heat network is generated which allows for the network temperature to be predicted over a 1-day horizon (with a 15 minute sample time) based on the heat supplied by the supply (heat pumps and boilers) and storage (thermal store) assets and the heat drawn off by the building demand (the Ernest Dence estate). The problem is formulated as an MPC problem, using a quadratic penalty on violations of the heat network temperature bounds and linear penalties on the financial and environmental terms. At each sample, a full day-ahead input trajectory is generated, of which the elements associated with the subsequent time-step are implemented. At the next sample, the initial system states are updated using measurements from the digital twin and the problem is repeated in a receding horizon manner. The problem is implemented in code using the IPOPT solver [48] called with Pyomo. As mentioned, a forecast of the heat demand is required to predict the heat drawn from the heat network. Such a forecast is generated at each sample using the previous 10-months of modelled _historical_ consumption data, external temperatures and day types (weekend, holiday, weekday) as training data. The classification-based methodology described in Section 2.2.1 using a gradient-boost approach (with 100 trees and a learning rate of 0.1) is used for the same. The specific ML models as well as their hyper-parameters were chosen through empirical testing using measured data as well as data generated with the digital twin. The methods compared also included a random-forest based classification methods and an ANN-based methods. For illustrative purposes, a comparison of the different tested approaches is shown for a week of validation data in Fig.8. The mean absolute errors for each method calculated over a 60 day unseen validation period are shown in Table 1 whereby all algorithms were trained using 10 months of data sampled at 15 minute intervals. The SEMS can raise the network and thermal store temperatures in advance of a future price spike, and switch between boiler-dominated or heat pump-dominated strategies depending on the respective predicted fuel cost and _CO_ 2 intensities. There is a clear tradeoff, however, between financial and environmental objectives - the use of the boilers always 19 ��� ��� ��� ��� ��� �� �� <u>�������������</u> �������������� ~~���~~ <u>������</u> - �� ��� ��� ��� ��� ��� ��� �������������������� Figure 8: ML approaches comparison for forecasting heat demand (one week of validation data shown) 7000 6000 5000 4000 3000 ``` (a) £ = 1 = 0 CO2 ``` ``` (b) £ = 1 = 0.01 CO2 ``` ``` (c) £ = 1 = 0.025 CO2 ``` ``` £ = 1 = 0.1 CO2 ``` ``` £ = 0 = 1 CO2 ``` ``` (d) (e) ``` 1780 1800 1820 1840 1860 1880 1900 1920 1940 1960 Fuel cost (£) Figure 9: Cost and environmental performance of the SEMS over 14-day period for different objective weights increases the quantity of _CO_ 2 emitted (for the data used here), but often represents the cheapest heating option. Choosing the weights that define this balance in the objective function is key to defining the resulting performance of the system. The use of a digital twin offers a useful advantage for decision makers here as more informed decisions can be made by testing several options prior to implementation in the real system. To demonstrate this, the 14-day simulation is repeated 5 times using a different set of objective weights for each. The results of this are shown in Fig. 9 in which _α£_ represents the financial cost weight and _αCO_ 2 represents the environmental cost weight. A clear Pareto frontier emerges, enabling a decision maker to choose a desirable trade-off. It can be seen that by spending more, greater emission reductions can be achieved, with diminishing returns. The heat supply technology mix chosen for the 5 scenarios is shown in Fig.10 where labels a-e represent the scenarios from lowest to highest _CO_ 2 emission penalties respectively. As expected, a greater emphasis on the environmental objective lead to a reduced reliance on gas. The use of the thermal store to facilitate improved performance (in terms of the objective) is illustrated in Fig.11, where the thermal store temperature profile is shown for one of the simulated days (in scenario ( _a_ )) along with the electricity price for that day. The store charges to its maximum temperature (60 <sup>_◦_</sup> _C_ ) during a dip in price overnight, before slowly discharging throughout the day when the price is higher. 20 80 60 40 20 £ <sup>~~= 1~~</sup> £ <sup>~~= 1~~</sup> = 0.1 CO2 CO2 £ <sup>~~= 0~~</sup> £ <sup>~~= 1~~</sup> = 0.01 CO2 CO2 CO2 = 0 £ <sup>~~= 1~~</sup> = 0.025 = 1 0 a b c d e Heat pump power Boiler power Figure 10: Breakdown of heat energy sources for different objective weighting strategies 62 60 58 56 54 52 50 Thermal store temperature <u>Electricity price</u> 48 13/11/18 00:00 13/11/18 06:00 13/11/18 12:00 13/11/18 18:00 Figure 11: Thermal storage temperature management to minimise fuel cost 21 0.18 0.17 0.16 0.15 0.14 0.13 0.12 �� �� �� �� �� �� ~~������������~~ <u>������� �����</u> ~~���~~ ~~�����~~ - �� ��� ��� ��� ��� ��� ��� ������������������� Figure 12: ML approaches tested for forecasting PV generation (one week of validation data shown) <u>Gradient-boost</u> <u>Random</u> <u>forest</u> <u>ANN</u> <u>Mean</u> <u>absolute</u> <u>error</u> <u>5.2</u> <u>4.8</u> <u>3.9</u> Table 2: Comparison of PV forecasting methods tested using a 60 day unseen data-set _4.4._ _Analysis_ _of_ _performance_ _in_ _EV/PV_ _application_ In the second subsystem, the SEMS can delay the charging of EVs to maximise the utilisation of the PV generation. For this electrical demand optimisation problem, the power grid and the PV panels are the supply assets - the EV demand can be satisfied by either the generated PV power or the grid. By delaying and reallocating the time of vehicle charging, the electrical demand is reduced and increased at different times in the same manner as would be the case for a battery connected to the system being discharged and charged at different times. Thus, the ability to delay EV demand is characterised here as an electrical storage asset (with a negative storage capacity). The objective of the problem is to minimise the economic cost of EV charging by reallocating _delayable_ load in a suitable manner (typically towards times of greater PV production). As mentioned, the delayable load is assumed here to account for 50% of the demand request. This optimised scheduling is carried out at 15-minute intervals using 1-day ahead forecasts of PV generation, EV demand and electricity pricing information. To carry out this optimisation, the SEMS must first generate the PV production and EV charger demand forecasts. For the former, the regression-based ANN approach was found to produce the most consistent predictions, while the classification-based gradient boosting approach performed better for the latter. Once again, ANN, gradient-boost and random forset methods were compared. The different tested approaches are shown for a week of validation data in Fig.12. The mean absolute errors for each method calculated over a 60 day unseen validation period are shown in Table 2 whereby all algorithms were trained using 10 months of data sampled at 15 minute intervals. The forecasts are fed to the optimisation problem, formed here as an LP in which the objective function seeks to minimise a combination of the cost of the power drawn from the grid and an additional penalty on the total delayed EV charger power. The latter term is penalised to dissuade the SEMS from suggesting excessive delays. The problem is solved using the GLPK solver [49]. With the SEMS configured in this manner, the 14-day simulation is carried out in the digital twin. A plot of the resulting EV charging power demand is shown in Fig.13 along 22 60 50 40 30 20 10 Delayed demand <u>Reallocated demand</u> EV power delivered (kW) 0 01/11/18 03/11/18 05/11/18 07/11/18 09/11/18 11/11/18 13/11/18 15/11/18 Figure 13: EV demand profile with reallocation of load to increase PV utilisation % PV % PV Cost _CO_ 2 <u>Utilisation</u> <u>Contribution</u> <u>(£)</u> <u>(kg)</u> No delay 54.0 45.2 746 1339 <u>Delay</u> <u>60.7</u> <u>50.8</u> <u>670</u> <u>1206</u> Table 3: Impact of delaying EV charger request to increase PV utilisation with the delayed demand (in grey) and the reallocated demand (in orange). It can be seen that on most days, the SEMS delays some of the peak EV demand and reallocates it to a later point in the day to more closely coincide with the solar generation peak. The outcome of this demand reallocation is summarised in Table 3 in which different outcomes are shown for a case with and without the SEMS delay/reallocation. It can be seen that the percentage of the generated PV that is utilised by the EV-chargers is increased, along with the renewable share of the EV charger consumption. The cost savings and _CO_ 2 savings resulting from this reduction in grid consumption is also shown for the 14-day period. _4.5._ _Coordinated_ _operation_ The two subsystems have quite a different focus, however, in both cases the electrical power network is a key component. New heat pump and EV assets in the district may lead to increased stress on the grid, particularly in times when the demand peaks coincide. A mechanism whereby a total electrical power supply is limited by the SEMS would prevent such occurrences, increasing resilience and lessening the need for potentially significant grid reinforcement. To illustrate the ability of the SEMS in this regard, a final case study is presented here whereby a higher-level coordination layer can check if a pre-defined supply limit is exceeded and provide alternative subsystem solutions that eliminate the violation. The previous 2 subsystems are simulated again for this case study, with the heating-based subsystem configured to replicate scenario ( _c_ ) and with EV demand reallocation enabled in the EV/PV subsystem. A limit of 70kW is set in the coordination layer on the total grid power available to the heat pumps and the EVs. When the SEMS predicts a violation of this limit at any point in the prediction horizon, the electrical supply limit to the heating-based subsystem is limited in the manner described in Algorithm 1 and the optimisation of this subsystem is repeated. The magnitudes of the violations of the system limit with and without this coordination mechanism are shown for the 14 day simulation in Fig.14. It can be seen that violations of 23 60 50 40 30 20 10 Uncoordinated violation <u>Coordinated vilation</u> 0 01/11/18 03/11/18 05/11/18 07/11/18 09/11/18 11/11/18 13/11/18 15/11/18 Figure 14: Violation in district-level power supply constraint with and without master-coordinator the limit are significantly reduced when the SEMS can coordinate the subsystems in this manner with the exception of some minor violations which occur as a result of mismatches between the predicted and measured EV demand and PV generation supply. As a quantifiable metric, the sum of the magnitudes of these violations were compared. Under coordinated management, the violations were reduced by approximately 97%. Despite the same demand energy requirement, the imposition of this constraint led to an increase of 20.8% in _CO_ 2 emissions and 8.9% in energy cost for the first subsystem due to the additional constraints on the system (leading to additional boiler load). Once again, the usefulness of the digital twin should be noted here - in this case the ability to use the digital twin to quantify the expected impact of such a limiting constraint. Such insight can inform infrastructural investment decisions, quantify risk scenarios and devise possible mitigation strategies. 5. Conclusions The transition to more interconnected urban energy landscapes leads to challenges in terms of stresses to the current energy infrastructure and opportunities in terms of the application of intelligent control and coordination strategies. To leverage the latter opportunity to overcome the former challenge, this paper presents an energy management tool for control and coordination of interconnected energy assets in a smart city or district referred to as the SEMS. A modular framework is introduced in which ML-based forecast generation and grey-box model fitting algorithms are used to generate predictive components used within a flexible MPC-based control strategy. The strategy allows for subsystems to be considered independently with an additional coordination layer used to impose higher district-level constraints and limitations. A simulation framework is presented in parallel to act as a digital surrogate of a multi-vector energy system, thus enabling the design, tuning, testing and evaluation requirements prior to deployment of the energy management strategy. Using the interventions currently being carried out by Greenwich as part of the Sharing Cities project as a basis, a set of case studies were examined to illustrate the application of the SEMS. The potential for balancing environmental and financial objectives in a hybrid building heating system was shown, indicating the trade-offs that must be considered by decision makers in a smart city. A further case study was used to show the potential of the 24 SEMS for increasing local utilisation of renewable energy in an urban context (incorporating EV charging loads). A final example was then used to demonstrate the coordinating capabilities of the SEMS. Incorporating these predictive, modelling, control and coordination aspects in a single flexible tool and ensuring an open architecture for integrating subsequent algorithms and energy sub-systems in the framework, paves the way for a quicker transition to the low carbon economy goals. 6. Acknowledgements This project has received funding from the European Union’s Horizon 2020 research and innovation programme under Grant Agreement No. 691895 and the EPSRC (Engineering and Physical Sciences) under the Active Building Centre project (reference number: EP/S016627/1). The authors would also like to thank Siemens UK, the Greater London Authority and the Royal Borough of Greenwich with whom collaboration on the project has been carried out. IP would also like to acknowledge the Imperial College Research Fellowship scheme for supporting him. References [1] European Commission, [Cities.](https://ec.europa.eu/clima/policies/international/paris_protocol/cities_en) URL `[https://ec.europa.eu/clima/policies/international/paris_protocol/cities_en](https://ec.europa.eu/clima/policies/international/paris_protocol/cities_en)` [2] J. Keirstead, N. Shah (Eds.), Urban Energy Systems: An Integrated Approach, Routledge, Oxford, 2013. [3] HM Government, The Clean Growth Strategy: [Leading](https://www.gov.uk/government/) the way to a low carbon future, BEIS (2017) 165. URL `[https://www.gov.uk/government/](https://www.gov.uk/government/)` [4] P. D. Lund, J. Lindgren, J. Mikkola, J. Salpakari, Review of energy system flexibility measures to enable high levels of variable renewable electricity, Renewable and Sustainable Energy Reviews 45 (2015) 785–807. `[doi:10.1016/j.rser.2015.01.057](http://dx.doi.org/10.1016/j.rser.2015.01.057)` . [5] E. O’Dwyer, I. Pan, S. Acha, N. Shah, Smart energy systems for sustainable smart cities: Current developments, trends and future directions, Applied Energy 237 (January) (2019) 581–597. `[doi:10.](http://dx.doi.org/10.1016/j.apenergy.2019.01.024)` `[1016/j.apenergy.2019.01.024](http://dx.doi.org/10.1016/j.apenergy.2019.01.024)` . [6] S. E. Bibri, J. Krogstie, Smart sustainable cities of the future: An extensive interdisciplinary literature review, Sustainable Cities and Society 31 (2017) 183–212. `[doi:10.1016/j.scs.2017.02.016](http://dx.doi.org/10.1016/j.scs.2017.02.016)` . [7] J. Reynolds, M. W. Ahmad, Y. Rezgui, J. L. Hippolyte, Operational supply and demand optimisation of a multi-vector district energy system using artificial neural networks and a genetic algorithm, Applied Energy 235 (July 2018) (2019) 699–713. `[doi:10.1016/j.apenergy.2018.11.001](http://dx.doi.org/10.1016/j.apenergy.2018.11.001)` . [8] S. J. Cox, D. Kim, H. Cho, P. Mago, Real time optimal control of district cooling system with thermal energy storage using neural networks, Applied Energy 238 (October 2018) (2019) 466–480. `[doi:10.](http://dx.doi.org/10.1016/j.apenergy.2019.01.093)` `[1016/j.apenergy.2019.01.093](http://dx.doi.org/10.1016/j.apenergy.2019.01.093)` . [9] W. Wang, T. Hong, X. Xu, J. Chen, Z. Liu, N. Xu, Forecasting district-scale energy dynamics through integrating building network and long short-term memory learning algorithm, Applied Energy 248 (January) (2019) 217–230. `[doi:10.1016/j.apenergy.2019.04.085](http://dx.doi.org/10.1016/j.apenergy.2019.04.085)` . [10] M. Killian, M. Kozek, Ten questions concerning model predictive control for energy efficient buildings, Building and Environment 105 (2016) 403–412. `[doi:10.1016/j.buildenv.2016.05.034](http://dx.doi.org/10.1016/j.buildenv.2016.05.034)` . [11] A. Kylili, P. A. Fokaides, European smart cities: The role of zero energy buildings, Sustainable Cities and Society 15 (2015) 86–95. `[doi:10.1016/j.scs.2014.12.003](http://dx.doi.org/10.1016/j.scs.2014.12.003)` . [12] R. Yang, L. Wang, Multi-zone building energy management using intelligent control and optimization, Sustainable Cities and Society 6 (1) (2013) 16–21. `[doi:10.1016/j.scs.2012.07.001](http://dx.doi.org/10.1016/j.scs.2012.07.001)` . 25 [13] M. Marzband, H. Alavi, S. S. Ghazimirsaeid, H. Uppal, T. Fernando, Optimal energy management system based on stochastic approach for a home Microgrid with integrated responsive load demand and energy storage, Sustainable Cities and Society 28 (2017) 256–264. `[doi:10.1016/j.scs.2016.09.017](http://dx.doi.org/10.1016/j.scs.2016.09.017)` . [14] K. Shan, C. Fan, J. Wang, Model predictive control for thermal energy storage assisted large central cooling systems, Energy 179 (2019) 916–927. `[doi:10.1016/j.energy.2019.04.178](http://dx.doi.org/10.1016/j.energy.2019.04.178)` . [15] C. Lv, H. Yu, P. Li, C. Wang, X. Xu, S. Li, J. Wu, Model predictive control based robust scheduling of community integrated energy system with operational flexibility, Applied Energy 243 (April) (2019) 250–265. `[doi:10.1016/j.apenergy.2019.03.205](http://dx.doi.org/10.1016/j.apenergy.2019.03.205)` . [16] T. Braun, B. C. Fung, F. Iqbal, B. Shah, Security and privacy challenges in smart cities, Sustainable Cities and Society 39 (November 2017) (2018) 499–507. `[doi:10.1016/j.scs.2018.02.039](http://dx.doi.org/10.1016/j.scs.2018.02.039)` . [17] B. N. Silva, M. Khan, K. Han, Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities, Sustainable Cities and Society 38 (February) (2018) 697–713. `[doi:10.1016/j.scs.2018.01.053](http://dx.doi.org/10.1016/j.scs.2018.01.053)` . [18] J. Pan, R. Jain, S. Paul, T. Vu, A. Saifullah, M. Sha, An Internet of Things Framework for Smart Energy in Buildings: Designs, Prototype, and Experiments, IEEE Internet of Things Journal 2 (6) (2015) 527–537. `[doi:10.1109/JIOT.2015.2413397](http://dx.doi.org/10.1109/JIOT.2015.2413397)` . [19] A. R. Al-Ali, I. A. Zualkernan, M. Rashid, R. Gupta, M. Alikarar, A smart home energy management system using IoT and big data analytics approach, IEEE Transactions on Consumer Electronics 63 (4) (2017) 426–434. `[doi:10.1109/TCE.2017.015014](http://dx.doi.org/10.1109/TCE.2017.015014)` . [20] C. Molitor, S. Gross, J. Zeitz, A. Monti, MESCOS-A multienergy system cosimulator for city district energy systems, IEEE Transactions on Industrial Informatics 10 (4) (2014) 2247–2256. `[doi:10.1109/](http://dx.doi.org/10.1109/TII.2014.2334058)` `[TII.2014.2334058](http://dx.doi.org/10.1109/TII.2014.2334058)` . [21] R. Baetens, R. De Coninck, J. Van Roy, B. Verbruggen, J. Driesen, L. Helsen, D. Saelens, Assessing electrical bottlenecks at feeder level for residential net zero-energy buildings by integrated system simulation, Applied Energy 96 (2012) (2012) 74–83. `[doi:10.1016/j.apenergy.2011.12.098](http://dx.doi.org/10.1016/j.apenergy.2011.12.098)` . [22] J. Maciejowski, Predictive Control: With Constraints, Prentice-Hall, UK, 2002. [23] Y. T. Chae, R. Horesh, Y. Hwang, Y. M. Lee, Artificial neural network model for forecasting sub hourly electricity usage in commercial buildings, Energy and Buildings 111 (2016) 184–194. `[doi:](http://dx.doi.org/10.1016/j.enbuild.2015.11.045)` `[10.1016/j.enbuild.2015.11.045](http://dx.doi.org/10.1016/j.enbuild.2015.11.045)` . [24] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, E. Duchesnay, <sup>´</sup> Scikit-learn: Machine learning in Python, Journal of Machine Learning Research 12 (2011) 2825–2830. [25] T. Ahmad, H. Chen, Y. Guo, J. Wang, A comprehensive overview on the data driven and large scale based approaches for forecasting of building energy demand: A review, Energy and Buildings 165 (2018) 301–320. `[doi:10.1016/j.enbuild.2018.01.017](http://dx.doi.org/10.1016/j.enbuild.2018.01.017)` . [26] L. Kotzur, P. Markewitz, M. Robinius, D. Stolten, Time series aggregation for energy system design: Modeling seasonal storage, Applied Energy 213 (October 2017) (2018) 123–135. `[doi:10.1016/j.](http://dx.doi.org/10.1016/j.apenergy.2018.01.023)` `[apenergy.2018.01.023](http://dx.doi.org/10.1016/j.apenergy.2018.01.023)` . [27] B. van der Heijde, A. Vandermeulen, R. Salenbien, L. Helsen, Representative days selection for district energy system optimisation: a solar district heating system with seasonal storage, Applied Energy 248 (February) (2019) 79–94. `[doi:10.1016/j.apenergy.2019.04.030](http://dx.doi.org/10.1016/j.apenergy.2019.04.030)` . [28] D. Sturzenegger, D. Gyalistras, M. Morari, R. S. Smith, Model Predictive Climate Control of a Swiss Office Building: Implementation, Results, and Cost–Benefit Analysis, IEEE Transactions on Control Systems Technology 24 (1) (2016) 1–12. `[doi:10.1109/TCST.2015.2415411](http://dx.doi.org/10.1109/TCST.2015.2415411)` . [29] W. E. Hart, J. P. Watson, D. L. Woodruff, Pyomo: Modeling and solving mathematical programs in Python, Mathematical Programming Computation `[doi:10.1007/s12532-011-0026-8](http://dx.doi.org/10.1007/s12532-011-0026-8)` . [30] W. E. Hart, C. Laird, J.-P. Watson, D. L. Woodruff, G. A. Hackebeil, B. L. Nicholson, J. D. Siirola, Pyomo - Optimization Modeling in Python, 2nd Edition, Vol. 67, Springer, 2017. [31] J. Allegrini, K. Orehounig, G. Mavromatidis, F. Ruesch, V. Dorer, R. Evins, A review of modelling approaches and tools for the simulation of district-scale energy systems, Renewable and Sustainable Energy Reviews 52 (2015) 1391–1404. `[doi:10.1016/j.rser.2015.07.123](http://dx.doi.org/10.1016/j.rser.2015.07.123)` . 26 [32] J. Eker, J. W. Janneck, E. A. Lee, J. Liu, X. Liu, J. Ludvig, S. Neuendorffer, S. Sachs, Y. Xiong, Taming heterogeneity - The ptolemy approach, Proceedings of the IEEE 91 (1) (2003) 127–143. `[doi:](http://dx.doi.org/10.1109/JPROC.2002.805829)` `[10.1109/JPROC.2002.805829](http://dx.doi.org/10.1109/JPROC.2002.805829)` . [33] Simulationresearch, [FrontPage](https://simulationresearch.lbl.gov/bcvtb) - bcvtb (2016). URL `[https://simulationresearch.lbl.gov/bcvtb](https://simulationresearch.lbl.gov/bcvtb)` [34] DOE, EnergyPlus [—](https://www.energyplus.net/ https://energyplus.net/) EnergyPlus (2017). URL `[https://www.energyplus.net/https://energyplus.net/](https://www.energyplus.net/ https://energyplus.net/)` [35] Flask, Welcome - Flask (A [Python](http://flask.pocoo.org/) Microframework) (2014). URL `[http://flask.pocoo.org/](http://flask.pocoo.org/)` [36] SHARING CITIES. [[link].](http://www.sharingcities.eu/) URL `[http://www.sharingcities.eu/](http://www.sharingcities.eu/)` [37] E. O’Dwyer, I. Pan, S. Acha, S. Gibbons, N. Shah, Modelling and Evaluation of Multi-Vector Energy Networks in Smart Cities, in: International Conference on Smart Infrastructure and Construction 2019 (ICSIC), ICE Publishing, 2019, pp. 161–168. `[doi:10.1680/icsic.64669.161](http://dx.doi.org/10.1680/icsic.64669.161)` . [38] MOEEBIUS. [[link].](http://www.moeebius.eu/) URL `[http://www.moeebius.eu/](http://www.moeebius.eu/)` [39] A. C. Morton, Assessing the performance of a reservoir-based water source heat pump, Ph.D. thesis, University of Strathclyde (2013). [40] ASHRAE, ASHRAE Guideline 14: Measurement of Energy and Demand Savings, Tech. rep. (2002). `[doi:10.1016/j.nima.2012.12.050](http://dx.doi.org/10.1016/j.nima.2012.12.050)` . [41] T. Dodson, S. Slater, Electric Vehicle Charging Behaviour Study, Tech. rep., Element Energy (2019). [42] E. O’Dwyer, Modelling and predictive control techniques for building heating systems, Ph.D. thesis, University College Cork (2016). `[doi:10.1044/2014](http://dx.doi.org/10.1044/2014)` . [43] NCEI, Global Forecast System (GFS) - National [Centers](https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs) for Environmental Information (NCEI) formerly known as National [Climatic](https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs) Data Center (NCDC) (2015). URL `[https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/](https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs)` ``` global-forcast-system-gfs ``` [44] D. C. Carslaw, K. Ropkins, openair - An R package for air quality data analysis, Environmental Modelling and Software 27-28 (2012) 52–61. `[doi:10.1016/j.envsoft.2011.09.008](http://dx.doi.org/10.1016/j.envsoft.2011.09.008)` . [45] Octopus Energy, Frequently asked questions about [Octopus](https://octopus.energy/tracker-faqs/) Tracker - Octopus Energy. URL `[https://octopus.energy/tracker-faqs/](https://octopus.energy/tracker-faqs/)` [46] National Grid ESO, Carbon [Intensity](http://carbonintensity.org.uk/) API. URL `[http://carbonintensity.org.uk/](http://carbonintensity.org.uk/)` [47] Department for Business Energy and Industrial Strategy, [Greenhouse gas reporting:](https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2018) conversion factors [2018](https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2018) (2018). `[doi:10.1007/s11434-008-0470-7](http://dx.doi.org/10.1007/s11434-008-0470-7)` . URL `[https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2018](https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2018)` [48] A. W¨achter, L. Biegler, On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming, Mathematical programming 106 (1) (2006) 25–57. `[doi:10.1007/](http://dx.doi.org/10.1007/s10107-004-0559-y)` `[s10107-004-0559-y](http://dx.doi.org/10.1007/s10107-004-0559-y)` . [49] A. Makhorin, Free [software](https://www.gnu.org/software/glpk/) foundation. (2012). URL `[https://www.gnu.org/software/glpk/](https://www.gnu.org/software/glpk/)` 27

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.