modelColdWaterTempReader

Cold water temperature reader
Diagram of ColdWaterTempReader

Information

Hypothesis and equations

This model allows you to read text file indicating the cold water temperature in the pipes.

Bibliography

none

Instructions for use

Content of file columns

Time (s)

Cold water temperature (°C)

Known limits / Use precautions

Please note that the cold water temperature is entered in Celsius in the .txt file but is converted to Kelvin as an output

Pay attention to the format of the input file: a csv file must be exported in .txt (tab separator text) and must look the same like the example given in the documentation:

  • no blank line before end of file/ mandatory blank line at the end of file
  • 2 first copy-pasted lines of examples (data type(double), data name(data), comments, ...)

Validations

Validated model - Amy Lindsay 04/2013

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Amy LINDSAY, EDF (2013)
--------------------------------------------------------------

Parameters

TypeNameDefaultDescription
StringpthModelica.Utilities.Files.loadResource("modelica://BuildSysPro/Resources/Donnees/Meteos/RT2012/eau_froide_H1a.txt")Path to the meteo file

Connectors

TypeNameDefaultDescription
BaseClasses.HeatTransfer.Interfaces.HeatPort_bT_coldCold water temperature [K]

Components

TypeNameDefaultDescription
BaseClasses.HeatTransfer.Sources.PrescribedTemperatureprescribedTef
Modelica.Thermal.HeatTransfer.Celsius.ToKelvintoKelvinTef
Modelica.Blocks.Tables.CombiTable1DscombiTimeTable
Modelica.Blocks.Sources.RealExpressionTemps

Revisions

Gilles Plessis 09/2015 : Utilisation de la fonction Modelica.Utilities.Files.loadResource pour le chargement de fichiers, pour une meilleure compatibilité avec le standard Modelica.