Buildings.Utilities.IO.Files.Examples
Examples package
Information
This package contains examples for the use of models that can be found in Buildings.Utilities.IO.Files.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
CSVReader | Reader for csv files generated by CSVWriter |
CSVWriter | Example of csv writer use |
JSONWriter | Example use of the JSON writer |
Printer | Test model for printer |
BaseClasses | Package with base classes for Buildings.Utilities.IO.Files.Examples |
Buildings.Utilities.IO.Files.Examples.CSVReader
Reader for csv files generated by CSVWriter
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.
Extends from Buildings.Utilities.IO.Files.Examples.BaseClasses.PartialCSV (Base model for CSV reader and writer example).
Modelica definition
Buildings.Utilities.IO.Files.Examples.CSVWriter
Example of csv writer use
Information
This model demonstrates the use of the csv file writer.
Extends from Buildings.Utilities.IO.Files.Examples.BaseClasses.PartialCSV (Base model for CSV reader and writer example).
Modelica definition
Buildings.Utilities.IO.Files.Examples.JSONWriter
Example use of the JSON writer
Information
This model generates four json files, using a single or multiple inputs and at different points in time.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.IO.Files.Examples.Printer
Test model for printer
Information
Extends from Modelica.Icons.Example (Icon for runnable examples).