Here you can refer the Pipe data lookup app to find the internal diameter of the pipe for various pipe schedule.

https://pipedata.streamlit.app/

You can find the code in github and contribute if possible.
#processengineer #EPC #pipesize #NB