The Pump model is a :ref:`PressureChanger <reference_guides/model_libraries/generic/unit_models/pressure_changer:Pressure Changer>`, where the configuration is set so that the "compressor" option can only be True, and the default "thermodynamic_assumption" is "pump." See the :ref:`PressureChanger documentation <reference_guides/model_libraries/generic/unit_models/pressure_changer:Pressure Changer>` for details.
The example below demonstrates the basic Pump model usage:
.. testcode:: import pyomo.environ as pyo from idaes.core import FlowsheetBlock from idaes.models.unit_models import Pump from idaes.models.properties import iapws95 m = pyo.ConcreteModel() m.fs = FlowsheetBlock(dynamic=False) m.fs.properties = iapws95.Iapws95ParameterBlock() m.fs.unit = Pump(property_package=m.fs.properties) m.fs.unit.inlet.flow_mol[0].fix(100) m.fs.unit.inlet.enth_mol[0].fix(2000) m.fs.unit.inlet.pressure[0].fix(101325) m.fs.unit.deltaP.fix(100000) m.fs.unit.efficiency_pump.fix(0.8)