View Full Version : Associate a line to a valve
kkopp2005
02-10-2010, 07:58 AM
I have noticed that when I create a drain or vent there isn't a line associated with the valve. I know this is because I use the vent/drain option when drawing the line, which is not a smart line. Is there anyway to associate a valve with a line even thought it is not in actual contact with a line?
Aplant Monkey
02-10-2010, 08:26 AM
what we do is to draw the line with Minor line as opposed to using the vent/drain option for this very reason. there is not real difference other than BE thought it would not matter to anyone that they would have a ventdrain forgetting that valves are commonly associated with them. Try using the minor line and you will find that you can associate the valve then.
My common practice is to use the continue line function the change the size of the branch by CATTing on it then change the line type to minor for appearance sakes.
Packin31
02-10-2010, 08:28 AM
This maybe what you are looking for
Pull Down
P&ID-Tools-Maintenance-Reattach Object
Aplant Monkey
02-10-2010, 09:10 AM
that will not work Tom. the Vent/Drain lines are non-intelligent lines, they cannot be associated with anything. they are only graphics. the nice thing about using the minor line is that you can then associate the valve to a spec as well, so if you have spec dependent valves as most of us do then you can ensure the correct selection is made.
kkopp2005
02-10-2010, 10:52 AM
Actually that reattach did work. I just selected the line that the vent comes off of. I was afraid that it would change the size of the valve to match the line size but it didn't. I will also look more into making the vents/drains minor lines. The only think I don't like about that is when I create reports from the data manager I have to sort them out.
PeterJ
02-10-2010, 10:53 AM
You can create your own intelligent lines,based on any AutoCAD linetype. You just need to add some lines in the allmighty pid-sup.lsp, in the powerfull settings.dbf and the treaturous pid.cui. Let me know if you need details.
PartRidge
02-10-2010, 03:11 PM
Brian, not to forget that if they use minor lines they must have the setting in the pid-sup for minor lines to get a process or line number.
Aplant Monkey
02-11-2010, 05:55 AM
Valid point Ed, I forget that by default minor lines don't have line numbers. Seems like a stupid setting, something that should be there be default... but whatever.
KKop you are correct if you do the reattach to the main pipe line you will get the proper associated process data. If all you are looking for is the associated line number. I would however be careful with the size of the valve. my guess is that if you change the main process line size then catt on the valve you will find that it may change to the new size... not sure but I am guessing ....
The method of creating the line intell line types in the pid_sup is prob your best choice.
kkopp2005
02-11-2010, 07:22 AM
FYI: Making a change to the main process line size will not change the drain valve size. Not sure why, maybe because it is not in direct contact with the line.
Packin31
02-11-2010, 07:57 AM
Reason why is you have hard-coded in the valve size. If you were to go wipe out the size in the valve size field it will take on the line size.
PeterJ
02-12-2010, 06:10 AM
Let's get some facts correct, because these comments show that some people lack some knowledge.
Process lines have two levels of info : PROCESS and PIPE RUN. A PROCESS line can have 1 or more runs. The PROCESS level has the tagnumber and the common data (fe fluid type) and the 'nominal' data for fe size, spec, ...
The pipe runs are connected to the process line and have the physical data for size, spec, etc...
When a process line is drawn in the p&id, it gets one pipe run. additional pipe runs can be added by placing reductions, spec breaks, branches, ...
Some linetypes are drawn without the process level and will only have the pipe run info. This is managed by parameters in pid-sup.lsp. The PROCESS LINE MANAGER has an option to attach these runs to an existing or new process line.
When a process line is drawn as a simple AutoCAD line, the conversion toolkit has an option to convert it into a process line.
About valves :
Valves are directly connected to a run, not a process. (but of course the run can be connected to a process).
If no diameter is entered, p&id CATT dialog and attributes will show the size(s) from the run(s) to which the valve is attached. In the database the field VSIZE will remain empty. This connection is managed by parameters in the valve view and can also be configured for other fields.
When a size is entered manually for a valve, the valve size is stored in field VSIZE in table VALVE an will not follow the changes of the run diameters.
The 'consistency check' has an option to check for valves where the valve and run diameters are mismatched.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.