Thermal Energy Storage (Physical)
from watertap_contrib.reflo.solar_models import ThermalEnergyStorage
Note
This model was designed for use in a model utilizing the multiperiod framework. Steady-state applications are not recommended.
This Thermal Energy Storage (TES) model assumes the tank is at a uniform temperature (similar to a continuous stirred tank). It also assumes that both the heat transfer fluid and the storage fluid are the same. Water is used as the default heat transfer and storage fluid.
Degrees of Freedom/Variables
The TES model has 4 state variables at the inlet. Typically the variables listed below define the heat exchanger and process ports inlet and outlet.
Variables |
Variable name |
Symbol |
Valid range |
Units |
|---|---|---|---|---|
Inlet mass flow rate liquid water |
|
\(m_{l}\) |
\(\text{kg/s}\) |
|
Inlet mass flow rate vapor water |
|
\(m_{v}\) |
\(\text{kg/s}\) |
|
Temperature |
|
\(T_{f}\) |
298.15 - 372.15 |
\(\text{K}\) |
Pressure |
|
\(P\) |
\(\text{Pa}\) |
The following variables should also be fixed for the model to be fully-defined. An initial temperature is assigned to the outlet stream at the heat exhanger and process loop.
Variables |
Variable Name |
Symbol |
Valid Range |
Units |
|---|---|---|---|---|
Initial temperature |
|
\(T_{0}\) |
298.15 - 372.15 |
\(\text{K}\) |
Time step |
|
\(dt\) |
\(\text{hr}\) |
|
Hours of storage |
|
\(t_{storage}\) |
0-24 |
\(\text{hr}\) |
Design thermal output rate |
|
\(P_{th}\) |
\(\text{MW}\) |
|
Thermal energy storage capacity for hours of storage at design thermal output rate |
|
\(q_{TES}\) |
\(\text{MWh}\) |
Model Structure
This TES model consists of 4 StateBlocks (as 4 Ports in parenthesis below). Two ports connect to the the external heat exchanger which adds heat to the TES and two ports connect to the process side and provide heat to the treatment process.
Heat exchanger inlet (
tes_hx_inlet)Heat exchanger outlet (
tes_hx_outlet)Process inlet (
tes_process_inlet)Process outlet (
tes_process_outlet)
Sets
Description |
Symbol |
Indices |
|---|---|---|
Time |
\(t\) |
[0] |
Phases |
\(p\) |
[‘Liq’, ‘Vap’] |
Components |
\(j\) |
[‘H2O’] |
Parameters
The following parameters are used as default values and are mutable.
Description |
Parameter Name |
Symbol |
Default Value |
Units |
|---|---|---|---|---|
Heat transfer fluid density |
|
\(\rho_{htf}\) |
1000 |
\(\text{kg/m}^{3}\) |
Heat transfer fluid specific heat capacity |
|
\(C_{sp,htf}\) |
4184 |
\(\text{J/kg/K}\) |
Pump power |
|
\(P_{pump}\) |
1 |
\(\text{W}\) |
Pump efficiency |
|
\(\eta_{pump}\) |
0.8 |
\(\text{dimensionless}\) |
Design temperature |
|
\(T_{design}\) |
372.15 |
\(\text{K}\) |
Cold temperature |
|
\(T_{cold}\) |
293.15 |
\(\text{K}\) |
Equations
Description |
Equation |
|---|---|
TES volume |
\(V_{TES} = q_{TES} / (C_{sp,htf}*\rho_{htf}*(T_{design}-T_{cold}))\) |
Thermal energy capacity |
\(q_{TES} = t_{storage} * P_{th}\) |
Pumping power demand |
\(P_e = P_{pump}/\eta_{pump}\) |
Tank temperature |
\(T_{tank} = T_{0} + (Q_{in} - Q_{out})*dt/(V_{TES}*C_{sp,htf}*\rho_{htf})\) |
Costing
The following parameters are constructed on the costing block for TES costing:
Cost Component |
Variable |
Symbol |
Value |
Units |
Description |
|---|---|---|---|---|---|
Cost per volume storage |
|
\(c_{tes}\) |
2000 |
\(\text{USD}\text{/m}^3\) |
Cost per volume for thermal storage |
Contingency factor |
|
\(X_{c}\) |
0 |
\(\text{dimensionless}\) |
Fraction of direct costs for contingency |
Indirect cost factor |
|
\(X_{i}\) |
0.13 |
\(\text{dimensionless}\) |
Fraction of direct costs for indirect costs |
Fixed operating cost per system capacity |
|
\(c_{fix,op}\) |
66 |
\(\text{USD/kW/year}\) |
Fixed operating cost of flat plate plant per kW capacity |
These are used the calculate the following capital and operating costs:
Cost Component |
Symbol |
Equation |
|---|---|---|
Thermal storage cost |
\(C_{tes}\) |
\(c_{tes} \times V_{TES}\) |
Fixed operating cost |
\(C_{fix,op}\) |
\(c_{fix,op} \times P_{th}\) |
The direct costs include the cost of the storage, and contingency.
Indirect costs are calculated as a fraction of the direct costs:
The total capital cost of the FPC system is the sum of direct and indirect costs and sales tax:
Note that by default, REFLO assumes no sales tax (i.e., \(X_{t} = 0\)).
The total operating cost is the fixed operating cost: