<filename>Test_Case/Operation_Planning.py
### Performing Multi-objective Optimization of Operation planning of District Energy systems ###
### Using NSGA-II Algorithm ###
import pandas as pd
import math
import os
import sys
import csv
import json
import DES_weather_analysis
from DES_weather_analysis import clustring_kmediod_operation, NSGA2_objectives
###Decison Variables###
path_test =  os.path.join(sys.path[0])
editable_data_path =os.path.join(path_test, 'editable_values.csv')
editable_data = pd.read_csv(editable_data_path, header=None, index_col=0, squeeze=True).to_dict()[1]
num_scenarios = int(editable_data['num_scenarios'])
if __name__ == "__main__":
    NSGA2_objectives.NSGA_Operation(path_test)

<filename>Test_Case/Operation_Planning.py
### Performing Multi-objective Optimization of Operation planning of District Energy systems ###
### Using NSGA-II Algorithm ###
import pandas as pd
import math
import os
import sys
import csv
import json
import DES_weather_analysis
from DES_weather_analysis import clustring_kmediod_operation, NSGA2_objectives
###Decison Variables###
path_test =  os.path.join(sys.path[0])
editable_data_path =os.path.join(path_test, 'editable_values.csv')
editable_data = pd.read_csv(editable_data_path, header=None, index_col=0, squeeze=True).to_dict()[1]
num_scenarios = int(editable_data['num_scenarios'])
if __name__ == "__main__":
    NSGA2_objectives.NSGA_Operation(path_test)

### Performing Multi-objective Optimization of Operation planning of District Energy systems ### ### Using NSGA-II Algorithm ### ###Decison Variables###