functionconstructor

Construct an extendable array that can be used to store double valuesCreate empty file

Extends from Modelica.Icons.Function (Icon for functions).

Information

Creates an empty file with name fileName. If fileName is used in another instance of Buildings.Utilities.IO.Files.CSVWriter, the simulation stops with an error.

Inputs

TypeNameDefaultDescription
StringinstanceNameInstance name of the file write
StringfileNameName of the file, including extension
IntegernumColumnsNumber of columns that are written to file
BooleanisCombiTimeTableFlag to indicate whether combiTimeTable header should be prepended upon destruction

Outputs

TypeNameDefaultDescription
FileWriterObjectfileWriterPointer to the file writer

Revisions

c