@@ -774,33 +774,41 @@ class LiquidsPartitionSettler(LiquidsSettler):
774774 partition_coefficients : 1d array, optional
775775 Partition coefficients of chemicals in equilibrium (molar
776776 composition ratio of the top fluid over the bottom fluid).
777- partition_IDs: tuple[str], optional
777+ partition_IDs : tuple[str], optional
778778 IDs of chemicals in equilibrium.
779-
779+ top_chemicals : tuple[str], optional
780+ Chemicals that remain in the top fluid.
781+ bottom_chemicals : tuple[str], optional
782+ Chemicals that remain in the bottom fluid.
780783 """
781784 line = 'Settler'
785+
782786 def _init (self ,
783- partition_coefficients , partion_IDs ,
787+ partition_coefficients , partition_IDs ,
784788 area_to_feed = 0.1 ,
785789 length_to_diameter = 4 ,
786790 vessel_material = 'Carbon steel' ,
787- vessel_type = 'Horizontal'
791+ vessel_type = 'Horizontal' ,
792+ top_chemicals = None ,
793+ bottom_chemicals = None ,
788794 ):
789795 self .vessel_material = vessel_material
790796 self .vessel_type = vessel_type
791797 self .length_to_diameter = length_to_diameter
792798 self .area_to_feed = area_to_feed
793799 self .partition_coefficients = partition_coefficients
794- self .partion_IDs = partion_IDs
800+ self .partition_IDs = partition_IDs
801+ self .top_chemicals = top_chemicals
802+ self .bottom_chemicals = bottom_chemicals
795803 self .reset_cache ()
796804
797805 def reset_cache (self , isdynamic = None ):
798806 self ._phi = None
799807
800808 def _run (self ):
801809 self ._phi = sep .partition (* self .ins , * self .outs ,
802- self .partion_IDs , self .partition_coefficients ,
803- self ._phi )
810+ self .partition_IDs , self .partition_coefficients ,
811+ self ._phi , self . top_chemicals , self . bottom_chemicals )
804812
805813# %% Mixer-settlers
806814
0 commit comments