diff --git a/src/libecalc/domain/infrastructure/energy_components/legacy_consumer/system/consumer_function.py b/src/libecalc/domain/infrastructure/energy_components/legacy_consumer/system/consumer_function.py index 6e33d70076..55dccd1b6d 100644 --- a/src/libecalc/domain/infrastructure/energy_components/legacy_consumer/system/consumer_function.py +++ b/src/libecalc/domain/infrastructure/energy_components/legacy_consumer/system/consumer_function.py @@ -420,10 +420,10 @@ def evaluate_consumers( logger.debug(f"Evaluating running pump#{pump_number} out of {self.number_of_consumers} pumps") pump_model_result = pump.facility_model.evaluate_rate_ps_pd_density( - rate=consumer_rates[pump_number], - suction_pressures=consumer_suction_pressures[pump_number], - discharge_pressures=consumer_discharge_pressures[pump_number], - fluid_density=consumer_fluid_densities[pump_number], + rate=np.asarray(consumer_rates[pump_number]), + suction_pressures=np.asarray(consumer_suction_pressures[pump_number]), + discharge_pressures=np.asarray(consumer_discharge_pressures[pump_number]), + fluid_density=np.asarray(consumer_fluid_densities[pump_number]), ) pump_result = PumpResult( name=pump.name,