@@ -1119,11 +1119,11 @@ def add_splitter(
11191119 Examples:
11201120 # Using split factors (fractions)
11211121 >>> builder.add_splitter('split', 'feed', split_factors=[0.5, 0.5])
1122-
1122+
11231123 # Using absolute flow rates
1124- >>> builder.add_splitter('split', 'feed',
1124+ >>> builder.add_splitter('split', 'feed',
11251125 ... flow_rates=[5.0, 2.0], flow_unit='MSm3/day')
1126-
1126+
11271127 # Auto-calculate one outlet (use -1)
11281128 >>> builder.add_splitter('split', 'feed',
11291129 ... flow_rates=[-1, 1.0], flow_unit='MSm3/day') # First gets remainder
@@ -1874,12 +1874,12 @@ def add_manifold(
18741874 >>> builder.add_manifold('prod_manifold',
18751875 ... inlets=['well1', 'well2', 'well3'],
18761876 ... split_factors=[0.5, 0.3, 0.2])
1877-
1877+
18781878 # Using absolute flow rates
18791879 >>> builder.add_manifold('prod_manifold',
18801880 ... inlets=['well1', 'well2'],
18811881 ... flow_rates=[10.0, 5.0], flow_unit='MSm3/day')
1882-
1882+
18831883 Note:
18841884 For manifolds, flow_rates are set on the internal splitter after
18851885 the streams are mixed. Use -1 for one outlet to auto-calculate.
@@ -1894,7 +1894,7 @@ def add_manifold(
18941894 # First set split factors to initialize the right number of outlets
18951895 m .setSplitFactors ([1.0 / len (flow_rates )] * len (flow_rates ))
18961896 # Then set flow rates on internal splitter
1897- if hasattr (m , ' localsplitter' ):
1897+ if hasattr (m , " localsplitter" ):
18981898 m .localsplitter .setFlowRates (flow_rates , flow_unit )
18991899 elif split_factors is not None :
19001900 m .setSplitFactors (split_factors )
0 commit comments