function diff_m2 = ValveEq2(P1,P2,Km2,m2)
diff_m2 = m2 - Km2*10^6*((P1-P2))/1e6; % Valve equation for m2
end

