\documentclass[tikz]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz, pgfplots}
\pgfplotsset{compat=newest}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    width=9cm, height=5cm,
    xlabel={Time (h)},
    ylabel={Energy (Wh)},
    ymax=45000, xmax=24,
    legend pos=north west,
    xmajorgrids, ymajorgrids,
    legend style={nodes={scale=0.6, transform shape}, legend columns=3}
]
\addplot[mark=10-pointed star, color=blue!30!green, thick] coordinates {
    (0,23898.5442)(1,26539.9906)(2,28579.5941)(3,29934.4745)(4,31554.7053)(5,33832.0651)
    (6,33389.365)(7,34902.906)(8,26998.519)(9,30341.7415)(10,24358.7635)(11,25772.0892)
    (12,28611.3212)(13,30656.5153)(14,32648.171)(15,34035.8763)(16,36123.5851)(17,37999.9991)
    (18,32705.4092)(19,21019.8669)(20,19000.0015)(21,19536.4351)(22,21009.4365)(23,22675.9141)
};
\addlegendentry{$EB_{Node11}$}

\addplot[mark=triangle*, color=blue!60, thick] coordinates {
    (0,23535.6888)(1,26197.4001)(2,28379.5175)(3,30096.019)(4,32051.8661)(5,34273.9013)
    (6,33686.0277)(7,35133.33)(8,27511.8204)(9,29855.3657)(10,23560.9804)(11,25335.4256)
    (12,28431.999)(13,30840.2353)(14,32976.2776)(15,34371.004)(16,36301.9333)(17,37999.999)
    (18,32755.3401)(19,20968.4788)(20,19000.002)(21,19578.333)(22,21124.4634)(23,22766.1467)
};
\addlegendentry{$EB_{Node13}$}

\addplot[mark=square*, color=orange, thick] coordinates {
    (0,23286.7372)(1,25835.9881)(2,28000.1378)(3,29803.3824)(4,31546.91)(5,33145.5101)
    (6,33275.6865)(7,34976.5783)(8,27424.811)(9,29862.0084)(10,23717.882)(11,25520.0369)
    (12,28512.4996)(13,30801.293)(14,32912.968)(15,34365.139)(16,36373.0078)(17,37999.999)
    (18,32105.2227)(19,21622.8172)(20,19000.0031)(21,19791.7746)(22,21135.2519)(23,22276.2629)
};
\addlegendentry{$EB_{Node14}$}

\addplot[mark=diamond*, color=cyan, thick] coordinates {
    (0,23269.6145)(1,25821.5257)(2,27980.846)(3,29802.509)(4,31547.4471)(5,32972.3142)
    (6,33203.0798)(7,34929.2737)(8,27361.8713)(9,29749.7041)(10,23685.7064)(11,25552.5473)
    (12,28512.9318)(13,30765.1532)(14,32863.3489)(15,34331.6201)(16,36341.4295)(17,37999.999)
    (18,31767.0761)(19,21962.0293)(20,19000.0041)(21,19701.9009)(22,21275.7554)(23,22168.3964)
};
\addlegendentry{$EB_{Node18}$}

\addplot[mark=pentagon*, color=blue!50!green, thick] coordinates {
    (0,23614.9022)(1,26303.3268)(2,28472.2755)(3,30047.3616)(4,31982.8432)(5,34245.8629)
    (6,33645.2582)(7,35095.7458)(8,27417.8202)(9,29853.8183)(10,23601.5868)(11,25315.8428)
    (12,28424.8272)(13,30833.712)(14,32981.5142)(15,34335.0455)(16,36193.6986)(17,37999.9991)
    (18,33013.8498)(19,20709.4405)(20,19000.002)(21,19563.3879)(22,20973.9993)(23,22423.974)
};
\addlegendentry{$EB_{Node19}$}

\addplot[smooth, dashed, color=green] coordinates {
    (0,38000)(1,38000)(2,38000)(3,38000)(4,38000)(5,38000)(6,38000)(7,38000)(8,38000)
    (9,38000)(10,38000)(11,38000)(12,38000)(13,38000)(14,38000)(15,38000)(16,38000)
    (17,38000)(18,38000)(19,38000)(20,38000)(21,38000)(22,38000)(23,38000)
};
\addlegendentry{$E_\text{max-min}$}

\addplot[smooth, dashed, color=green] coordinates {
    (0,19000)(1,19000)(2,19000)(3,19000)(4,19000)(5,19000)(6,19000)(7,19000)(8,19000)
    (9,19000)(10,19000)(11,19000)(12,19000)(13,19000)(14,19000)(15,19000)(16,19000)
    (17,19000)(18,19000)(19,19000)(20,19000)(21,19000)(22,19000)(23,19000)
};
\end{axis}
\end{tikzpicture}
\end{document}