EngLearning:
What P&IDs are you referring to? It is important to know what process, pressures, flowrates, fluids, and actuation functions you are referring to. For example, is it a ¼” instrument air line? Or is it a 3” process gas shutdown valve? What are the specific basic data?
What valves, specifically, have you seen? What is their size, function, and fluids handled?
There are common sense reasons to not even think of using a solenoid valve on a process line. The list is a long one. I personally would never accept a solenoid on a process line. If you furnish the specific information I request above, you may answer your own question.