code: def makepipecomponent(idf, pname):
      
      apipe = idf.newidfobject("Pipe:Adiabatic".upper(), Name=pname)
      apipe.Inlet_Node_Name = "%s_inlet" % (pname,)
      apipe.Outlet_Node_Name = "%s_outlet" % (pname,)
      return apipe
docs: make a pipe component
      generate inlet outlet names