Valves and pumps are the key components of most piping systems, as they affect how fluid flows through the system and does work. We will first talk about modeling valves; since there is a lot of information in this code, we will break it into separate subsections.