Step 4: Export Data
SAInt GUI has a range of export options that facilitates the access of network and scenario data for further analysis. The results of a successfully executed scenario can also be exported to various file formats (e.g., PDF, CSV, Excel™, etc.). This step focuses on exporting network and scenario data using SAInt GUI export results option.
1. Network data
A network in SAInt can be exported to an Excel™ file. The exported file is used to edit any network object property or add/remove network objects. Once the changes are made, the exported network file can be imported back into SAInt using the
option from the network tab. You will first export the network from the first beginner tutorial to an Excel file. Start by opening the network in SAInt GUI. Go to the network tab and click . When prompted to "Select import file save location", navigate to your preferred location, type the filename, and press Save. Once the network file is exported, a message box notifies of the export status and location of the saved file, and the Excel file will be automatically opened.Similarly, a network parameter file can be exported by clicking on
from the network tab. The parameter file contains the list of all the network objects with their respective property values, which can be changed. Once the property values are changed, the same file can be imported back into SAInt using the option from the network tab. This action updates all the property values in the existing network.
The parameter import option for the network is only visible when no scenario is loaded into SAInt GUI. |
2. Scenario data
The scenario related data, which includes results, events, profiles, network state, and state transfer events (dispatch and commitment), can be exported from SAInt GUI into different file formats. All the export functions for the scenario can be accessed by clicking on Export from the scenario tab. This section only focuses on the export of scenario results.
Please refer to the data export section of the reference guide for more information on exporting the network and scenario data and export file formats. |
Once a scenario is executed, the stored results for a set of user-defined result variables can be exported to an Excel file. The result variables are defined in the "Results Description File", which can either be a text, CSV, or an Excel file. The result variables are defined using the object parameter (ObjectType.ObjectName.PropertyExtension.[Unit]
). Create a results description file to extract the active power generation of all the generators and the demand not served at the network level. Open a new Excel file and type the object identifiers in separate rows as shown in Table 1.
|
|
|
|
After entering all the above object identifiers, save the results description file at your preferred location and close it. Next, return to SAInt, go to the scenario tab, and click on
. If the option is not available, just load the dynamic scenario of the first beginner tutorial. When prompted to "Choose Result Description File", select the previously saved excel file and press Open. Once the results description file is selected, another dialog box appears to "Choose Result Output File". Go to your preferred location to save the results file and type the name of the output results file name. You can also choose a preferred filetype from the dropdown list. After pressing Save, a message box states that "Export all results may take a while to finish. Are you sure you want to continue?". Press Yes and wait for the results to be exported. Once all the results are exported, a message box notifies of the export status and the location of the results output file.Click here to view the exported results file.
Time [sec] | DateTime [dd/MM/yyyy HH:mm] | XGEN.NG_GEN1.P [MW] | XGEN.NG_GEN2.P [MW] | WIND.WIND_GEN3.P [MW] | ENET.PNSDEM [MW] |
---|---|---|---|---|---|
0 |
01/01/2023 |
0 |
0 |
0 |
0 |
3600 |
01/01/2023 1:00 |
110.852783684011 |
34.0116495394124 |
6.25 |
0 |
7200 |
01/01/2023 2:00 |
100.671891279321 |
37.7519592297454 |
0 |
0 |
10800 |
01/01/2023 3:00 |
90.5610670287349 |
35.2181927333969 |
0 |
0 |
14400 |
01/01/2023 4:00 |
90.5610670287349 |
35.2181927333969 |
0 |
0 |
18000 |
01/01/2023 5:00 |
100.724084207072 |
31.47627631471 |
6.25 |
0 |
21600 |
01/01/2023 6:00 |
120.922330710691 |
30.2305826776726 |
0 |
0 |
25200 |
01/01/2023 7:00 |
126.232501914221 |
31.5581254785553 |
18.75 |
0 |
28800 |
01/01/2023 8:00 |
121.113561870054 |
68.1263785519053 |
12.5 |
0 |
32400 |
01/01/2023 9:00 |
131.21918691732 |
76.9651000188125 |
6.25 |
0 |
36000 |
01/01/2023 10:00 |
151.712720428333 |
56.8922701606249 |
18.75 |
0 |
39600 |
01/01/2023 11:00 |
151.810135673534 |
50.6033785578447 |
25 |
0 |
43200 |
01/01/2023 12:00 |
126.529041336699 |
50.6116165346796 |
37.5 |
0 |
46800 |
01/01/2023 13:00 |
111.464100845129 |
40.5324003073196 |
50 |
0 |
50400 |
01/01/2023 14:00 |
131.923032248824 |
32.3489427736581 |
25 |
0 |
54000 |
01/01/2023 15:00 |
136.915187259126 |
33.5972691982727 |
18.75 |
0 |
57600 |
01/01/2023 16:00 |
134.17856155526 |
30.3800516728891 |
37.5 |
0 |
61200 |
01/01/2023 17:00 |
151.603644018681 |
50.534548006227 |
12.5 |
0 |
64800 |
01/01/2023 18:00 |
151.58395945405 |
82.1079780376102 |
6.25 |
0 |
68400 |
01/01/2023 19:00 |
151.949655576543 |
69.643592139249 |
31.25 |
0 |
72000 |
01/01/2023 20:00 |
151.828207325231 |
63.2617530521794 |
25 |
0 |
75600 |
01/01/2023 21:00 |
151.603644018681 |
50.534548006227 |
12.5 |
0 |
79200 |
01/01/2023 22:00 |
121.749870645361 |
42.4356395610388 |
25 |
0 |
82800 |
01/01/2023 23:00 |
111.763562656261 |
40.6183602430205 |
19 |
0 |
86400 |
02/01/2023 |
100.800257033957 |
50.4001285169787 |
12.5 |
0 |