modelThermocline
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Area | A | Cross-sectional area | |
| SI.Length | length | Total thermocline length | |
| Initialization | |||
| SI.Pressure | p_start | 1e5 | Pressure at upper surface |
| SItf.NonDim | levelFrac_start | 0.5 | Fraction of length filling the upper volume |
| SI.Temperature | T_start_upper | 293.15 | |
| SI.Temperature | T_start_lower | 293.15 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_upper | ||
| Interfaces.FluidPort_Flow | port_lower | ||
| Modelica.Blocks.Interfaces.RealInput | m_flow_upper |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Energy | Q_storage | volume_upper.m*(volume_upper.h - Medium.specificEnthalpy(Medium.setState_pTX(p_start, T_start_lower))) | |
| Real | Q_storage_MWt_h | Q_storage/1e6/3600 | |
| SI.Volume | V_total | volume_upper.V + volume_lower.V | |
| SItf.NonDim | levelFrac | volume_upper.V/V_total | |
| SI.Mass | m_total | volume_upper.m + volume_lower.m | |
| ExpansionTank_1Port | volume_upper | ||
| ExpansionTank_1Port | volume_lower | ||
| SI.Pressure | p_surface | p_start | Liquid surface/gas pressure |
| Machines.Pump_SimpleMassFlow | pump_upper | ||
| Machines.Pump_SimpleMassFlow | pump_lower | ||
| Modelica.Blocks.Sources.RealExpression | m_flow_lower | ||
| Sensors.DensityTwoPort | sensor_d_upper | ||
| Sensors.DensityTwoPort | sensor_d_lower |
Contents
| Name | Description |
|---|---|
| Medium in the component |