| Modelica.Units.SI.Length | htot | 1 | Total height of the tank |
| Modelica.Units.SI.Length | h1 | 0.3 | Height of the bottom of the heat exchanger |
| Modelica.Units.SI.Length | h2 | 0.6 | Height of the top of the heat exchanger |
| Modelica.Units.SI.Length | h_T | 0.7 | Height of the temperature sensor |
| Integer | N | 15 | Total number of cells |
| Integer | N1 | integer(h1*N/htot) | Cell corresponding to the bottom of the heat exchanger |
| Integer | N2 | integer(h2*N/htot) | Cell corresponding to the top of the heat exhcanger |
| Integer | N_T | integer(h_T*N/htot) | Cell corresponding to the tempearture sensor |
| Modelica.Units.SI.Area | A_amb | 2 | Total heat exchange area from the tank to the ambient |
| Modelica.Units.SI.Area | A_hx | 1 | Total heat exchanger area from in the heat exchanger |
| Modelica.Units.SI.Volume | V_tank | 0.3 | Total capacity of the tank |
| Modelica.Units.SI.Volume | V_hx | 0.005 | Internal volume of the heat exchanger |
| Modelica.Units.SI.MassFlowRate | Mdot_nom | 0.1 | Nominal mass flow rate in the heat exchanger |
| Modelica.Units.SI.CoefficientOfHeatTransfer | U_amb | 1 | Heat transfer coefficient between the tank and the ambient |
| Modelica.Units.SI.CoefficientOfHeatTransfer | Unom_hx | 4000 | Nominal heat transfer coefficient in the heat exchanger |
| Modelica.Units.SI.Mass | M_wall_hx | 5 | Mass of the metal wall between the two fluids |
| Modelica.Units.SI.SpecificHeatCapacity | c_wall_hx | 500 | Specific heat capacity of metal wall |
| Modelica.Units.SI.Power | Wdot_res | 3000 | Nominal power of the electrical resistance |
| Modelica.Units.SI.Temperature | Tmax | 273.15 + 90 | |
| Initialization |
| Modelica.Units.SI.Pressure | pstart_tank | 1E5 | Tank pressure start value |
| Modelica.Units.SI.Temperature | Tstart_inlet_tank | 273.15 + 10 | Tank inlet temperature start value |
| Modelica.Units.SI.Temperature | Tstart_outlet_tank | 273.15 + 60 | Tank outlet temperature start value |
| Modelica.Units.SI.SpecificEnthalpy[N] | hstart_tank | linspace(MainFluid.specificEnthalpy_pTX(pstart_tank, Tstart_inlet_tank, MainFluid.reference_X), MainFluid.specificEnthalpy_pTX(pstart_tank, Tstart_outlet_tank, MainFluid.reference_X), N) | Start value of enthalpy vector (initialized by default) |
| Modelica.Units.SI.Pressure | pstart_hx | 1E5 | Heat exchanger pressure start value |
| Modelica.Units.SI.Temperature | Tstart_inlet_hx | 273.15 + 70 | Heat exchanger inlet temperature start value |
| Modelica.Units.SI.Temperature | Tstart_outlet_hx | 273.15 + 50 | Heat exchanger outlet temperature start value |
| Boolean | steadystate_tank | true | if true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization |
| Boolean | steadystate_hx | true | if true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization |