-
Notifications
You must be signed in to change notification settings - Fork 1
/
example-05-heat-pump.tex
106 lines (91 loc) · 3.69 KB
/
example-05-heat-pump.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
\documentclass[%
%10pt,
%varwidth=false,
%crop=true,
border={0mm 0mm 0mm 0mm}]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[auto]{microtype}
%\usepackage{cmbright}
\usepackage{arev}
\usepackage{amsmath, amssymb, amsfonts, icomma}
\usepackage[version=4]{mhchem}
\usepackage{tikz}
\usepackage{chemplants-tub}
\usepackage{xcolor}
%define stream tip, default is stealth
\setchpstreamtip{latex}
\setchpmainstreamthickness{thick}
%\setchpunitthickness{very thick}
\pgfdeclarelayer{bg} % declare background layer
\pgfsetlayers{bg,main} % set the order of the layers (main is the standard layer)
\definecolor{signalgruen}{RGB}{49,127,67} % RAL 6032 Wasser
\definecolor{signalrot}{RGB}{155,36,35} % RAL 3001 Dampf
\definecolor{signalgrau}{RGB}{150,153,146} % RAL 7004 Luft
\definecolor{signalgelb}{RGB}{229,190,001} % RAL 1003 brennbare und nicht brennbare Gase
\definecolor{signalorange}{RGB}{208,93,40} % RAL 2010 Säuren
\definecolor{signalviolett}{RGB}{132,76,130} % RAL 4008 Laugen
\definecolor{signalbraun}{RGB}{121,77,62} % RAL 8002 brennbare und nicht brennbare Flüssigkeiten
\definecolor{signalblau}{RGB}{30,45,110} % RAL 5005 Sauerstoff
\begin{document}
\begin{tikzpicture}
%%% components %%%
%evaporator
\pic (ev) at (0,0) {heat-exchanger-iso-1};
\node [above] at (ev-shell top) {\footnotesize EV};
%compressor
\pic[scale=0.5] (cp) at (2,1.5) {compressor-iso};
\node [left] at (cp-left) {\footnotesize CP};
%condenser
\pic[rotate=90] (co) at (0,3) {heat-exchanger-iso-2};
\node [below] at (co-shell left) {\footnotesize CO};
%valve
\pic[scale=1.25, rotate=90] (tv) at (-2,1.5) {valve=main};
\node [left] at (tv-anchor) {\footnotesize TV};
%motor
\pic[scale=0.33] (mo) at (3.5,1.5) {motor-iso};
\node [above] at (mo-top) {\footnotesize MO};
%%% pipes and nodes %%%
\draw [main stream, signalbraun] (ev-pipes right) -| (cp-inlet);
\draw [main stream, signalbraun] (cp-outlet) |- (co-shell bottom);
\draw [main stream, signalbraun] (co-shell top) -| (tv-right);
\draw [main stream, signalbraun] (tv-left) |- (ev-pipes left);
\node [above right] at (1,0) {\footnotesize 1};
\node [above right] at (1,3) {\footnotesize 2};
\node [above left] at (-1,3) {\footnotesize 3};
\node [above left] at (-1,0) {\footnotesize 4};
\draw [main stream, signalgrau] (0.25,-1.5) -- (ev-shell bottom right);
\node [above right] at (0.25,-1.5) {\footnotesize 11};
\draw [main stream, signalgrau] (ev-shell bottom left) -- (-0.25,-1.5);
\node [above left] at (-0.25,-1.5) {\footnotesize 12};
\draw [main stream, signalgruen] (0.25,4.5) -- (co-pipes bottom);
\node [below right] at (0.25,4.5) {\footnotesize 21};
\draw [main stream, signalgruen] (co-pipes top) -- (-0.25,4.5);
\node [below left] at (-0.25,4.5) {\footnotesize 22};
%%% energy streams and nodes %%%
\draw [solid] (cp-right) -- (mo-left);
\draw [utility stream] (4.5,1.5) -- (mo-right);
\node [right] at (4.5,1.5) {\footnotesize $\dot W_\text{el}$};
%%% system boundary %%%
\draw[dashed] (-2.75,4) rectangle (4.25,-1);
\node [below left] at (4.25,-1) {\footnotesize System Boundary};
%%% legend %%%%
\node [align=left,anchor=north west] at (6,1) {\footnotesize
\begin{tabular}{ll}
CO & Cooler \\
CP & Compressor \\
EV & Evaporator \\
MO & Motor \\
TV & Throttling Valve \\
\end{tabular}
};
\draw [main stream, signalgrau] (6,4) -- (7,4);
\node [right] at (7,4) {\footnotesize Ground Heat, Air};
\draw [main stream, signalbraun] (6,3.5) -- (7,3.5);
\node [right] at (7,3.5) {\footnotesize Working Fluid, R407c};
\draw [main stream, signalgruen] (6,3) -- (7,3);
\node [right] at (7,3) {\footnotesize Heating Circuit, Water};
\draw [solid] (6,2.5) -- (7,2.5);
\node [right] at (7,2.5) {\footnotesize Shaft};
\end{tikzpicture}
\end{document}