modelDischarging2

Validation against discharging experiment 2

Extends from Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.BaseClasses.PartialChargingDischarging (Base example).

Information

This example is to validate the developed ice tank model for discharging mode using data generated from experiment 2. The outlet temperature setpoint is set to 2 degree below the measured temperature because the measurement data was taken when the bypass was fully closed. In this way, the implemented model will automatically close the bypass valve during charging.

Parameters

TypeNameDefaultDescription
StringfileName (from PartialChargingDischarging)Calibration data file
RealSOC_start (from PartialChargingDischarging)0.90996030Start value of state of charge
Modelica.Units.SI.MassFlowRatem_flow_nominal (from PartialChargingDischarging)1Nominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal (from PartialChargingDischarging)100000Pressure difference
Buildings.Fluid.Storage.Ice.Data.Tank.Genericper (from PartialChargingDischarging)Performance curve obtained from onsite experiment

Components

TypeNameDefaultDescription
Buildings.Fluid.Storage.Ice.ControlledTankiceTan (from PartialChargingDischarging)Ice tank
Buildings.Fluid.Sources.MassFlowSource_Tsou (from PartialChargingDischarging)Mass flow source
Buildings.Fluid.Sources.Boundary_pTbou (from PartialChargingDischarging)Pressure source
Buildings.Fluid.FixedResistances.PressureDropres (from PartialChargingDischarging)Flow resistance
Modelica.Blocks.Sources.CombiTimeTabledat (from PartialChargingDischarging)Flowrate measurements
Modelica.Thermal.HeatTransfer.Celsius.ToKelvinTIn (from PartialChargingDischarging)Conversion from Celsius to Kelvin
Modelica.Thermal.HeatTransfer.Celsius.ToKelvinTOutSet (from PartialChargingDischarging)Outlet temperature in Kelvin
Modelica.Blocks.Math.AddTSet (from PartialChargingDischarging)Temperature setpoint
Modelica.Blocks.Sources.ConstantoffSet (from PartialChargingDischarging)An offset for setpoint control
Sensors.TemperatureTwoPortTOut (from PartialChargingDischarging)Tank outlet temperature

Revisions

  • December 14, 2021, by Yangyang Fu:
    First implementation.