\documentclass[10pt]{article}

\usepackage{fullpage}
\usepackage{setspace}
\usepackage{parskip}
\usepackage{titlesec}
\usepackage[section]{placeins}
\usepackage{xcolor}
\usepackage{breakcites}
\usepackage{lineno}
\usepackage{hyphenat}





\PassOptionsToPackage{hyphens}{url}
\usepackage[colorlinks = true,
            linkcolor = blue,
            urlcolor  = blue,
            citecolor = blue,
            anchorcolor = blue]{hyperref}
\usepackage{etoolbox}
\makeatletter
\patchcmd\@combinedblfloats{\box\@outputbox}{\unvbox\@outputbox}{}{%
  \errmessage{\noexpand\@combinedblfloats could not be patched}%
}%
\makeatother


\usepackage{natbib}




\renewenvironment{abstract}
  {{\bfseries\noindent{\abstractname}\par\nobreak}\footnotesize}
  {\bigskip}

\titlespacing{\section}{0pt}{*3}{*1}
\titlespacing{\subsection}{0pt}{*2}{*0.5}
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}


\usepackage{authblk}


\usepackage{graphicx}
\usepackage[space]{grffile}
\usepackage{latexsym}
\usepackage{textcomp}
\usepackage{longtable}
\usepackage{tabulary}
\usepackage{booktabs,array,multirow}
\usepackage{amsfonts,amsmath,amssymb}
\providecommand\citet{\cite}
\providecommand\citep{\cite}
\providecommand\citealt{\cite}
% You can conditionalize code for latexml or normal latex using this.
\newif\iflatexml\latexmlfalse
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}%

\AtBeginDocument{\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.tif,.TIF,.jpg,.JPG,.jpeg,.JPEG}}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}



\usepackage{float}








\begin{document}

\title{Two-stage demand-side management in energy flexible residential
buildings}



\author[1]{Mohammad Ali Fotouhi Ghazvini}%
\author[1]{Kyriaki Antoniadou-Plytaria}%
\author[1]{David Steen}%
\author[1]{Tuan Le}%
\affil[1]{Chalmers University of Technology}%


\vspace{-1em}



  
  \date{May 22, 2024}


\begingroup
\let\center\flushleft
\let\endcenter\endflushleft
\maketitle
\endgroup





\selectlanguage{english}
\begin{abstract}
In this study, an optimisation model is developed for two-stage energy
management of a residential building to minimise energy cost under
monthly power-based tariffs for peak demand and time variable
electricity prices. The expected peak demand is determined in the first
stage, and then the energy management system minimises the energy cost
in the second stage. The optimisation problem of the second stage is
solved in a rolling time window for the real-time operation of the
flexible energy sources in the building. The optimal charging and
discharging of the battery energy system, the charging of the electric
vehicle battery, the operation of the heating system and the optimal
start times of washing machines and dishwashers are determined close to
real-time. The proposed approach allows the user to determine the
expected peak during the month ahead and try to keep the peak demand in
daily operation below that value using a close to real-time energy
management system. The performance of the two-stage approach for
demand-side management of a residential building has been validated by a
realistic case study.%
\end{abstract}%



\sloppy




\selectlanguage{english}
\FloatBarrier
\end{document}

