\documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{ifluatex,ifxetex} \ifluatex \usepackage{fontspec} \setmainfont{Free Serif} \else\ifxetex \usepackage{fontspec} \setmainfont{FreeSerif} \else \usepackage{ucs} \SetUnicodeOption{mathletters} \usepackage[utf8x]{inputenc} \fi\fi \usepackage{gnuplot-lua-tikz} \pagestyle{empty} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{\gpbboxborder} \begin{document} \begin{tikzpicture}[gnuplot] %% generated with GNUPLOT 5.4p8 (Lua 5.3; terminal rev. Jun 2020, script rev. 118) %% Tue Oct 24 19:43:59 2023 \path (0.000,0.000) rectangle (12.500,8.750); \gpcolor{color=gp lt color border} \gpsetlinetype{gp lt border} \gpsetdashtype{gp dt solid} \gpsetlinewidth{1.00} \draw[gp path] (1.688,0.985)--(1.868,0.985); \node[gp node right] at (1.504,0.985) {$-0.1$}; \draw[gp path] (1.688,1.731)--(1.868,1.731); \node[gp node right] at (1.504,1.731) {$-0.05$}; \draw[gp path] (1.688,2.476)--(1.868,2.476); \node[gp node right] at (1.504,2.476) {$0$}; \draw[gp path] (1.688,3.222)--(1.868,3.222); \node[gp node right] at (1.504,3.222) {$0.05$}; \draw[gp path] (1.688,3.967)--(1.868,3.967); \node[gp node right] at (1.504,3.967) {$0.1$}; \draw[gp path] (1.688,4.713)--(1.868,4.713); \node[gp node right] at (1.504,4.713) {$0.15$}; \draw[gp path] (1.688,5.459)--(1.868,5.459); \node[gp node right] at (1.504,5.459) {$0.2$}; \draw[gp path] (1.688,6.204)--(1.868,6.204); \node[gp node right] at (1.504,6.204) {$0.25$}; \draw[gp path] (1.688,6.950)--(1.868,6.950); \node[gp node right] at (1.504,6.950) {$0.3$}; \draw[gp path] (1.688,7.695)--(1.868,7.695); \node[gp node right] at (1.504,7.695) {$0.35$}; \draw[gp path] (1.688,8.441)--(1.868,8.441); \node[gp node right] at (1.504,8.441) {$0.4$}; \draw[gp path] (1.688,0.985)--(1.688,1.165); \node[gp node center] at (1.688,0.677) {$0$}; \draw[gp path] (2.828,0.985)--(2.828,1.165); \node[gp node center] at (2.828,0.677) {$10000$}; \draw[gp path] (3.968,0.985)--(3.968,1.165); \node[gp node center] at (3.968,0.677) {$20000$}; \draw[gp path] (5.108,0.985)--(5.108,1.165); \node[gp node center] at (5.108,0.677) {$30000$}; \draw[gp path] (6.248,0.985)--(6.248,1.165); \node[gp node center] at (6.248,0.677) {$40000$}; \draw[gp path] (7.387,0.985)--(7.387,1.165); \node[gp node center] at (7.387,0.677) {$50000$}; \draw[gp path] (8.527,0.985)--(8.527,1.165); \node[gp node center] at (8.527,0.677) {$60000$}; \draw[gp path] (9.667,0.985)--(9.667,1.165); \node[gp node center] at (9.667,0.677) {$70000$}; \draw[gp path] (10.807,0.985)--(10.807,1.165); \node[gp node center] at (10.807,0.677) {$80000$}; \draw[gp path] (11.947,0.985)--(11.947,1.165); \node[gp node center] at (11.947,0.677) {$90000$}; \draw[gp path] (1.688,8.441)--(1.688,0.985)--(11.947,0.985); \node[gp node center,rotate=-270] at (0.108,4.713) {\(P\) W}; \node[gp node center] at (6.817,0.215) {Time}; \node[gp node right] at (-1.647,8.164) {\(PAv_{DG_5}\)}; \gpcolor{rgb color={0.580,0.000,0.827}} \draw[gp path] (-1.463,8.164)--(-0.547,8.164); \draw[gp path] (1.688,6.204)--(1.756,6.535)--(1.825,6.731)--(1.893,6.829)--(1.962,6.859)% --(2.030,7.039)--(2.098,7.087)--(2.167,7.194)--(2.235,7.358)--(2.304,7.507)--(2.372,7.622)% --(2.440,7.689)--(2.509,7.791)--(2.577,7.824)--(2.646,7.818)--(2.714,7.834)--(2.782,7.895)% --(2.851,7.893)--(2.919,7.963)--(2.987,7.950)--(3.056,7.973)--(3.124,7.932)--(3.193,7.905)% --(3.261,7.877)--(3.329,7.851)--(3.398,7.772)--(3.466,7.680)--(3.535,7.592)--(3.603,7.560)% --(3.671,7.417)--(3.740,7.356)--(3.808,7.293)--(3.877,7.232)--(3.945,7.088)--(4.013,6.853)% --(4.082,6.777)--(4.150,6.626)--(4.219,6.566)--(4.287,6.481)--(4.355,6.364)--(4.424,6.169)% --(4.492,6.060)--(4.561,5.992)--(4.629,5.965)--(4.697,5.898)--(4.766,5.797)--(4.834,5.783)% --(4.902,5.838)--(4.971,5.639)--(5.039,5.634)--(5.108,5.475)--(5.176,5.458)--(5.244,5.447)% --(5.313,5.437)--(5.381,5.465)--(5.450,5.439)--(5.518,5.430)--(5.586,5.446)--(5.655,5.522)% --(5.723,5.590)--(5.792,5.667)--(5.860,5.659)--(5.928,5.685)--(5.997,5.751)--(6.065,5.762)% --(6.134,5.739)--(6.202,5.761)--(6.270,5.845)--(6.339,5.887)--(6.407,5.952)--(6.476,5.955)% --(6.544,5.997)--(6.612,6.101)--(6.681,6.223)--(6.749,6.311)--(6.818,6.293)--(6.886,6.343)% --(6.954,6.383)--(7.023,6.499)--(7.091,6.597)--(7.159,6.628)--(7.228,6.631)--(7.296,6.704)% --(7.365,6.774)--(7.433,6.753)--(7.501,6.824)--(7.570,6.784)--(7.638,6.758)--(7.707,6.708)% --(7.775,6.670)--(7.843,6.725)--(7.912,6.668)--(7.980,6.735)--(8.049,6.805)--(8.117,6.794)% --(8.185,6.776)--(8.254,6.810)--(8.322,6.737)--(8.391,6.646)--(8.459,6.650)--(8.527,6.698)% --(8.596,6.685)--(8.664,6.719)--(8.733,6.686)--(8.801,6.698)--(8.869,6.731)--(8.938,6.771)% --(9.006,6.670)--(9.074,6.543)--(9.143,6.540)--(9.211,6.471)--(9.280,6.454)--(9.348,6.320)% --(9.416,6.306)--(9.485,6.264)--(9.553,6.174)--(9.622,6.052)--(9.690,5.965)--(9.758,5.932)% --(9.827,5.903)--(9.895,5.913)--(9.964,5.950)--(10.032,5.899)--(10.100,5.913)--(10.169,5.847)% --(10.237,5.770)--(10.306,5.753)--(10.374,5.613)--(10.442,5.623)--(10.511,5.654)--(10.579,5.637)% --(10.648,5.571)--(10.716,5.619)--(10.784,5.619)--(10.853,5.616)--(10.921,5.638)--(10.989,5.689)% --(11.058,5.758)--(11.126,5.822)--(11.195,5.817)--(11.263,5.832)--(11.331,5.873)--(11.400,5.903)% --(11.468,6.011)--(11.537,6.011); \gpcolor{color=gp lt color border} \node[gp node right] at (-1.647,7.610) {\(P_{62}\)}; \gpcolor{rgb color={0.000,0.620,0.451}} \draw[gp path] (-1.463,7.610)--(-0.547,7.610); \draw[gp path] (1.688,2.476)--(1.756,2.523)--(1.825,3.007)--(1.893,3.195)--(1.962,3.226)% --(2.030,3.495)--(2.098,3.544)--(2.167,3.650)--(2.235,3.815)--(2.304,4.026)--(2.372,4.256)% --(2.440,4.323)--(2.509,4.425)--(2.577,4.459)--(2.646,4.453)--(2.714,4.469)--(2.782,4.530)% --(2.851,4.527)--(2.919,4.597)--(2.987,4.584)--(3.056,4.607)--(3.124,4.566)--(3.193,4.539)% --(3.261,4.511)--(3.329,4.486)--(3.398,4.406)--(3.466,4.315)--(3.535,4.227)--(3.603,4.195)% --(3.671,4.052)--(3.740,3.991)--(3.808,3.928)--(3.877,3.867)--(3.945,3.723)--(4.013,3.487)% --(4.082,3.411)--(4.150,3.261)--(4.219,3.201)--(4.287,3.116)--(4.355,2.998)--(4.424,2.804)% --(4.492,2.695)--(4.561,2.626)--(4.629,2.600)--(4.697,2.533)--(4.766,2.431)--(4.834,2.418)% --(4.902,2.473)--(4.971,2.274)--(5.039,2.269)--(5.108,2.110)--(5.176,2.092)--(5.244,2.082)% --(5.313,2.072)--(5.381,2.099)--(5.450,2.074)--(5.518,2.065)--(5.586,2.080)--(5.655,2.156)% --(5.723,2.225)--(5.792,2.302)--(5.860,2.294)--(5.928,2.319)--(5.997,2.386)--(6.065,2.396)% --(6.134,2.373)--(6.202,2.396)--(6.270,2.480)--(6.339,2.522)--(6.407,2.587)--(6.476,2.590)% --(6.544,2.632)--(6.612,2.736)--(6.681,2.858)--(6.749,2.946)--(6.818,2.928)--(6.886,2.978)% --(6.954,3.018)--(7.023,3.133)--(7.091,3.232)--(7.159,3.263)--(7.228,3.266)--(7.296,3.339)% --(7.365,3.408)--(7.433,3.387)--(7.501,3.458)--(7.570,3.418)--(7.638,3.393)--(7.707,3.342)% --(7.775,3.305)--(7.843,3.359)--(7.912,3.303)--(7.980,3.369)--(8.049,3.439)--(8.117,3.429)% --(8.185,3.410)--(8.254,3.445)--(8.322,3.371)--(8.391,3.281)--(8.459,3.284)--(8.527,3.333)% --(8.596,3.319)--(8.664,3.354)--(8.733,3.320)--(8.801,3.332)--(8.869,3.366)--(8.938,3.405)% --(9.006,3.304)--(9.074,3.178)--(9.143,3.174)--(9.211,3.106)--(9.280,3.089)--(9.348,2.954)% --(9.416,2.940)--(9.485,2.898)--(9.553,2.809)--(9.622,2.687)--(9.690,2.600)--(9.758,2.566)% --(9.827,2.537)--(9.895,2.548)--(9.964,2.584)--(10.032,2.534)--(10.100,2.548)--(10.169,2.481)% --(10.237,2.405)--(10.306,2.387)--(10.374,2.247)--(10.442,2.258)--(10.511,2.289)--(10.579,2.271)% --(10.648,2.206)--(10.716,2.253)--(10.784,2.254)--(10.853,2.250)--(10.921,2.272)--(10.989,2.324)% --(11.058,2.393)--(11.126,2.457)--(11.195,2.452)--(11.263,2.467)--(11.331,2.507)--(11.400,2.538)% --(11.468,2.646)--(11.537,1.890); \gpcolor{color=gp lt color border} \node[gp node right] at (-1.647,7.056) {\(UnsuppliedDemand_{62}\)}; \gpcolor{rgb color={0.337,0.706,0.914}} \draw[gp path] (-1.463,7.056)--(-0.547,7.056); \draw[gp path] (1.688,1.731)--(1.756,1.447)--(1.825,1.735)--(1.893,1.825)--(1.962,1.825)% --(2.030,1.915)--(2.098,1.915)--(2.167,1.915)--(2.235,1.915)--(2.304,1.978)--(2.372,2.093)% --(2.440,2.093)--(2.509,2.093)--(2.577,2.093)--(2.646,2.093)--(2.714,2.093)--(2.782,2.093)% --(2.851,2.093)--(2.919,2.093)--(2.987,2.093)--(3.056,2.093)--(3.124,2.093)--(3.193,2.093)% --(3.261,2.093)--(3.329,2.093)--(3.398,2.093)--(3.466,2.093)--(3.535,2.093)--(3.603,2.093)% --(3.671,2.093)--(3.740,2.093)--(3.808,2.093)--(3.877,2.093)--(3.945,2.093)--(4.013,2.093)% --(4.082,2.093)--(4.150,2.093)--(4.219,2.093)--(4.287,2.093)--(4.355,2.093)--(4.424,2.093)% --(4.492,2.093)--(4.561,2.093)--(4.629,2.093)--(4.697,2.093)--(4.766,2.093)--(4.834,2.093)% --(4.902,2.093)--(4.971,2.093)--(5.039,2.093)--(5.108,2.093)--(5.176,2.093)--(5.244,2.093)% --(5.313,2.093)--(5.381,2.093)--(5.450,2.093)--(5.518,2.093)--(5.586,2.093)--(5.655,2.093)% --(5.723,2.093)--(5.792,2.093)--(5.860,2.093)--(5.928,2.093)--(5.997,2.093)--(6.065,2.093)% --(6.134,2.093)--(6.202,2.093)--(6.270,2.093)--(6.339,2.093)--(6.407,2.093)--(6.476,2.093)% --(6.544,2.093)--(6.612,2.093)--(6.681,2.093)--(6.749,2.093)--(6.818,2.093)--(6.886,2.093)% --(6.954,2.093)--(7.023,2.093)--(7.091,2.093)--(7.159,2.093)--(7.228,2.093)--(7.296,2.093)% --(7.365,2.093)--(7.433,2.093)--(7.501,2.093)--(7.570,2.093)--(7.638,2.093)--(7.707,2.093)% --(7.775,2.093)--(7.843,2.093)--(7.912,2.093)--(7.980,2.093)--(8.049,2.093)--(8.117,2.093)% --(8.185,2.093)--(8.254,2.093)--(8.322,2.093)--(8.391,2.093)--(8.459,2.093)--(8.527,2.093)% --(8.596,2.093)--(8.664,2.093)--(8.733,2.093)--(8.801,2.093)--(8.869,2.093)--(8.938,2.093)% --(9.006,2.093)--(9.074,2.093)--(9.143,2.093)--(9.211,2.093)--(9.280,2.093)--(9.348,2.093)% --(9.416,2.093)--(9.485,2.093)--(9.553,2.093)--(9.622,2.093)--(9.690,2.093)--(9.758,2.093)% --(9.827,2.093)--(9.895,2.093)--(9.964,2.093)--(10.032,2.093)--(10.100,2.093)--(10.169,2.093)% --(10.237,2.093)--(10.306,2.093)--(10.374,2.093)--(10.442,2.093)--(10.511,2.093)--(10.579,2.093)% --(10.648,2.093)--(10.716,2.093)--(10.784,2.093)--(10.853,2.093)--(10.921,2.093)--(10.989,2.093)% --(11.058,2.093)--(11.126,2.093)--(11.195,2.093)--(11.263,2.093)--(11.331,2.093)--(11.400,2.093)% --(11.468,2.093)--(11.537,1.337); \gpcolor{color=gp lt color border} \node[gp node right] at (-1.647,6.502) {$0$}; \gpcolor{rgb color={0.902,0.624,0.000}} \draw[gp path] (-1.463,6.502)--(-0.547,6.502); \draw[gp path] (1.688,2.476)--(1.787,2.476)--(1.887,2.476)--(1.986,2.476)--(2.086,2.476)% --(2.185,2.476)--(2.285,2.476)--(2.384,2.476)--(2.484,2.476)--(2.583,2.476)--(2.683,2.476)% --(2.782,2.476)--(2.882,2.476)--(2.981,2.476)--(3.081,2.476)--(3.180,2.476)--(3.280,2.476)% --(3.379,2.476)--(3.479,2.476)--(3.578,2.476)--(3.678,2.476)--(3.777,2.476)--(3.877,2.476)% --(3.976,2.476)--(4.076,2.476)--(4.175,2.476)--(4.275,2.476)--(4.374,2.476)--(4.473,2.476)% --(4.573,2.476)--(4.672,2.476)--(4.772,2.476)--(4.871,2.476)--(4.971,2.476)--(5.070,2.476)% --(5.170,2.476)--(5.269,2.476)--(5.369,2.476)--(5.468,2.476)--(5.568,2.476)--(5.667,2.476)% --(5.767,2.476)--(5.866,2.476)--(5.966,2.476)--(6.065,2.476)--(6.165,2.476)--(6.264,2.476)% --(6.364,2.476)--(6.463,2.476)--(6.563,2.476)--(6.662,2.476)--(6.762,2.476)--(6.861,2.476)% --(6.961,2.476)--(7.060,2.476)--(7.159,2.476)--(7.259,2.476)--(7.358,2.476)--(7.458,2.476)% --(7.557,2.476)--(7.657,2.476)--(7.756,2.476)--(7.856,2.476)--(7.955,2.476)--(8.055,2.476)% --(8.154,2.476)--(8.254,2.476)--(8.353,2.476)--(8.453,2.476)--(8.552,2.476)--(8.652,2.476)% --(8.751,2.476)--(8.851,2.476)--(8.950,2.476)--(9.050,2.476)--(9.149,2.476)--(9.249,2.476)% --(9.348,2.476)--(9.448,2.476)--(9.547,2.476)--(9.646,2.476)--(9.746,2.476)--(9.845,2.476)% --(9.945,2.476)--(10.044,2.476)--(10.144,2.476)--(10.243,2.476)--(10.343,2.476)--(10.442,2.476)% --(10.542,2.476)--(10.641,2.476)--(10.741,2.476)--(10.840,2.476)--(10.940,2.476)--(11.039,2.476)% --(11.139,2.476)--(11.238,2.476)--(11.338,2.476)--(11.437,2.476)--(11.537,2.476); \gpcolor{color=gp lt color border} \draw[gp path] (1.688,8.441)--(1.688,0.985)--(11.947,0.985); %% coordinates of the plot area \gpdefrectangularnode{gp plot 1}{\pgfpoint{1.688cm}{0.985cm}}{\pgfpoint{11.947cm}{8.441cm}} \end{tikzpicture} %% gnuplot variables \end{document}