Example2.Utilities.Functions

Specialized Functions for Various Purposeds

Package Content

Name Description
Example2.Utilities.Functions.storeforinitial storeforinitial  

Example2.Utilities.Functions.storeforinitial Example2.Utilities.Functions.storeforinitial

Information

This function will store the initialization data for a given snapshot as a .most script.

The user should enter the name of the text file that will include the initialization data, and of a .mos script that will be used to re-use the intialization data.

This is a Dymola specific function that uses the following function from the DymolaCommands library:

    DymolaCommands.SimulatorAPI.exportInitial(dsName,scriptName);


Usage:

The user can run the model up to any point in time and execute this function to store the snapshot.

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

Inputs

NameDescription
dsNamefile name to assign to dsName in exportInitial
scriptNamescript name to assgine to scriptName in exportInitial
Automatically generated Wed Mar 13 11:47:15 2024.