A piping and instrumentation diagram/drawing (P&ID) is a diagram in the process industry which shows the piping of the process…