| 1 |
\begin{tikzpicture} |
| 2 |
\renewcommand*\sfdefault{txss} |
| 3 |
|
| 4 |
\begin{sankeydiagram}%[debug] |
| 5 |
\sankeyset{ |
| 6 |
ratio=4cm/524.3, |
| 7 |
minimum radius=3mm, |
| 8 |
start style=arrow, |
| 9 |
end style=arrow, |
| 10 |
fill/.style={ |
| 11 |
line width=0pt, |
| 12 |
fill=cyan!50!blue!50!black, |
| 13 |
draw=cyan!50!blue!50!black, |
| 14 |
}, |
| 15 |
draw/.style={draw=none}, |
| 16 |
every node/.style={angle=-90}, |
| 17 |
} |
| 18 |
|
| 19 |
\sankeynodestart{name=B,at={-.5,0},quantity=7.2} |
| 20 |
\coordinate[below=1mm of B.center] (B label); |
| 21 |
\sankeyadvance{B}{5mm} |
| 22 |
\sankeynodestart{name=GI,at={1,0},quantity=137.3} |
| 23 |
\coordinate[below=1mm of GI.center] (GI label); |
| 24 |
\sankeyadvance{GI}{5mm} |
| 25 |
\sankeynodestart{name=I,at={4,0},quantity=397.8} |
| 26 |
\coordinate[below=1mm of I.center] (I label); |
| 27 |
\sankeynode{ |
| 28 |
name=EI,at={2.86,-3},quantity=542.3, |
| 29 |
forked={397.8/Ia,137.3/GIa,7.2/Ba} |
| 30 |
} |
| 31 |
\sankeydubins[minimum radius=1.2cm]{I}{Ia} |
| 32 |
\sankeyoutin{GI}{GIa} |
| 33 |
\sankeyoutin{B}{Ba} |
| 34 |
\sankeyadvance{EI}{5mm} |
| 35 |
\coordinate (EI label) at (EI); |
| 36 |
\sankeyadvance{EI}{5mm} |
| 37 |
\sankeyfork{EI}{63.1/EB,479.2/P} |
| 38 |
|
| 39 |
\sankeyturnleft{EB}{90} |
| 40 |
\sankeyadvance{EB}{4cm} |
| 41 |
\coordinate (EB label) at ($(EB)!.5!(EB-old)$); |
| 42 |
\sankeyend{EB} |
| 43 |
|
| 44 |
\sankeyadvance{P}{10mm} |
| 45 |
\coordinate (P label) at (P); |
| 46 |
\sankeyadvance{P}{5mm} |
| 47 |
|
| 48 |
\sankeyfork{P}{33.5/NV,445.7/P-NV} |
| 49 |
|
| 50 |
{ |
| 51 |
\colorlet{NV color}{cyan!80!lime!50!gray} |
| 52 |
\sankeyset{fill/.append style={fill=NV color,draw=NV color}} |
| 53 |
\sankeyturnleft{NV}{90} |
| 54 |
\sankeynode{as=NV,name=NV2,at=NV -| EB} |
| 55 |
\sankeyoutin{NV}{NV2} |
| 56 |
\coordinate (NV label) at (NV -| EB label); |
| 57 |
\sankeyend{NV2} |
| 58 |
} |
| 59 |
|
| 60 |
\sankeyadvance{P-NV}{10mm} |
| 61 |
\sankeyfork{P-NV}{118.1/U,327.6/P-NV-U} |
| 62 |
|
| 63 |
{ |
| 64 |
\sankeyset{ |
| 65 |
fill/.style={fill=orange!70!gray!50,draw=orange!70!gray!50} |
| 66 |
} |
| 67 |
\sankeyturnleft{U}{90} |
| 68 |
\sankeynode{as=U,name=U2,at=U -| EB} |
| 69 |
\sankeyoutin{U}{U2} |
| 70 |
\coordinate (U label) at (U -| EB label); |
| 71 |
\sankeyend{U2} |
| 72 |
} |
| 73 |
|
| 74 |
\sankeyadvance{P-NV-U}{10mm} |
| 75 |
\sankeyfork{P-NV-U}{327.2/P-NV-U-SD,0.4/SD} |
| 76 |
|
| 77 |
{ |
| 78 |
\sankeyturnright{SD}{90} |
| 79 |
\sankeyadvance{SD}{15mm} |
| 80 |
\coordinate (SD label) at (SD); |
| 81 |
\sankeyadvance{SD}{15mm} |
| 82 |
\sankeyend{SD} |
| 83 |
} |
| 84 |
|
| 85 |
\sankeyadvance{P-NV-U-SD}{8mm} |
| 86 |
\sankeyfork{P-NV-U-SD}{18.8/VE,308.4/E} |
| 87 |
|
| 88 |
{ |
| 89 |
\sankeyset{fill/.append style={orange!70!gray!30}} |
| 90 |
\sankeyturnleft{VE}{90} |
| 91 |
\sankeynode{as=VE,name=VE2,at=VE -| EB} |
| 92 |
\sankeyoutin{VE}{VE2} |
| 93 |
\coordinate (VE label) at (VE -| EB label); |
| 94 |
\sankeyend{VE2} |
| 95 |
} |
| 96 |
|
| 97 |
\sankeyadvance{E}{8mm} |
| 98 |
\coordinate (E label) at (E); |
| 99 |
\sankeyadvance{E}{20mm} |
| 100 |
\sankeyfork{E}{135.1/H+GHD,87.2/V,86.1/In} |
| 101 |
|
| 102 |
\sankeyturnright{In}{90} |
| 103 |
\sankeyadvance{In}{10mm} |
| 104 |
\sankeyturnleft{In}{90} |
| 105 |
\sankeyadvance{In}{5mm} |
| 106 |
\coordinate (In label) at (In); |
| 107 |
\sankeyadvance{In}{10mm} |
| 108 |
\sankeyend{In} |
| 109 |
|
| 110 |
\sankeynode{as=V,name=V2,at=V|-In label} |
| 111 |
\sankeyoutin{V}{V2} |
| 112 |
\coordinate (V label) at (V2); |
| 113 |
\sankeyadvance{V2}{10mm} |
| 114 |
\sankeyend{V2} |
| 115 |
|
| 116 |
\sankeyturnleft{H+GHD}{90} |
| 117 |
\sankeyadvance{H+GHD}{5mm} |
| 118 |
\sankeyfork{H+GHD}{47.0/GHD,88.1/H} |
| 119 |
|
| 120 |
\sankeyturnright{H}{90} |
| 121 |
\sankeynode{as=H,name=H2,at=H|-In label} |
| 122 |
\sankeyoutin{H}{H2} |
| 123 |
\coordinate (H label) at (H2); |
| 124 |
\sankeyadvance{H2}{10mm} |
| 125 |
\sankeyend{H2} |
| 126 |
|
| 127 |
\sankeyadvance{GHD}{30mm} |
| 128 |
\sankeyturnright{GHD}{90} |
| 129 |
\sankeynode{as=GHD,name=GHD2,at=GHD|-In label} |
| 130 |
\sankeyoutin{GHD}{GHD2} |
| 131 |
\coordinate (GHD label) at (GHD2); |
| 132 |
\sankeyadvance{GHD2}{10mm} |
| 133 |
\sankeyend{GHD2} |
| 134 |
\end{sankeydiagram} |
| 135 |
|
| 136 |
% labels |
| 137 |
\tikzset{ |
| 138 |
label/.style={ |
| 139 |
fill=white,fill opacity=.8,text opacity=1, |
| 140 |
inner sep=1mm, |
| 141 |
text=cyan!50!blue!50!black, |
| 142 |
inner xsep=2mm, |
| 143 |
font=\sffamily\bfseries\footnotesize, |
| 144 |
align=center, |
| 145 |
}, |
| 146 |
} |
| 147 |
\node[label,anchor=north] (B label) at (B label) {7.2}; |
| 148 |
\node[label,left=1mm of B label] {Bestands-\\entnahme}; |
| 149 |
\node[label,anchor=north] at (GI label) {137.3}; |
| 150 |
\node[label,above=5mm of GI label] {Gewinnung\\im Inland}; |
| 151 |
\node[label,anchor=north] at (I label) {397.8}; |
| 152 |
\node[label,above=5mm of I label] {Import}; |
| 153 |
|
| 154 |
\node[label] at (EI label) {542.3\\Energieaufkommen im Inland}; |
| 155 |
|
| 156 |
\node[label,anchor=center] (EB label) at (EB label) {63.1}; |
| 157 |
\node[label,above=1mm of EB label] {Export und\\Bunkerung}; |
| 158 |
|
| 159 |
\node[label] at (P label) {479.2\\Primärenergieverbrauch}; |
| 160 |
|
| 161 |
\node[label,anchor=center] (NV label) at (NV label) {33.5}; |
| 162 |
\node[label,above=0mm of NV label] {Nichtenergetischer Verbrauch}; |
| 163 |
|
| 164 |
\node[label,anchor=center] (U label) at (U label) {118.1}; |
| 165 |
\node[label,below=3mm of U label] {Umwandlungsverluste}; |
| 166 |
|
| 167 |
\node[label,anchor=center] (SD label) at (SD label) {0.4}; |
| 168 |
\node[label,above=0mm of SD label] {Statistische\\Differenzen}; |
| 169 |
|
| 170 |
\node[label,anchor=center] (VE label) at (VE label) {18.8}; |
| 171 |
\node[label,below=0mm of VE label] {Verbrauch in den\\Energiesktoren}; |
| 172 |
|
| 173 |
\node[label,anchor=north] (E label) at (E label) |
| 174 |
{308.4\\Endenergieverbrauch}; |
| 175 |
|
| 176 |
\node[label,anchor=north] (In label) at (In label) {86.1}; |
| 177 |
\node[label,anchor=north,below=1cm of In label] {Industrie}; |
| 178 |
|
| 179 |
\node[label,anchor=north] (V label) at (V label) {87.2}; |
| 180 |
\node[label,anchor=north,below=1cm of V label] {Verkehr}; |
| 181 |
|
| 182 |
\node[label,anchor=north] (H label) at (H label) {88.1}; |
| 183 |
\node[label,anchor=north,below=1cm of H label] {Haushalte}; |
| 184 |
|
| 185 |
\node[label,anchor=north] (GHD label) at (GHD label) {47.0}; |
| 186 |
\node[label,anchor=north,below=1cm of GHD label] |
| 187 |
{Gewerbe, Handel\\Diensleistungen}; |
| 188 |
\end{tikzpicture} |