@@ -291,10 +291,11 @@ class Pump(Turbomachine):
291291 Be aware that if the pump runs outside of the characteristic map it can
292292 easily happen that derivatives become zero because the interpolation
293293 returns the same values independent of the variables. A good initial
294- guess can (but does not necessarily) help. We can re-create the
295- characteristic maps, this time provide the :code:`extrapolate` keyword.
296- It will extrapolate beyond the component map and thus produce non-zero
297- derivatives.
294+ guess can (but does not necessarily) help. Instead, we can also
295+ re-create the characteristic maps, and this time provide the
296+ :code:`extrapolate` keyword. It will extrapolate beyond the component
297+ map and thus produce non-zero derivatives. Typically, this is not only
298+ necessary for the head map.
298299
299300 >>> outg.set_attr(p=1.2)
300301 >>> nw.solve("design")
@@ -311,7 +312,6 @@ class Pump(Turbomachine):
311312 ... x=frequencies,
312313 ... y=flows,
313314 ... z=efficiency,
314- ... extrapolate=True
315315 ... )
316316 >>> pu.set_attr(
317317 ... head_flow_map={'char_func': pump_H_map, 'is_set': True},
@@ -368,7 +368,9 @@ def get_parameters(self):
368368 parameters ["dp" ].max_val = 0
369369 parameters .update ({
370370 'eta' : dc_cp (
371- min_val = 0 , max_val = 1 , is_result = True ,
371+ # if eta_s == 1, eta can be slighter higher than 1, so
372+ # max_val is relaxed a little bit
373+ min_val = 0 , max_val = 1.01 , is_result = True ,
372374 quantity = "efficiency" ,
373375 description = (
374376 "efficiency defined as specific incompressible flow work "
0 commit comments