Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.09 KB

File metadata and controls

32 lines (25 loc) · 1.09 KB

Turbine

The Turbine model is a 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 False, and the default "thermodynamic_assumption" is "isentropic." See the PressureChanger documentation <reference_guides/model_libraries/generic/unit_models/pressure_changer:Pressure Changer> for details.

Example

The example below demonstrates the basic Turbine model usage:

import pyomo.environ as pyo from idaes.core import FlowsheetBlock from idaes.models.unit_models import Turbine from idaes.models.properties import iapws95

m = pyo.ConcreteModel() m.fs = FlowsheetBlock(dynamic=False) m.fs.properties = iapws95.Iapws95ParameterBlock() m.fs.unit = Turbine(property_package=m.fs.properties)

m.fs.unit.inlet.flow_mol[0].fix(1000) m.fs.unit.inlet.enth_mol[0].fix(iapws95.htpx(T=800*pyo.units.K, P=1e7*pyo.units.Pa)) m.fs.unit.inlet.pressure[0].fix(1e7) m.fs.unit.deltaP.fix(-2e6) m.fs.unit.efficiency_isentropic.fix(0.9)