Function for recording variables in CSV format
Hypothesis and equations
This function allows you to choose a template, to select parameters to be changed from their default values and then to select the variables to export to a CSV file
It allows the modification of a set of simulation option such as
Bibliography
none
Instructions for use
Use the following procedure:
After the successful parameterization of the function, click on Execute in the bottom right of the dialog window. The simulation is performed and variables are saved in the specified CSV file.
This function normally performs a simulation without recording events (saveEvents variable set to false by default), corresponding to the store variables at events box shakeout in the Output tab of the Setup menu (see figure below).
Known limits / Use precautions
Warnings, parameters of type String are not changeable by this function. It is a limit from Dymola.
It happened that Dymola crashes during the model variables selection. This error appears due to the annotation importDsin that must be incorporated in the record Variables and not at the top level in the record SimpleStudySetup.
Validations
Validated function - Gilles Plessis 06/2012
--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Gilles PLESSIS, EDF (2012)
--------------------------------------------------------------
function Simulation2CSV import DataFiles; input BuildSysPro.Utilities.Records.SimpleStudySetup setup; end Simulation2CSV;
Gilles Plessis 03/2013 : Ajout des fonctions Dymola pour la simulation avec/sans événements et pas de temps equidistant. Suppresion de la possibilité de paramétrer l'étude en nombre de pas de temps.