Commit eb009b3e authored by Jaber Ibne Mahboob's avatar Jaber Ibne Mahboob
Browse files

Integration of availability of Inverter

The availability of inverter is integrated in this update
parent 507cdbc1
This diff is collapsed.
This diff is collapsed.
......@@ -20,6 +20,7 @@ if __name__ == "__main__":
input_wind_av_filename = './Data/av_WT.csv'
input_solar_ts_filename = './Data/aveS.csv'
input_solar_av_filename = './Data/av_PV.csv'
input_inverter_av_filename = './Data/av_inverter.csv'
input_price_ts_filename = './Data/PriceProfilePPA.csv'
start_date = pd.to_datetime('2018-09-01 00:00')
......@@ -115,6 +116,13 @@ if __name__ == "__main__":
timeZone_solar,
timeZone_analysis,
)
inverter_av_t = read_csv_Data(
input_inverter_av_filename,
timename,
timeFormat_solar,
timeZone_solar,
timeZone_analysis,
)
spot_price_t = read_csv_Data(
input_price_ts_filename,
timename,
......@@ -136,29 +144,29 @@ if __name__ == "__main__":
# Optimize the sizing of HPP (wind and solar)
# --------------------------------------------------
print("")
print("HPP size optimization by Alessandra's Model:")
[hpp_wind_capacity, hpp_solar_capacity, P_HPP_t,
P_curtailment_t, hpp_investment_cost, hpp_maintenance_cost,
LCOE, NPV, IRR] = ExampleHPP.sizing_Wind_Solar(
wind_power_t, solar_power_t, spot_price_t)
# print("")
# print("HPP size optimization by Alessandra's Model:")
# [hpp_wind_capacity, hpp_solar_capacity, P_HPP_t,
# P_curtailment_t, hpp_investment_cost, hpp_maintenance_cost,
# LCOE, NPV, IRR] = ExampleHPP.sizing_Wind_Solar(
# wind_power_t, solar_power_t, spot_price_t)
# %%
# # %%
AEP = P_HPP_t.mean() * 8760 / 1000
Curtailed_Energy = P_curtailment_t.sum() / 1000
# print("\033[H\033[J")
print()
print('Wind Capacity = %d MW' % hpp_wind_capacity)
print('Solar Capacity = %d MW' % hpp_solar_capacity)
print('AEP = %.0f GWh' % AEP)
print('Curtailed Energy = %.0f GWh' % Curtailed_Energy)
print('HPP Investment Cost = %.0f MEUR' % (hpp_investment_cost / 1e6))
print('HPP Maintenance Cost = %.0f MEUR' %
(hpp_maintenance_cost.sum() / 1e6))
print('HPP LCOE = %.2f EUR/MWh' % LCOE)
print('HPP NPV= %.0f MEUR' % (NPV / 1000000))
print('HPP IRR = %.0f%%' % (IRR * 100))
# AEP = P_HPP_t.mean() * 8760 / 1000
# Curtailed_Energy = P_curtailment_t.sum() / 1000
# # print("\033[H\033[J")
# print()
# print('Wind Capacity = %d MW' % hpp_wind_capacity)
# print('Solar Capacity = %d MW' % hpp_solar_capacity)
# print('AEP = %.0f GWh' % AEP)
# print('Curtailed Energy = %.0f GWh' % Curtailed_Energy)
# print('HPP Investment Cost = %.0f MEUR' % (hpp_investment_cost / 1e6))
# print('HPP Maintenance Cost = %.0f MEUR' %
# (hpp_maintenance_cost.sum() / 1e6))
# print('HPP LCOE = %.2f EUR/MWh' % LCOE)
# print('HPP NPV= %.0f MEUR' % (NPV / 1000000))
# print('HPP IRR = %.0f%%' % (IRR * 100))
# %% -----------------------------------------------
# Optimize the sizing of HPP (wind and solar) with Availability
......@@ -169,9 +177,14 @@ if __name__ == "__main__":
[hpp_wind_capacity, hpp_solar_capacity, P_HPP_t,
P_curtailment_t, hpp_investment_cost, hpp_maintenance_cost,
LCOE, NPV, IRR] = ExampleHPP.sizing_Wind_Solar_AV(
wind_power_t, wind_av_t, solar_power_t, solar_av_t, spot_price_t,{
wind_power_t, wind_av_t,
solar_power_t, solar_av_t,
inverter_av_t,
spot_price_t, {
"wind":1,
"solar":1})
"solar":1,
"inverter":1
})
rs_tbl = ExampleHPP.get_last_rs_tbl()
# %%
......@@ -188,7 +201,7 @@ if __name__ == "__main__":
(hpp_maintenance_cost.sum() / 1e6))
print('HPP LCOE = %.2f EUR/MWh' % LCOE)
print('HPP NPV= %.0f MEUR' % (NPV / 1000000))
print('HPP IRR = %.0f%%' % (IRR * 100))
print('HPP IRR = %.2f%%' % (IRR * 100))
# %% -----------------------------------------------
# Optimize the sizing of HPP (wind and solar) with Availability of Solar
......
......@@ -24,8 +24,9 @@ if __name__ == "__main__":
}
params_components_av = { # reliability parameters for each component type
"WT":{"MTTF": 1.10e4, "MTTR": 1.10e2, "N_components": 120, "N_units": 1, "sampling_const": 150},
"PV":{"MTTF": 3.53e4, "MTTR": 2.18e3, "N_components": 166, "N_units": 400, "sampling_const": 1300},
"BESS":{"MTTF": 7.09e4, "MTTR": 1.68e2, "N_components": 10, "N_units": 1, "sampling_const": 2200} # taking only BESS_6
"PV":{"MTTF": 3.53e4, "MTTR": 2.18e3, "N_components": 166, "N_units": 1, "sampling_const": 1300},
"inverter":{"MTTF": 3.01e4, "MTTR": 7.20e2, "N_components": 400, "N_units": 1, "sampling_const": 300},
#"BESS":{"MTTF": 7.09e4, "MTTR": 1.68e2, "N_components": 10, "N_units": 1, "sampling_const": 2200} # taking only BESS_6
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment