1

To draw electrical wiring schemes in TikZ the nice package circuitikz is available.

However, is there something similar existent for drawing piping and instrumentation diagrams?

Example of such a diagram:

Screenshot of the desired package shapes

Further description on Wikipedia. Something like this would be awesome to create more complex system schemes with several devices while preserving common LaTeX-precision. I think in German language those graphics are called "R&I-Fliessschema".


Edit: Hereby I do not ask someone to draw this picture for me! I just ask if there is some package available which delivers the mentioned elements as predefined shapes maybe.

  • 5
    @Down-Voters: Please don't downvote below a score of -1, even if the question in its current form needs some improvement. A score of -1 is enough to show that the question needs work, anything below that is of no use. Also, if you downvote or vote to close, please leave a comment explaining why you did so, but wait at least 24 hours after asking the OP for improvements to the question before voting to close. – Kurt Apr 24 at 21:10
  • This scheme can be drawn with TikZ with lot of effort. For some simple elements you can use predefined shapes, other you need to drawn for example as pic pictures. Task is quite demanding, since TikZ is not intended for drawing such images and for its elements doesn't exist specialized libraries (as far as I know). For more help you need to show what you try so far, otherwise I afraid that question will be closed as "to broad". – Zarko Apr 24 at 21:23
  • 2
    This would be a major undertaking, but each step is fairly simple. It is easier to create new components using circuitikz (see elfsoft2000.com/projects/index.htm). OTOH, you might want to just copy the central engine and replace all the existing components. – John Kormylo Apr 24 at 22:01
  • 3
    A P&ID library was introduced by its author, Jelle Spijker, here: Chemical process flow sheets TikZ/PGF. The available shapes are here: gitlab.com/jellespijker/PIDcircuitTikZ/blob/master/example.pdf. – Ross Apr 25 at 0:28
  • 1
    @Ross why not add a small example mwe block as an answer ? – KJO Apr 25 at 12:19
1

In the absence of any other answers I am including a screenshot from using the P&ID Library myself

enter image description here using example from https://tex.stackexchange.com/a/410893/170109

Note when I was a draughtsman/checker I would have rejected better diagrams. As a pure novice in TikZ I know my rendering could be much better, however as a time served Drawing Office Manager who has drawn such diagrams in many non CAD formats (e.g. Typewriters and Word Processors) I would not recommend TikZ for P&ID production by humans. Some process flow diagrams can be done by tiling and it may be possible to adapt TikZ to produce "Mimics" in an automated work flow but the overheads needed to make corrections would likely outweigh any benefits (its tough enough using dedicated CAD systems)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.