Commit 4f27b754 authored by Jaber Ibne Mahboob's avatar Jaber Ibne Mahboob
Browse files

Only solar availability

Only solar availability is integrated with HyDesign
parent 32880363
This diff is collapsed.
......@@ -53,16 +53,16 @@ if __name__ == "__main__":
'wind_hub_height': 120, # in m
'wind_turbine_spacing': 5, # in terms of Rotor Diameter
'wind_turbine_row_spacing': 10, # in terms of Rotor Diameter
'wind_turbine_cost': round(851000 * 1.00, 0), # [EUR/MW]
'wind_civil_works_cost': round(116986 * 1.00, 0), # [Eur/MW]
'wind_fixed_onm_cost': round(12805 * 1.00, 0), # Wind fixed O&M cost per year [Eur/MW]
'wind_turbine_cost': round(851000 * 1.00), # [EUR/MW]
'wind_civil_works_cost': round(116986 * 1.00), # [Eur/MW]
'wind_fixed_onm_cost': round(12805 * 1.00), # Wind fixed O&M cost per year [Eur/MW]
# hpp solar parameters
'solar_rating_PV_unit': 1, # [MW]
'solar_lifetime_PV': 30,
'solar_PV_cost': 219000, # [EUR/MW]
'solar_hardware_installation_cost': 241854, # [Eur/MW]
'solar_fixed_onm_cost': 8149, # Solar O&M cost per year [Eur/MW]
'solar_PV_cost': round(219000 * 1.00), # [EUR/MW]
'solar_hardware_installation_cost': (241854 * 1.00), # [Eur/MW]
'solar_fixed_onm_cost': (8149 * 1.00), # Solar O&M cost per year [Eur/MW]
# hpp battery parameters
'battery_energy_cost': 181596, # Eur/MWh
......@@ -133,14 +133,14 @@ if __name__ == "__main__":
solar_power_t, 1)
# %% -----------------------------------------------
# Optimize the sizing of HPP (wind and solar) with Availability
# Optimize the sizing of HPP (wind and solar)
# --------------------------------------------------
print()
print("HPP size optimization by Alessandra's model:")
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(
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)
# %%
......@@ -148,6 +148,7 @@ if __name__ == "__main__":
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)
......@@ -160,19 +161,48 @@ if __name__ == "__main__":
print('HPP IRR = %.0f%%' % (IRR * 100))
# %% -----------------------------------------------
# Eval a non-optimal HPP (wind and solar)
# Optimize the sizing of HPP (wind and solar) with Availability of Wind
# --------------------------------------------------
# print()
# print("HPP size optimization with availability factor of Wind turbines:")
# [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_WTAV(
# wind_power_t, wind_av_t, solar_power_t, spot_price_t)
# rs_tbl = ExampleHPP.get_last_rs_tbl()
# # %%
# AEP = P_HPP_t.sum() / 1000
# Curtailed_Energy = P_curtailment_t.sum() / 1000
# # print("\033[H\033[J")
# 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 of Solar
# --------------------------------------------------
print()
print("HPP size optimization with availability factor of Wind turbines:")
print("HPP size optimization with availability factor of Solar PV units:")
[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_wtav(
wind_power_t, wind_av_t, solar_power_t, spot_price_t)
LCOE, NPV, IRR] = ExampleHPP.sizing_Wind_Solar_PVAV(
wind_power_t, solar_power_t, solar_av_t, spot_price_t)
rs_tbl = ExampleHPP.get_last_rs_tbl()
# %%
AEP = P_HPP_t.mean() * 8760 / 1000
AEP = P_HPP_t.sum() / 1000
Curtailed_Energy = P_curtailment_t.sum() / 1000
# print("\033[H\033[J")
print('Wind Capacity = %d MW' % hpp_wind_capacity)
......
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