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
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName | Instance name of the file write | |
| String | fileName | Name of the file, including extension | |
| Integer | numColumns | Number of columns that are written to file | |
| Boolean | isCombiTimeTable | Flag to indicate whether combiTimeTable header should be prepended upon destruction |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| FileWriterObject | fileWriter | Pointer to the file writer |