-
Notifications
You must be signed in to change notification settings - Fork 1
/
tespy-pipe.tex
75 lines (62 loc) · 2.29 KB
/
tespy-pipe.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
\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
% TABLEAU-10
\definecolor{Tab10-A}{RGB}{78, 121, 167}
\definecolor{Tab10-B}{RGB}{242, 142, 43}
\definecolor{Tab10-C}{RGB}{225, 87, 89}
\definecolor{Tab10-D}{RGB}{118, 183, 178}
\definecolor{Tab10-E}{RGB}{89, 161, 79}
\definecolor{Tab10-F}{RGB}{237, 201, 72}
\definecolor{Tab10-G}{RGB}{176, 122, 161}
\definecolor{Tab10-H}{RGB}{255, 157, 167}
\definecolor{Tab10-I}{RGB}{156, 117, 95}
\definecolor{Tab10-J}{RGB}{186, 176, 172}
\begin{document}
\begin{tikzpicture}
%help grid and labels
%\draw[help lines] (-2,-1) grid (8,5);
%\foreach \pos in {-2,-1,0,1,2,3,4,5,6,7,8}
%\draw[shift={(\pos,-1)}] (0pt,2pt) -- (0pt,-2pt) node[below] {$\pos$};
%\foreach \pos in {-1,0,1,2,3,4,5}
%\draw[shift={(-2,\pos)}] (2pt,0pt) -- (-2pt,0pt) node[left] {$\pos$};
%throttle
\pic (tv) at (3,3) {valve=main};
%streams
\draw [main stream] (0,3) -- (tv-left);
\draw [main stream] (tv-right) -- (6,3);
%boundary
\draw[dashed] (1.5,3.5) rectangle (4.5,2.5);
%nodes
\draw[solid] (3.075,2.5) -- (4,2);
\node [right] at (4,2) {\footnotesize $T_0$};
\node [left] at (0,3) {\footnotesize 1};
\node [right] at (6,3) {\footnotesize 2};
\end{tikzpicture}
\end{document}