Step 4: Export Data

SAInt GUI has a range of export options that allow the user to extract network and scenario-related data. For scenarios, the stored results of an executed scenario can also be exported to various file formats (e.g., CSV, Excel, etc.). This tutorial focuses on exporting network and scenario data and some base results using the SAInt GUI export results option.

1. Network data

A network in SAInt can be exported to a file, and the default is an Excel file. The exported file can be used to add, remove or edit edit any network object properties and objects. Once the changes are made, the exported network file can be imported back into SAInt using the Import  Network option from the network tab. This import will create a new network file or overwrite the existing.

See network properties section for more information about creating new models from the same import templates.

You will first export the network from the first beginner tutorial to an Excel file. Go to the network tab and click Export  To Network Import File  Electric Network Import File. 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 Export  To Parameter Import File  To Electric Network Parameter Import File from the network tab. The parameter file contains the list of all the network objects with their respective property values, which can be changed. A network parameter file allows the user to change any of the properties listed in the file. The user may also create a parameter import file with only the specific objects and properties of interest. Once the property values are changed, the same file, or a subset, can be imported back into SAInt using the Import  Parameter option from the network tab. This action updates all the property values from the file to the loaded 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 the 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 copy or type the object identifiers into the file as shown in Table 1.

Table 1. Result description file.

FGEN.NG_GEN1.P.[MW]

FGEN.NG_GEN2.P.[MW]

WIND.WIND_GEN3.P.[MW]

ENET.PNSDEM.[MW]

After entering all the above object identifiers, save the results description file at your preferred location. Next, return to SAInt, go to the scenario tab, and click on the Export  Results  From Electric Scenario. 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. 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 (the first day’s results are displayed below).
Time [sec] DateTime [dd/MM/yyyy HH:mm] FGEN.NG_GEN1.P [MW] FGEN.NG_GEN2.P [MW] WIND.WIND_GEN3.P [MW] ENET.PNSDEM [MW]

0

1/1/2022

0

0

0

0

3600

1/1/2022 1:00

90

10

50

0

7200

1/1/2022 2:00

70

10

70

0

10800

1/1/2022 3:00

62

11

80

0

14400

1/1/2022 4:00

32

10

120

0

18000

1/1/2022 5:00

10

10

145

0

21600

1/1/2022 6:00

10

10

152

0

25200

1/1/2022 7:00

25

10

148

0

28800

1/1/2022 8:00

33

10

144

0

32400

1/1/2022 9:00

28

10

150

0

36000

1/1/2022 10:00

32

10

146

0

39600

1/1/2022 11:00

34

10

142

0

43200

1/1/2022 12:00

28

10

140

0

46800

1/1/2022 13:00

58

10

108

0

50400

1/1/2022 14:00

67

10

100

0

54000

1/1/2022 15:00

97

49

42

0

57600

1/1/2022 16:00

100

61

36

0

61200

1/1/2022 17:00

100

61

50

0

64800

1/1/2022 18:00

100

70

42

0

68400

1/1/2022 19:00

100

60

50

0

72000

1/1/2022 20:00

100

14

90

0

75600

1/1/2022 21:00

93

10

84

0

79200

1/1/2022 22:00

100

37

40

0

82800

1/1/2022 23:00

100

38

24

0

86400

2/1/2022

100

32

24

0