Professional Documents
Culture Documents
Economic Dispatch Python
Economic Dispatch Python
Economic Dispatch Python
Reading the input excel file (data about Gas turbines from the task sheet) :
In [2]: data=pd.read_excel('./input.xlsx')
In [3]: data.head()
In [4]: a=data['a']
In [5]: b=data['b']
In [6]: c=data['c']
1
Power demand (MWh) at 13:00 Uhr :
In [9]: Load=823.65
In [10]: Power_Demand=Load
P = []
In [11]: Lambda=max(b)
squaredP = np.multiply(P,P)
In [14]: total_Fuel_Cost=np.sum(Fuel_Cost)
In [18]: output
Total fuel cost (e) to genearate the Power demand of 823.65 MWh :
In [19]: total_Fuel_Cost
Out[19]: 3513.2268791872766