- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have a requirment to use our own numbers for the K factor calculation for pipe fittings.
This could be done through the API with a IPipeFittingAndAccessoryPressureDropServer, but it seems like it could be simpler to just add an entry to the PipeKFactors.xml in C:\Program Files\Autodesk\Revit 201x\PipeKFactors.xml.
It looks to be a simple enough for elbows, we can just create a new table in the xml with the diameters and coefficients we need, and Revit will use it to get our value.
However for Tees the table is more complex and Revit seems to be doing more behind the scenes. For example we can put our coefficients in but Revit seems to output a number 4 times larger than expected every time. It gets even more complex for the table “Converging/Diverging Tee/Wye” which seems to have no numbers in the xml and instead references equations defined elsewhere.
Has anyone have some insight into the algorithm used on these tables so we can be sure we can get the right values? Or have an idea why our edits to the Tee coofeicients ("Custom Welded Tee" in attached xml) result in in Revit giving a factor 4 times greater when we inspect it through the pressure loss reports?
Many thanks
Solved! Go to Solution.