System Coupling automatically saves the data model state of a coupled analysis during its creation and execution. When a coupled analysis has completed or been interrupted, the data model and a restart point file corresponding to the last completed coupling step or iteration are automatically written to HDF5-formatted files (that is, a Settings file and a Restart file) in the SyC subdirectory in System Coupling's working directory.
However, you can also save the state of a coupled analysis on demand, as follows:
- Saving the coupled analysis state in the GUI:
Select
menu option.
- Saving the coupled analysis state in the CLI:
Run the Save() command.
To change the output location, set the optional FilePath argument to the name of the intended output directory.
Note: A Save operation will raise an exception if another instance of System Coupling is solving in the current working directory.
When a Save operation is performed, System Coupling saves the data model state to a Settings file and also saves a Restart file for each restart point that exists for the coupled analysis. These files can be used to resume the co-simulation, as described in Restarting a Coupled Analysis.
For more detailed information on the files created, see Settings File and Restart Files.