Plant Simulation modeling is a long-term process, so it is very important to save the model history . This time, I will share an OOTB (out-of-the-box/system built-in) function of saving history.
The screenshots in this article are from Plant Simulation 16.0.5
Table of contents
1. Function setting and description
Settings: Software main menu
File - Preferences/Model Settings - General - Model saving history.
File - Preferences/Model Settings - General - Model saving history.
Options explained:
-
英文解释:
Select which kind of comment Plant Simulation adds to your model file (.spp), each time you save it:- 【None】 does not save the history of how you saved your model.
- 【Without comment】 adds no comment.
- 【With comment】 opens a comment window, each time when you save the model. Enter your comment here.
- When you select 【Without comment】 or 【With comment】 the program adds a row to the dialog Model Saving History each time you save the model.
When the model crashes, Plant Simulation adds a description of the problem to the dialog instead of a comment. This helps our software engineers detect what caused the crash.
-
Chinese explanation:
Select the comment type that the program adds to the model file (.spp) each time the model file is saved:- 【None】: Do not save history records.
- 【No Comments】: Save the history without adding comments.
- [ With comments ]: Open the comment window every time the model is saved, and the user can input comments.
- When selecting [ No Comment ] or [ With Comment ], the program will add a line to the model saving history dialog box every time the model is saved.
When the model crashes, the program adds a description of the problem to this dialog box instead of a comment. This helps our software engineers detect what is causing the crash.
2. Usage scenarios
-
save model save history
-
When [ None ] is selected to save the model, there will be no historical
records when saving the model. -
Select [ Without comment ] [ No comment ]
to automatically save the record when saving the model. When viewing historical records, the following figure will display the saved time, model path, name, software version used, and user.
-
Select [ With comment ] [ With comment ]
to automatically save the record when saving the model. When saving the model, a comment window is displayed for user input.
When viewing the historical record, the following figure will display the saved time, model path, name, software version used, user and comment content.
-
-
To view the model save history:
3. Summary
Plant Simulation modeling is a long-term process, and it is recommended to make a good modeling history record. The above function of saving history records of OOTB.
But it may be a bit troublesome to save the history every time you save. In this case, we can also make a development function that allows us to choose whether to save the history when saving the model; or save the history when the model is closed.