Model of an organic Rankine cycle (ORC) as a bottoming cycle.
The thermodynamic cycle is steady-state while the evaporator and the condenser
can be configured to have first order dynamics.
The fluid stream 1 (using Medium1
, port_a1
, etc.)
is the evaporator hot fluid, e.g., waste heat,
and the stream 2 is the condenser cold fluid.
The working fluid of the cycle is not based on a typical Modelica medium model.
See the Thermodynamic Properties section of this document for the rational.
The implemented ORC is modeled based on the simplified cycle shown in the figure below. The cycle has two variants depending on the shape of the saturation lines of the working fluid and ηexp. For any given working fluid, the cycle is fully determined by providing the working fluid evaporating temperature Tw,eva, the working fluid condensing temperature Tw,con, the expander efficiency ηexp, and the pump efficiency ηpum. The superheating temperature difference ΔTsup is minimized, meaning it is zero whenever possible; otherwise it assumes the smallest value not to cause the expander outlet state to fall under the two-phase region, i.e. the "dome". Subcooling after the condenser is not considered. The Thermodynamic Properties section of this document details how these state points are found.
An important assumption is that all heat is dissipated, i.e., the cycle is not controlled by thermal load.
The cycle processes the heat at a fixed Tw,eva provided by the user. The evaporator heat exchange is governed by
Q̇eva = ṁh cp,h (Th,out - Th,in),
Q̇eva = ṁw (hpum,out - hexp,in),
where the subscripts are eva for evaporator, exp for expander, h for hot fluid of the evaporator, i.e. the fluid carrying heat, pum for pump, and w for working fluid.
The cycle accommodates the variable flow rate and temperature of the waste heat stream by changing the working fluid mass flow rate ṁw to maintain a constant pinch point (PP) temperature difference at the evaporator ΔTpin,eva. This difference is found from
(Tpin,eva - Th,out) (hexp,in - hpum,out)
= (Th,in - Th,out) (heva,pin - hpum,out),
ΔTpin,eva = Tpin,eva - Tw,eva.
The condenser side uses the same equations with the evaporator variables replaced by their condenser counterparts where appropriate. Hence,
Q̇con = ṁc cp,c (Tc,out - Tc,in),
Q̇con = ṁw (hpum,in - hexp,out),
(Tc,pin - Tc,in) (hexp,out - hpum,in)
= (Tc,out - Tc,in) (hcon,pin - hpum,in),
ΔTcon,pin = Tw,con - Tc,pin,
where the subscripts are
con for condenser, and
c for cold fluid in the condenser.
The electric power output of the expander is
Pexp = ṁw (hexp,in - hexp,out).
The electric power consumption of the pump is
Ppum = ṁw (hpum,out - hpum,in).
The pump work is
Ppum = ṁw (peva - pcon) / (ρpum,in ηpum).
This takes advantage of the negligible density change of the liquid to avoid a property search in the subcooled liquid region.
In summary, the model has the following information flow:
User-specified parameters | Inputs | Outputs |
---|---|---|
Tw,eva - Working fluid evaporating temperature, ΔTpin,eva - Evaporator pinch point temperature difference, ΔTpin,con - Condenser pinch point temperature difference, ηexp - Expander efficiency, ηpum - Pump efficiency. |
Th,in - Evaporator hot fluid incoming temperature, ṁh - Evaporator hot fluid flow rate, Tc,in - Condenser cold fluid incoming temperature, ṁc - Condenser cold fluid flow rate. |
ṁw - Working fluid flow rate, Tw,con - Working fluid condensing temperature, Th,out - Evaporator hot fluid outgoing temperature, Tc,out - Condenser cold fluid outgoing temperature, Q̇eva - Evaporator heat flow rate, Q̇con - Condenser heat flow rate, Pexp - Expander power output, Ppum - Pump power consumption. |
The ORC system controls ṁw to maintain the prescribed evaporator PP temperature difference set point. Although the model does not implement this as a control loop, an upper limit and a lower limit are imposed on ṁw to reflect the capacity constraints of a sized cycle.
How these constraints affect the cycle's behavior reacting to a variable waste heat fluid stream is demonstrated in Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.
The thermodynamic properties of the working fluid are not computed by a typical
Modelica medium model, but by interpolating data records in
Buildings.Fluid.CHPs.OrganicRankine.Data.
Specific enthalpy and specific entropy values are provided as support points
on the saturated liquid line, the saturated vapor line, and
a superheated vapor line (called the reference line).
The values of these support points were obtained using CoolProp
(https://www.coolprop.org;
Bell et al., 2014) through its Python wrapper and stored as Modelica records.
An example Python file is provided in
Buildings/Resources/Python-Sources/MakeORCFluidRecord.py
,
but note that this file is not maintained.
The records included in this library have ten data points for each line.
It is recommended to have at least four points to take full advantage of
the cubit Hermite spline interpolation that is set up in this model.
Thermodynamic state points in the cycle are determined by various schemes of interpolation and extrapolation.
yA = s(uA,d)
where s(·,·) is a cubic Hermite spline, uA is the input property, and d are the support points. For the saturation curves, the user can configure the model to use either the saturation pressure or the saturation temperature for uA. For the reference line uA is the pressure.(hB - h1) / (sB - s1) = (h2 - h1) / (s2 - s1)
where sB is known because it equals the expander inlet entropy, and all other points are on the saturation line and therefore can be found as point A.The cycle can be completely defined by providing the following quantities: evaporating temperature Teva or pressure peva, condensing temperature Tcon or pressure pcon, expander efficiency ηexp, and pump efficiency ηpum. Most of the important state points can be found via the interpolation schemes described above. The only exceptions are the expander inlet, expander outlet, and the pump outlet.
hexp,out - hexp,in = (hexp,out,ise - hexp,in) ηexp
where hexp,out is solved and hexp,in is known.hexp,out - hexp,in = (hexp,out - hexp,inl,ise) ηexp
where hexp,out is known and hexp,in is solved. For this fluid and this ηexp, if the expansion started from the saturated vapor line, the outlet point would end up under the dome.TWorEva
or the evaporating pressure
pWorEva
. To support this, a default parameter assignment is
provided to both. Otherwise there would be unassigned parameters even though
they are not needed.
Bell IH, Wronski J, Quoilin S, Lemort V. Pure and pseudo-pure fluid thermophysical property evaluation and the open-source thermophysical property library CoolProp. Industrial & engineering chemistry research. 2014 Feb 12;53(6):2498-508. https://doi.org/10.1021/ie4033999