modelColdWaterTempReader
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
| Type | Name | Default | Description |
|---|---|---|---|
| String | pth | Modelica.Utilities.Files.loadResource("modelica://BuildSysPro/Resources/Donnees/Meteos/RT2012/eau_froide_H1a.txt") | Path to the meteo file |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BaseClasses.HeatTransfer.Interfaces.HeatPort_b | T_cold | Cold water temperature [K] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BaseClasses.HeatTransfer.Sources.PrescribedTemperature | prescribedTef | ||
| Modelica.Thermal.HeatTransfer.Celsius.ToKelvin | toKelvinTef | ||
| Modelica.Blocks.Tables.CombiTable1Ds | combiTimeTable | ||
| Modelica.Blocks.Sources.RealExpression | Temps |
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.