Patent attributes
An apparatus, system, and method are disclosed herein. In one embodiment, the apparatus includes a plurality of valves. Each valve of the plurality of valves is associated with a respective production zone of a well. Each valve includes a valve body having a passage and an inflow fluid input through which a formation fluid from the respective production zone associated with the valve is to enter the passage of the valve body. Each valve further includes a sensor located within the valve body to detect a density of the formation fluid. The apparatus further includes a processor programmed to determine a fraction of a subject fluid in the formation fluid based on the density of the formation fluid and a density of the subject fluid.