I have problem with this 2 tables i am using \begin{center} ... \end{center} but the tables are not centered in the pdf. Anyone know what could be the problem.
\begin{table} [!ht]
\begin{center}
\begin{tabular}{| c | c | c | c |}
\hline
Cost & Scenario 1: 100kWh & Scenario 2: 75kWh & Scenario 3: 50kWh \\[0.5ex]
\hline \hline
CS1 revenues & 33,653 € & 33,645 € & 33,668 € \\ %[0.5ex]
\hline
CS2 revenues & 33,712 € & 33,714 € & 33,685 € \\
\hline
Load revenues & 5,400 € & 5,400 € & 5,400 € \\
\hline
Export of electricity & 15 € & 43 € & 0 € \\
\hline
PV revenues & 5113 € & 5113 € & 5113 € \\
\hline
CHP revenues & 3215 € & 3215 € & 3215 € \\
\hline
Total operating income & 81,108 € & 81,130 € & 81,081 € \\
\hline \hline
Imported electricity & 24,604 € & 24,864 € & 21,269 € \\ %[0.5ex]
\hline
Natural gas cost & 3,700 € & 3,700 € & 3,700 € \\
\hline
Total operating expenditure & 28,304 € & 28,564 € & 24,969 € \\
\hline
Operating cost & -52,804 € & -52,566 € & -56,112 € \\
\hline \hline
\end{tabular}
\caption{Operating cost calculation}
\label{Total annual cost}
\end{center}
\end{table}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Total Net Present Cost}
Net present cost is an economic tool to represent the life-cycle cost of a system. The total NPC calculates all the costs and revenues that occur within the project lifetime with future operating cost considering the interest rate. \\
%The total NPC cost has as equation: \\
% NPC= sum (annual cost Can,t for t from 0 to 9 years)+ Capital cost
%\begin{equation}
%\LC = \sum_{\myy=0}^{\lifetime}{\NPC{0} - \rp} + \ct
%\end{equation}
In table \ref{Project lifetime parameters}, the capital and maintenance cost, the project lifetime which is equal to the term loan, the operating cost and yearly repayment for the bank has been displayed to be used later. \\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table} [!ht]
\begin{center}
\begin{tabular}{| c | c | c | c |}
\hline
Parameter & Scenario 1: 100kWh & Scenario 2: 75kWh & Scenario 3: 50kWh \\[0.5ex] %$\ct$
\hline
Capital and maintenance cost & 178,548 € & 163,548 € & 148,548 € \\[0.5ex] %$\ct$
\hline
Interest rate & 2\% & 2\% & 2\% \\ [0.5ex] %$\interest$
\hline
Project lifetime & 10 years & 10 years & 10 years \\ %$\lifetime$
\hline
Term loan & 10 years & 10 years & 10 years \\ %$\lifetime$
\hline
Yearly repayment for the bank & 17,855 € & 16,355 € & 14,855 € \\ % $\rb$
\hline
\end{tabular}
\caption{Project lifetime parameters}
\label{Project lifetime parameters}
\end{center}
\end{table}



\usepackage{showframe}to the preamble to see a visual representation of the text block and margin sizes) – leandriis Jan 05 '21 at 10:00makecellpackage could be useful for this.) Additionally, I also recomment replacing thecenterenvironment with\centeringas the former adds vertical white space. – leandriis Jan 05 '21 at 10:03