|
| 1 | +\begin{tikzpicture}[node distance=1.7cm] |
| 2 | + \tikzstyle{every node}=[font=\small] |
| 3 | + \node (1) [lbblock]{\textbf{Sort technologies by marginal cost}}; |
| 4 | + \node(2) [lbblock, below of =1] {\textbf{Start dispatch loop}}; |
| 5 | + \node(3) [lbblock, below of=2] {\textbf{Calculate power output for |
| 6 | + next technology}}; |
| 7 | + \node(4) [lbblock, below of=3] {\textbf{Decrement current demand |
| 8 | + value \\ by power output}}; |
| 9 | + \node(5) [lbblock, below of=4] {\textbf{Reached last technology?}}; |
| 10 | + \node (7) [lbblock, below of=5] {\textbf{Reached the end of the |
| 11 | + demand time series?}}; |
| 12 | + \node (8) [loblock,below of=7] {\textbf{Done}}; |
| 13 | + \draw [arrow] (1) -- (2); |
| 14 | + \draw [arrow] (2) -- (3); |
| 15 | + \draw [arrow] (3) -- (4); |
| 16 | + \draw [arrow] (4) -- (5); |
| 17 | + \draw [arrow] (5) -- node[anchor=east]{yes} (7); |
| 18 | + \draw [arrow] (5) -- ([shift={(0.5cm,0cm)}]5.east) -- node[anchor=west] |
| 19 | + {no} ([shift={(0.5cm,0cm)}]3.east)--(3); |
| 20 | + \draw [arrow] (7) -- (8); |
| 21 | + \draw [arrow] (7) -- node[anchor=east]{yes} (8); |
| 22 | + \draw [arrow] (7) -- ([shift={(1.15cm,0cm)}]7.east) -- node[anchor=west] |
| 23 | + {no} ([shift={(1.15cm,0cm)}]2.east)--(2); |
| 24 | +\end{tikzpicture} |
0 commit comments