modelCSVReader

Reader for csv files generated by CSVWriter

Extends from Buildings.Utilities.IO.Files.Examples.BaseClasses.PartialCSV (Base model for CSV reader and writer example).

Information

This model demonstrates how a CombiTimeTable can be used to read a text file that contains a table. The text file is stored in Buildings/Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.txt. It has the format of a file that can be generated by Buildings.Utilities.IO.Files.Examples.CSVWriter.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Cosinecos (from PartialCSV)Cosine
Modelica.Blocks.Sources.Stepstep (from PartialCSV)Step function
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTableReader for test.csv

Revisions

  • January 8, 2022, by Michael Wetter:
    Corrected documentation and changed file name of text file as it is not a csv file.
    This is for #1572.
  • July 10, 2018 by Michael Wetter:
    Refactored implementation for #983.
  • May 14, 2018 by Filip Jorissen:
    First implementation. See #924.