diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-25 21:24:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-25 21:24:39 +0000 |
commit | fa5683cd8bf1b74b56f96bcd5062d259e8316784 (patch) | |
tree | c1dd4766a7880ad9360cc566bee752901163bdc6 /Master/texmf-dist/tex/latex/chemplants | |
parent | 0de47d355d8af4aa6719979accd1d1cbf1ab8c5b (diff) |
chemplants (25sep21)
git-svn-id: svn://tug.org/texlive/trunk@60606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemplants')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemplants/chemplants.sty | 700 |
1 files changed, 627 insertions, 73 deletions
diff --git a/Master/texmf-dist/tex/latex/chemplants/chemplants.sty b/Master/texmf-dist/tex/latex/chemplants/chemplants.sty index 460078dd53d..fab48f551df 100644 --- a/Master/texmf-dist/tex/latex/chemplants/chemplants.sty +++ b/Master/texmf-dist/tex/latex/chemplants/chemplants.sty @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% chemplants.sty -%% Copyright 2018-2019 Elia Arnese Feffin +%% Copyright 2018-2021 Elia Arnese Feffin % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -8,7 +8,7 @@ % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status "maintained". % @@ -22,10 +22,10 @@ %:File chemplants.sty \NeedsTeXFormat{LaTeX2e} -\def\chpversion{0.9.8} -\def\chpdate{2019/11/19} +\def\chpversion{0.9.9} +\def\chpdate{2021/09/25} \ProvidesPackage{chemplants}[% - 2019/11/19 v0.9.8 Symbology to draw chemical plants with TikZ% + 2021/09/25 v0.9.9 Symbology to draw chemical plants with TikZ% ] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -36,6 +36,7 @@ \RequirePackage{tikz} % The Mother of Them All \usetikzlibrary{decorations.markings} % Patch Patterns \usetikzlibrary{hobby} % Hobby's Algorithm + \usetikzlibrary{bending} % Better Slanted Arrows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -237,9 +238,9 @@ \tikzset{tank/.pic=% {% \draw [chpunitstyle] - (-1,-0.915) to [out=270,in=270] + (-1,-0.915) to [out=270, in=270] (1,-0.915) -- - (1,0.915) to [out=90,in=90] + (1,0.915) to [out=90, in=90] (-1,0.915) -- cycle; \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -282,8 +283,8 @@ \draw [chpunitstyle] (-1.5,-1.5) -- (1.5,-1.5) -- - (1.5,0.7) to [out=90,in=0] - (0,1.5) to [out=180,in=90] + (1.5,0.7) to [out=90, in=0] + (0,1.5) to [out=180, in=90] (-1.5,0.7) -- cycle; \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -323,6 +324,25 @@ \end{scope} }% } +%: Spherical Tank +\tikzset{spherical tank/.pic=% + {% + \draw [chpunitstyle] + (0,0) circle (1.4); + \draw [chpunitstyle] + (-1.4,0) -- (-1.4,-1.5) + (-1.5,-1.5) -- (-1.3,-1.5) + (1.4,0) -- (1.4,-1.5) + (1.3,-1.5) -- (1.5,-1.5); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-1.4,0); + \coordinate (-bottom) at (0,-1.4); + \coordinate (-right) at (1.4,0); + \coordinate (-top) at (0,1.4); + \end{scope} + }% +} %: Bell Gasholder \tikzset{bell gasholder/.pic=% {% @@ -333,8 +353,8 @@ (1.5,0.5); \draw [chpunitstyle] (1.45,-0.5) -- - (1.45,0.7) to [out=90,in=0] - (0,1.45) to [out=180,in=90] + (1.45,0.7) to [out=90, in=0] + (0,1.45) to [out=180, in=90] (-1.45,0.7) -- (-1.45,-0.50); \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -374,8 +394,56 @@ \end{scope} }% } +%: Silos +\tikzset{silos/.pic=% + {% + \draw [chpunitstyle] + (-0.7,-0.8) -- + (0,-1.8) -- + (0.7,-0.8) -- + (0.7,1.590) to [out=90, in=90] + (-0.7,1.590) -- cycle; + \draw [chpunitstyle] + (-0.7,-0.8) -- (-0.7,-2) + (-0.8,-2) -- (-0.6,-2) + (0.7,-0.8) -- (0.7,-2) + (0.6,-2) -- (0.8,-2); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.7,0); + \coordinate (-bottom left) at (-0.7,-0.8); + \coordinate (-outlet) at (0,-1.8); + \coordinate (-bottom right) at (0.7,-0.8); + \coordinate (-right) at (0.7,0); + \coordinate (-top right) at (0.7,1.590); + \coordinate (-top) at (0,2); + \coordinate (-top left) at (-0.7,1.590); + \end{scope} + }% +} +%: Drum +\tikzset{drum/.pic=% + {% + \draw [chpunitstyle] + (0.324,-0.3) to [out=0, in=0] + (0.324,0.3) -- + (-0.324,0.3) to [out=180, in=180] + (-0.324,-0.3) -- cycle; + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.5,0); + \coordinate (-bottom left) at (-0.324,-0.3); + \coordinate (-bottom) at (0,-0.3); + \coordinate (-bottom right) at (0.324,-0.3); + \coordinate (-right) at (0.5,0); + \coordinate (-top right) at (0.324,0.3); + \coordinate (-top) at (0,0.3); + \coordinate (-top left) at (-0.324,0.3); + \end{scope} + }% +} -%: Fluids Handling +%: Liquid Handling %: Centrifugal Pump \tikzset{centrifugal pump/.pic=% {% @@ -453,6 +521,8 @@ \end{scope} }% } + +%: Gas Handling %: Fan \tikzset{fan/.pic=% {% @@ -475,6 +545,25 @@ \end{scope} }% } +%: Compressor +\tikzset{compressor/.pic=% + {% + \draw [chpunitstyle] + (-0.4,-0.5) -- + (0.4,-0.2) -- + (0.4,0.2) -- + (-0.4,0.5) -- cycle; + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.4,0); + \coordinate (-right) at (0.4,0); + \coordinate (-inlet bottom) at (-0.4,-0.5); + \coordinate (-outlet bottom) at (0.4,-0.2); + \coordinate (-outlet top) at (0.4,0.2); + \coordinate (-inlet top) at (-0.4,0.5); + \end{scope} + }% +} %: Centrifugal Compressor \tikzset{centrifugal compressor/.pic=% {% @@ -508,7 +597,7 @@ (0.4,0.5) arc (0:180:0.4) -- cycle (0.325,0.5) arc - (0:180:0.325) to [out=270,in=90] + (0:180:0.325) to [out=270, in=90] (0.325,0) arc (360:180:0.325); \draw [chpunitstyle] (230.19:0.4) -- @@ -582,6 +671,39 @@ \end{scope} }% } +%: Lamination Valve +\tikzset{lamination valve/.pic=% + {% + \draw [chpunitstyle] + (-0.2,-0.1) rectangle (0.2,0.1) + (-0.2,0.1) -- (0.2,0) + (-0.2,-0.1) -- (0.2,0); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-inlet) at (-0.2,0); + \coordinate (-outlet) at (0.2,0); + \end{scope} + }% +} +%: Turbine +\tikzset{turbine/.pic=% + {% + \draw [chpunitstyle] + (-0.4,-0.2) -- + (0.4,-0.5) -- + (0.4,0.5) -- + (-0.4,0.2) -- cycle; + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.4,0); + \coordinate (-right) at (0.4,0); + \coordinate (-inlet bottom) at (-0.4,-0.2); + \coordinate (-outlet bottom) at (0.4,-0.5); + \coordinate (-outlet top) at (0.4,0.5); + \coordinate (-inlet top) at (-0.4,0.2); + \end{scope} + }% +} %: Ejector \tikzset{ejector/.pic=% {% @@ -604,6 +726,224 @@ }% } +%: Solid Handling +%: Hopper +\tikzset{hopper/.pic=% + {% + \draw [chpunitstyle] + (-0.4,0) -- + (-0.4,-1) -- + (-0.2,-1) -- + (0.4,-0.4) -- (0.4,0) + (-0.5,0) -- (0.5,0); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.4,-0.5); + \coordinate (-outlet) at (-0.3,-1); + \coordinate (-right) at (0.4,-0.4); + \end{scope} + }% +} +%: Conveyor Belt +\tikzset{conveyor belt/.pic=% + {% + \draw [chpunitstyle] + (-0.8,0) circle (0.2) + (0.8,0) circle (0.2) + (-0.8,-0.2) -- (0.8,-0.2) + (-0.8,0.2) -- (0.8,0.2); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-outlet left) at (-1,0); + \coordinate (-bottom) at (0,-0.2); + \coordinate (-outlet right) at (1,0); + \coordinate (-inlet right) at (0.6,0.2); + \coordinate (-top) at (0,0.2); + \coordinate (-inlet left) at (-0.6,0.2); + \end{scope} + }% +} +%: Screw Conveyor +\tikzset{screw conveyor/.pic=% + {% + \draw [chpunitstyle] + (-1,-0.2) rectangle (1,0.2) + (-1,0) -- (1,0) + (-0.85,0.05) -- + (-0.7,-0.1) -- + (-0.5,0.1) -- + (-0.3,-0.1) -- + (-0.1,0.1) -- + (0.1,-0.1) -- + (0.3,0.1) -- + (0.5,-0.1) -- + (0.7,0.1) -- (0.85,-0.05); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-1,0); + \coordinate (-outlet left) at (-0.8,-0.2); + \coordinate (-bottom) at (0,-0.2); + \coordinate (-outlet right) at (0.8,-0.2); + \coordinate (-right) at (1,0); + \coordinate (-inlet right) at (0.8,0.2); + \coordinate (-top) at (0,0.2); + \coordinate (-inlet left) at (-0.8,0.2); + \end{scope} + }% +} +%: Roller Conveyor +\tikzset{roller conveyor/.pic=% + {% + \draw [chpunitstyle] + (-1,-0.2) -- + (-1,0) -- + (1,0) -- (1,-0.2) + (-0.9,0.1) circle (0.1) + (-0.6,0.1) circle (0.1) + (-0.3,0.1) circle (0.1) + (0,0.1) circle (0.1) + (0.3,0.1) circle (0.1) + (0.6,0.1) circle (0.1) + (0.9,0.1) circle (0.1); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-1,0); + \coordinate (-right) at (1,0); + \coordinate (-top right) at (0.9,0.2); + \coordinate (-top) at (0,0.2); + \coordinate (-top left) at (-0.9,0.2); + \end{scope} + }% +} +%: Bucket Elevator +\tikzset{bucket elevator/.pic=% + {% + \draw [chpunitstyle] + (-0.15,-1) -- + (0.15,-1) -- + (0.15,0.7) -- + (0.5,0.7) -- + (0.15,1) -- + (-0.15,1) -- + (-0.15,-0.7) -- + (-0.5,-0.7) -- cycle; + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.15,0); + \coordinate (-inlet) at (-0.4,-0.7); + \coordinate (-bottom) at (0,-1); + \coordinate (-right) at (0.15,0); + \coordinate (-outlet) at (0.4,0.7); + \coordinate (-top) at (0,1); + \end{scope} + }% +} +%: Cylinder Crusher +\tikzset{cylinder crusher/.pic=% + {% + \draw [chpunitstyle] + (-0.5,0) circle (0.4) + (-0.5,0.6) -- + (-0.4,0.5) -- + (-0.5,0.5) arc + (90:270:0.5) -- + (-0.3,-0.5) -- (-0.2,-0.6) + (0.5,0) circle (0.4) + (0.2,-0.6) -- + (0.3,-0.5) -- + (0.5,-0.5) arc + (270:450:0.5) -- + (0.4,0.5) -- + (0.5,0.6); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-1,0); + \coordinate (-outlet) at (0,-0.6); + \coordinate (-right) at (1,0); + \coordinate (-inlet) at (0,0.6); + \end{scope} + }% +} +%: Hammer Crusher +\tikzset{hammer crusher/.pic=% + {% + \draw [chpunitstyle] + (-0.1,0.6) -- + (0,0.5) arc + (90:180:0.5) -- + (-0.5,-0.5) -- + (0.5,-0.5) -- + (0.5,0.5) -- (0.6,0.6); + \draw [chpunitstyle, fill] + (0,0) circle (0.05); + \draw [chpunitstyle] + (0,0) -- + (135:0.4) + ++(225:0.1) -- ++(45:0.2); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.5,0); + \coordinate (-outlet) at (-0.3,-0.5); + \coordinate (-bottom) at (0,-0.5); + \coordinate (-right) at (0.5,0); + \coordinate (-inlet) at (0.3,0.5); + \end{scope} + }% +} +%: Mill +\tikzset{mill/.pic=% + {% + \draw [chpunitstyle] + (-1,-0.4) rectangle (1,0.4) + (-0.5,-0.5) -- (-0.5,0.5) + (1,0.05) -- (1.1,0.15) + (1,-0.05) -- (1.1,-0.15); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-inlet) at (-1,0); + \coordinate (-bottom) at (0,-0.5); + \coordinate (-outlet) at (1,0); + \coordinate (-top) at (0,0.5); + \end{scope} + }% +} +%: Extruder +\tikzset{extruder/.pic=% + {% + \draw [chpunitstyle] + (-1,-0.3) -- + (-0.5,-0.3) -- + (-0.5,-0.2) -- + (0.7,-0.2) -- + (1,-0.15) -- + (1,0.15) -- + (0.7,0.2) -- + (-0.5,0.2) -- + (-0.5,0.5) -- + (-0.9,0.5) -- + (-0.75,0.2) -- + (-1,0.2) -- cycle + (-1,0) -- (-0.5,0) + (-0.5,-0.1) -- + (-0.5,0.1) -- + (-0.3,-0.1) -- + (-0.1,0.1) -- + (0.1,-0.1) -- + (0.3,0.1) -- + (0.5,-0.1) -- + (0.7,0.1) -- + (0.8,0); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-1,0); + \coordinate (-bottom) at (0,-0.2); + \coordinate (-outlet) at (1,0); + \coordinate (-top) at (0,0.2); + \coordinate (-inlet) at (-0.7,0.5); + \end{scope} + }% +} + %: Heat Exchangers %: Heat Exchanger \tikzset{heat exchanger/.pic=% @@ -709,10 +1049,9 @@ {% \draw [chpunitstyle] (-1.0,-0.3) -- - (0.7,-0.3) arc - (270:450:0.3) -- + (0.7,-0.3) arc (270:450:0.3) -- (-1.0,0.3) -- cycle; - \foreach \i in {1, 2, ...,10} {% + \foreach \i in {1, 2, ..., 10} {% \draw [chpunitstyle] (-0.6,-0.3 + 0.06*\i) -- ++(1.2,0); } @@ -736,6 +1075,32 @@ \end{scope} }% } +%: Tube Bundle Heat Exchanger Var +\tikzset{tube bundle heat exchanger var/.pic=% + {% + \draw [chpunitstyle] + (0.7,-0.3) arc (270:450:0.3) -- + (-0.7,0.3) arc (90:270:0.3) -- cycle; + \foreach \i in {1, 2, ..., 10} {% + \draw [chpunitstyle] + (-0.6,-0.3 + 0.06*\i) -- ++(1.2,0); + } + \draw [chpunitstyle] + (-0.6,-0.35) -- (-0.6,0.35) + (0.6,-0.35) -- (0.6,0.35); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-head left) at (-1.0,0); + \coordinate (-head right) at (1.0,0); + \coordinate (-shell bottom left) at (-0.5,-0.3); + \coordinate (-shell bottom) at (0,-0.3); + \coordinate (-shell bottom right) at (0.5,-0.3); + \coordinate (-shell top right) at (0.5,0.3); + \coordinate (-shell top) at (0,0.3); + \coordinate (-shell top left) at (-0.5,0.3); + \end{scope} + }% +} %: Plate Heat Exchanger \tikzset{plate heat exchanger/.pic=% {% @@ -817,8 +1182,57 @@ \end{scope} }% } +%: Tunnel Furnace +\tikzset{tunnel furnace/.pic=% + {% + \draw [chpunitstyle] + (-1.0,-0.5) -- + (1,-0.5) -- + (1,-0.1) -- + (1.2,-0.1) -- + (1.2,0.1) -- + (1,0.1) -- + (1,1) -- + (-1,1) -- + (-1,0.1) -- + (-1.2,0.1) -- + (-1.2,-0.1) -- + (-1,-0.1) -- cycle; + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-bottom) at (0,-0.5); + \coordinate (-top right) at (0.9,1); + \coordinate (-top) at (0,1); + \coordinate (-top left) at (-0.9,1); + \coordinate (-tunnel left) at (-1.2,0); + \coordinate (-tunnel right) at (1.2,0); + \end{scope} + }% +} +%: Rotary Furnace +\tikzset{rotary furnace/.pic=% + {% + \begin{scope} [rotate=-10] + \draw [chpunitstyle] + (-1,-0.3) rectangle (1,0.3); + \draw [chpunitstyle] + (-0.14772,0.069459) arc (170:50:0.15 and 0.4); + \draw [chpunitstyle, dotted] + (0.096418,0.30642) arc (50:-50:0.15 and 0.4); + \draw [chpunitstyle, -{\chp@StreamTip[flex]}] + (0.096418,-0.30642) arc (310:190:0.15 and 0.4); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-gas outlet) at (-1.0,0); + \coordinate (-solid outlet) at (0.9,-0.3); + \coordinate (-gas inlet) at (1,0); + \coordinate (-solid inlet) at (-0.9,0.3); + \end{scope} + \end{scope} + }% +} -%: Separators +%: Physical Separators %: Steam Trap \tikzset{steam trap/.pic=% {% @@ -839,9 +1253,9 @@ \tikzset{gas-liquid separator/.pic=% {% \draw [chpunitstyle] - (-0.8,-1.032) to [out=270,in=270] + (-0.8,-1.032) to [out=270, in=270] (0.8,-1.032) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- cycle; \draw [chpunitstyle, densely dotted] (-0.755,1.2) -- (0.755,1.2); @@ -879,9 +1293,9 @@ \tikzset{stratifier/.pic=% {% \draw [chpunitstyle] - (1.032,-0.8) to [out=0,in=0] + (1.032,-0.8) to [out=0, in=0] (1.032,0.8) -- - (-1.032,0.8) to [out=180,in=180] + (-1.032,0.8) to [out=180, in=180] (-1.032,-0.8) -- cycle; \draw [chpunitstyle] (-0.9,-0.85) -- (-0.9,0.3) @@ -921,6 +1335,122 @@ \end{scope} }% } +%: Bag Filter +\tikzset{bag filter/.pic=% + {% + \draw [chpunitstyle] + (-0.45,-1) -- + (0,-1.4) -- + (0.45,-1) -- + (0.45,0.2) -- + (-0.45,0.2) -- cycle + (-0.45,-1) -- (0.45,-1) + (-0.45,0) -- (0.45,0) + (-0.15,0) -- (-0.15,-1) + (0.15,0) -- (0.15,-1); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-top) at (0,0.2); + \coordinate (-inlet left) at (-0.45,0.1); + \coordinate (-inlet right) at (0.45,0.1); + \coordinate (-fluid outlet left) at (-0.45,-1); + \coordinate (-fluid outlet right) at (0.45,-1); + \coordinate (-solid outlet) at (0,-1.4); + \end{scope} + }% +} +%: Filter Press +\tikzset{filter press/.pic=% + {% + \draw [chpunitstyle] + (-0.9,-0.4) rectangle (0.9,0.4); + \foreach \i in {1, 2, ..., 17} {% + \draw [chpunitstyle] + (-0.9 + 0.1*\i,-0.4) -- ++(0,0.8); + } + \draw [chpunitstyle] + (-1,-0.4) -- + (-1,-0.5) -- + (1,-0.5) -- + (1,-0.4); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-left) at (-0.9,0); + \coordinate (-right) at (0.9,0); + \coordinate (-top) at (0,0.4); + \coordinate (-solid outlet) at (0,-0.5); + \end{scope} + }% +} +%: Rotary Filter +\tikzset{rotary filter/.pic=% + {% + \draw [chpunitstyle] + (0,0) circle (0.5); + \draw [chpunitstyle, fill] + (0,0) circle (0.05); + \draw [chpunitstyle] + (-0.7,0) -- + (-0.6,0) arc + (180:360:0.6) -- (0.5,0); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-bottom) at (0,-0.6); + \coordinate (-top) at (0,0.5); + \coordinate (-inlet) at (-0.6,0); + \coordinate (-solid outlet) at (0.6,0); + \end{scope} + }% +} +%: Deck Screen +\tikzset{deck screen/.pic=% + {% + \draw [chpunitstyle] + (-1,0) -- + (0,-1) -- + (1,0) -- + (1,0.5) -- + (-1,0.5) -- cycle + (-1,0) -- (1,0); + \draw [chpunitstyle, densely dotted] + (-1,0.5) -- (1,0); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-undersize outlet) at (0,-1); + \coordinate (-oversize outlet) at (1,0); + \coordinate (-top) at (0,0.5); + \coordinate (-inlet) at (-1,0.5); + \end{scope} + }% +} +%: Rotary Screen +\tikzset{rotary screen/.pic=% + {% + \begin{scope} [rotate=-10] + \draw [chpunitstyle] + (-1,-0.3) -- (-1,0.3) + (1,-0.3) -- (1,0.3); + \draw [chpunitstyle, densely dotted] + (-1,-0.3) -- (1,-0.3) + (-1,0.3) -- (1,0.3); + \draw [chpunitstyle] + (-0.14772,0.069459) arc (170:50:0.15 and 0.4); + \draw [chpunitstyle, dotted] + (0.096418,0.30642) arc (50:-50:0.15 and 0.4); + \draw [chpunitstyle, -{\chp@StreamTip[flex]}] + (0.096418,-0.30642) arc (310:190:0.15 and 0.4); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-inlet) at (-1,0); + \coordinate (-undersize outlet left) at (-0.9,-0.3); + \coordinate (-undersize outlet right) at (0.9,-0.3); + \coordinate (-oversize outlet) at (1,0); + \end{scope} + \end{scope} + }% +} + +%: Thermal Separators %: Scrubber \tikzset{scrubber/.pic=% {% @@ -928,8 +1458,8 @@ (-0.3,-0.25) -- (0,-0.75) -- (0.3,-0.25) -- - (0.3,0.55) to [out=90,in=0] - (0,0.75) to [out=180,in=90] + (0.3,0.55) to [out=90, in=0] + (0,0.75) to [out=180, in=90] (-0.3,0.55) -- cycle; \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -947,8 +1477,8 @@ {% \draw [chpunitstyle] (-1.0,-0.3) -- - (0.7,-0.3) to [out=0,in=270] - (1.0,0.2) to [out=90,in=0] + (0.7,-0.3) to [out=0, in=270] + (1.0,0.2) to [out=90, in=0] (0.7,0.7) -- (-0.3,0.7) -- (-0.6,0.3) -- @@ -974,9 +1504,9 @@ \tikzset{tube bundle evaporator/.pic=% {% \draw [chpunitstyle] - (-0.8,-1.032) to [out=270,in=270] + (-0.8,-1.032) to [out=270, in=270] (0.8,-1.032) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- cycle; \foreach \i in {0, 1, ..., 10} {% \draw [chpunitstyle] @@ -1006,11 +1536,11 @@ \tikzset{basket evaporator/.pic=% {% \draw [chpunitstyle] - (-0.8,-1.032) to [out=270,in=270] + (-0.8,-1.032) to [out=270, in=270] (0.8,-1.032) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- cycle; - \foreach \i in {1, 2, ...,19} {% + \foreach \i in {1, 2, ..., 19} {% \draw [chpunitstyle] (-0.8 + 0.08*\i,-0.9) -- ++(0,0.8); } @@ -1043,15 +1573,15 @@ {% \draw [chpunitstyle] (-0.4,0.4) -- - (-0.4,-1.2) to [out=270,in=180] - (0,-1.5) to [out=0,in=270] + (-0.4,-1.2) to [out=270, in=180] + (0,-1.5) to [out=0, in=270] (0.4,-1.2) -- (0.4,0.4) (0.4,0.3) -- (0.8,0.6) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- (-0.8,0.6) -- (-0.4,0.3); - \foreach \i in {1, 2, ...,10} {% + \foreach \i in {1, 2, ..., 10} {% \draw [chpunitstyle] (-0.4 + 0.08*\i,-1.2) -- ++(0,1.5); } @@ -1088,7 +1618,7 @@ (-0.8,-1.032) -- (0,-1.5) -- (0.8,-1.032) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- cycle; \foreach \i in {0, 1, ..., 10} {% \draw [chpunitstyle] @@ -1119,14 +1649,14 @@ (-0.8,-1.032) -- (0,-1.5) -- (0.8,-1.032) -- - (0.8,1.032) to [out=90,in=90] + (0.8,1.032) to [out=90, in=90] (-0.8,1.032) -- cycle; \draw [chpunitstyle, yshift=-0.25cm, xslant=0.285] (0,1.75) -- - (0,0) to [out=150,in=90] - (-0.5,0) to [out=270,in=210] - (0,0) to [out=30,in=90] - (0.5,0) to [out=270,in=330] (0,0); + (0,0) to [out=150, in=90] + (-0.5,0) to [out=270, in=210] + (0,0) to [out=30, in=90] + (0.5,0) to [out=270, in=330] (0,0); \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); \coordinate (-bottom left) at (-0.8,-1.032); @@ -1149,9 +1679,9 @@ code=% {% \draw [chpunitstyle] - (-0.5,-2.7) to [out=270,in=270] + (-0.5,-2.7) to [out=270, in=270] (0.5,-2.7) -- - (0.5,2.7) to [out=90,in=90] + (0.5,2.7) to [out=90, in=90] (-0.5,2.7) -- cycle; \ifthenelse{\equal{#1}{empty}}{% \relax% @@ -1213,16 +1743,16 @@ \tikzset{stirred reactor/.pic=% {% \draw [chpunitstyle] - (-0.8,-0.732) to [out=270,in=270] + (-0.8,-0.732) to [out=270, in=270] (0.8,-0.732) -- - (0.8,0.732) to [out=90,in=90] + (0.8,0.732) to [out=90, in=90] (-0.8,0.732) -- cycle; \draw [chpunitstyle, yshift=-0.25cm, xslant=0.285] (0,1.75) -- - (0,0) to [out=150,in=90] - (-0.5,0) to [out=270,in=210] - (0,0) to [out=30,in=90] - (0.5,0) to [out=270,in=330] (0,0); + (0,0) to [out=150, in=90] + (-0.5,0) to [out=270, in=210] + (0,0) to [out=30, in=90] + (0.5,0) to [out=270, in=330] (0,0); \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); \coordinate (-left) at (-0.8,0); @@ -1272,7 +1802,7 @@ (0.2,-1.2) -- (0.2,-0.8) -- (0.8,-0.4) -- - (0.8,0.732) to [out=90,in=90] + (0.8,0.732) to [out=90, in=90] (-0.8,0.732) -- cycle; \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -1291,9 +1821,9 @@ \tikzset{tube bundle reactor/.pic=% {% \draw [chpunitstyle] - (-0.8,-0.732) to [out=270,in=270] + (-0.8,-0.732) to [out=270, in=270] (0.8,-0.732) -- - (0.8,0.732) to [out=90,in=90] + (0.8,0.732) to [out=90, in=90] (-0.8,0.732) -- cycle; \foreach \i in {1, 2, ...,19} {% \draw [chpunitstyle] @@ -1320,9 +1850,9 @@ \tikzset{tank reactor/.pic=% {% \draw [chpunitstyle] - (-0.8,-0.732) to [out=270,in=270] + (-0.8,-0.732) to [out=270, in=270] (0.8,-0.732) -- - (0.8,0.732) to [out=90,in=90] + (0.8,0.732) to [out=90, in=90] (-0.8,0.732) -- cycle; \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -1343,11 +1873,11 @@ \draw [chpunitstyle] (-0.8,0.7) -- (-1.0,0.5) -- - (-1.0,-0.732) to [out=270,in=180] + (-1.0,-0.732) to [out=270, in=180] (-0.15,-1.3) -- (-0.1,-1.2) (0.8,0.7) -- (1.0,0.5) -- - (1.0,-0.732) to [out=270,in=0] + (1.0,-0.732) to [out=270, in=0] (0.15,-1.3) -- (0.1,-1.2); \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); @@ -1365,10 +1895,10 @@ {% \draw [chpunitstyle, yshift=-0.25cm, xslant=0.285] (0,1.75) -- - (0,0) to [out=150,in=90] - (-0.5,0) to [out=270,in=210] - (0,0) to [out=30,in=90] - (0.5,0) to [out=270,in=330] (0,0); + (0,0) to [out=150, in=90] + (-0.5,0) to [out=270, in=210] + (0,0) to [out=30, in=90] + (0.5,0) to [out=270, in=330] (0,0); \begin{scope} [scale=\chp@UnitScale] \coordinate (-anchor) at (0,0); \coordinate (-shaft) at (0.5,1.5); @@ -1449,20 +1979,6 @@ %: Process Utilities %: Valves -%: Lamination Valve -\tikzset{lamination valve/.pic=% - {% - \draw [chpunitstyle] - (-0.2,-0.1) rectangle (0.2,0.1) - (-0.2,0.1) -- (0.2,0) - (-0.2,-0.1) -- (0.2,0); - \begin{scope} [scale=\chp@UnitScale] - \coordinate (-anchor) at (0,0); - \coordinate (-inlet) at (-0.2,0); - \coordinate (-outlet) at (0.2,0); - \end{scope} - }% -} %: Valve \tikzset{pics/valve/.style=% {% @@ -1583,6 +2099,44 @@ }% }% } +%: Check Valve +\tikzset{pics/check valve/.style=% + {% + code=% + {% + \ifthenelse{\equal{#1}{main}}{% + \let\chp@ValveThickness\chp@MainStreamThickness% + }% + {% + \relax% + } + \ifthenelse{\equal{#1}{secondary}}{% + \let\chp@ValveThickness\chp@SecondaryStreamThickness% + }% + {% + \relax% + } + \ifthenelse{\equal{#1}{utility}}{% + \let\chp@ValveThickness\chp@UtilityStreamThickness% + }% + {% + \relax% + } + \draw [\chp@ValveThickness, scale=\chp@UnitScale] + (-0.2,-0.1) -- + (-0.2,0.1) -- + (0.2,-0.1) -- + (0.2,0.1); + \draw [\chp@ValveThickness, fill, scale=\chp@UnitScale] + (-0.2,0.1) circle (0.05); + \begin{scope} [scale=\chp@UnitScale] + \coordinate (-anchor) at (0,0); + \coordinate (-inlet) at (-0.2,0); + \coordinate (-outlet) at (0.2,0); + \end{scope} + }% + }% +} %: Safety Valve \tikzset{pics/safety valve/.style=% {% |