if RO is on a liquid line and Pout < vapor pressure (true vapor pressure or bubble pressure for a mixture)
then you should consider vapor at outlet conditions, too,
in choked flow vapor expands to reach critical condition,
there are models as HEM, HNE or Constant Energy which allow to model that,
I use the flash operations available in PRODE PROPERTIES for solving such problems
but you probably can adopt a different thermo if available,
If RO is on a gas line there could be (or not) liquid condensate at outlet
and, depending from inlet, outlet conditions, you can have (or not) a critical condition,
vapor flow is easier to model than two phase flow and there are many
correlations which you can adopt,
as alternative the procedures for two phase flow can be adopted (rigorous energy solution)