Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/green_steel_cleanup' into green_…
Browse files Browse the repository at this point in the history
…steel_cleanup
  • Loading branch information
jaredthomas68 committed Aug 15, 2023
2 parents 43580d5 + 9004508 commit 2e0d3f1
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 6 deletions.
90 changes: 90 additions & 0 deletions hopp/to_organize/H2_Analysis/2020ATB_NREL_Reference_7MW_200.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
Wind Speed [m/s],Power [kW],Cp [-]
3,0,0
3.25,168,0.254333304
3.5,235,0.284844451
3.75,312,0.307471471
4,400,0.324806006
4.25,500,0.338491096
4.5,612,0.349026109
4.75,738,0.357865282
5,877,0.36461423
5.25,1031,0.37027534
5.5,1200,0.374832476
5.75,1386,0.378881788
6,1588,0.382068102
6.25,1808,0.384859675
6.5,2047,0.387366275
6.75,2304,0.389327598
7,2581,0.391055068
7.25,2879,0.392619332
7.5,3198,0.393947822
7.75,3539,0.395111335
8,3902,0.396060324
8.25,4289,0.39695222
8.5,4701,0.39781166
8.75,5137,0.398501023
9,5598,0.399070293
9.25,6087,0.399688946
9.5,6602,0.40017388
9.75,7000,0.392489667
10,7000,0.363782727
10.25,7000,0.337808426
10.5,7000,0.314249197
10.75,7000,0.292830751
11,7000,0.273315347
11.25,7000,0.255496236
11.5,7000,0.239193048
11.75,7000,0.224247946
12,7000,0.210522411
12.25,7000,0.197894538
12.5,7000,0.186256756
12.75,7000,0.175513901
13,7000,0.165581578
13.25,7000,0.156384764
13.5,7000,0.147856618
13.75,7000,0.139937458
14,7000,0.13257388
14.25,7000,0.125718005
14.5,7000,0.11932682
14.75,7000,0.113361612
15,7000,0.107787475
15.25,7000,0.102572878
15.5,7000,0.097689296
15.75,7000,0.093110873
16,7000,0.088814142
16.25,7000,0.084777768
16.5,7000,0.080982325
16.75,7000,0.077410102
17,7000,0.074044927
17.25,7000,0.070872014
17.5,7000,0.067877827
17.75,7000,0.065049955
18,7000,0.062377011
18.25,7000,0.059848527
18.5,7000,0.057454876
18.75,7000,0.055187187
19,7000,0.053037283
19.25,7000,0.050997616
19.5,7000,0.049061208
19.75,7000,0.047221608
20,7000,0.045472841
20.25,7000,0.043809368
20.5,7000,0.042226053
20.75,7000,0.040718125
21,7000,0.03928115
21.25,7000,0.037911003
21.5,7000,0.036603844
21.75,7000,0.035356095
22,7000,0.034164418
22.25,7000,0.0330257
22.5,7000,0.03193703
22.75,7000,0.030895688
23,7000,0.029899131
23.25,7000,0.028944977
23.5,7000,0.028030993
23.75,7000,0.027155089
24,7000,0.026315301
24.25,7000,0.025509788
24.5,7000,0.024736817
24.75,7000,0.023994763
25,0,0
2 changes: 1 addition & 1 deletion hopp/to_organize/H2_Analysis/hopp_for_h2.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def hopp_for_h2(site, scenario, technologies, wind_size_mw, solar_size_mw, stora
# print("Length of 'combined_pv_wind_curtailment_hopp is {}".format(len(combined_pv_wind_curtailment_hopp)))
# TODO: Fix bug in dispatch model that errors when first curtailment >0
combined_pv_wind_curtailment_hopp[0] = 0
wind_plant_size_check = hybrid_plant.wind.system_capacity_kw
#wind_plant_size_check = hybrid_plant.wind.system_capacity_kw
# Save the outputs
annual_energies = hybrid_plant.annual_energies
wind_plus_solar_npv = hybrid_plant.net_present_values.wind + hybrid_plant.net_present_values.pv
Expand Down
2 changes: 1 addition & 1 deletion hopp/to_organize/distributed_pipe_cost_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#parent_path = os.path.abspath('')

def hydrogen_steel_pipeline_cost_analysis(parent_path,turbine_model,hydrogen_max_hourly_production_kg,site_name):
pipe_info_dir = parent_path + '/examples/H2_Analysis/'
pipe_info_dir = parent_path + '/H2_Analysis/'

pipeline_info = pd.read_csv(pipe_info_dir+'/Pipeline_info.csv',header = 0,sep=',')

Expand Down
2 changes: 1 addition & 1 deletion hopp/to_organize/hopp_tools_steel.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def run_HOPP(
hybrid_plant, combined_pv_wind_power_production_hopp, combined_pv_wind_curtailment_hopp, \
energy_shortfall_hopp,\
annual_energies, wind_plus_solar_npv, npvs, lcoe, lcoe_nom = \
hopp_for_h2(project_path, site, scenario, technologies,
hopp_for_h2(site, scenario, technologies,
wind_size_mw, solar_size_mw, storage_size_mw, storage_size_mwh, storage_hours,
wind_cost_kw, solar_cost_kw, storage_cost_kw, storage_cost_kwh,
kw_continuous, load,
Expand Down
6 changes: 3 additions & 3 deletions hopp/to_organize/run_profast_for_hydrogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ def run_profast_for_hydrogen(hopp_dict,electrolyzer_size_mw,H2_Results,\
pf.set_params('debt type','Revolving debt')
pf.set_params('debt interest rate',0.0489)
pf.set_params('cash onhand percent',1)
pf.set_params('one time cap inct',{'value':ITC*capex_storage_installed,'depr type':'MACRS','depr period':7,'depreciable':True})
pf.set_params('one time cap inct',{'value':ITC*capex_solar_installed,'depr type':'MACRS','depr period':7,'depreciable':True})
pf.set_params('one time cap inct',{'value':ITC*capex_battery_installed,'depr type':'MACRS','depr period':7,'depreciable':True})
pf.set_params('one time cap inct',{'value':ITC*(capex_storage_installed+capex_battery_installed),'depr type':'MACRS','depr period':7,'depreciable':True})
#pf.set_params('one time cap inct',{'value':ITC*capex_solar_installed,'depr type':'MACRS','depr period':7,'depreciable':True})
#pf.set_params('one time cap inct',{'value':ITC*capex_battery_installed,'depr type':'MACRS','depr period':7,'depreciable':True})

#----------------------------------- Add capital items to ProFAST ----------------
#pf.add_capital_item(name="Electrolysis system",cost=capex_electrolyzer_overnight,depr_type="MACRS",depr_period=5,refurb=[0])
Expand Down

0 comments on commit 2e0d3f1

Please sign in to comment.