Development of a Coupled TRNSYS-MATLAB Simulation Framework for Model Predictive Control of Integrated Electrical and Thermal Residential Renewable Energy System
Open Access
Abstract
An integrated electrical and thermal residential renewable energy system consisting of solar thermal collectors, gas boiler, fuel cell combined heat and power, a photovoltaic system with battery, inverter, and thermal storage for a single-family house of Sonnenhaus standard is investigated with a model predictive controller (MPC). The main focus of this article is to define a multi-objective mathematical function, develop a coupled simulation framework for the nonlinear time-varying deterministic discrete-time problem of the energy system using TRNSYS and MATLAB. With the developed methodology, a sensitivity analysis of maximum optimization time, swarm (or population or mesh) size of a typical spring day and a typical summer day assuming a 100% accurate weather and load forecast with three different algorithms: particle swarm optimization (PSO), genetic algorithm (GA) and global pattern search (GPS) are analyzed. Finally, the obtained results are compared with a status quo controller. Results show that the PSO algorithm optimizer performs the best in this MPC for such a complex and time-consuming MPC model in both the spring day and the summer day. The obtained results show that the PSO with swarm size 50 in the selected typical spring day and the PSO with swarm size 40 in the selected summer day reduces the objective function’s fitness value from 413 to −177 within 6 h optimization time and from 1396 to 1090 in 4 h optimization time respectively.Keywords
Funding Information
- Bundesministerium für Wirtschaft und Energie (03ET1205A)
- Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg (-)
This publication has 33 references indexed in Scilit:
- Model predictive control of a high efficiency solar thermal cooling system with thermal storageEnergy and Buildings, 2019
- Importance of buildings and their influence in control system: a simulation case study with different building standards from GermanyInternational Journal of Energy and Environmental Engineering, 2018
- Predictive control strategies based on weather forecast in buildings with energy storage system: A review of the state-of-the artEnergy and Buildings, 2017
- Development of Matlab-TRNSYS co-simulator for applying predictive strategy planning models on residential house HVAC systemEnergy and Buildings, 2016
- Control strategies for integration of thermal energy storage into buildings: State-of-the-art reviewEnergy and Buildings, 2015
- Model Predictive Climate Control of a Swiss Office Building: Implementation, Results, and Cost–Benefit AnalysisIEEE Transactions on Control Systems Technology, 2015
- A novel linear predictive control approach for auxiliary energy supply to a solar thermal combistorageSolar Energy, 2014
- Potential of structural thermal mass for demand-side management in dwellingsBuilding and Environment, 2013
- Building modeling as a crucial part for building predictive controlEnergy and Buildings, 2013
- Simulation einer prädiktiven Raumtemperaturregelung unter Verwendung einer idealen WettervorhersageBauphysik, 2010