Skip to content

Commit

Permalink
Update ABS_cost.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoran29 committed Jan 13, 2022
1 parent 663115d commit 3dfe685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DesalinationModels/ABS_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def lcow(self):
self.cost_sys = 6291 * self.Capacity**(-0.135) * (1- self.f_HEX + self.f_HEX * (self.HEX_area/8841)**0.8)

if self.P_req < 400:
self.cost_AHP = (226.85 - 0.332 * self.P_req) * 1.2 # $/kW
self.cost_AHP = (241.425 - 0.03766 * self.P_req) * 1.2 # $/kW
else:
self.cost_AHP = (95.04 - 0.002432 * self.P_req) * 1.2
self.cost_AHP = (101.1432 - 0.0025885 * self.P_req) * 1.2

self.CAPEX = ((self.cost_sys*self.Capacity+ self.cost_storage * self.storage_cap + self.cost_AHP * self.P_req)*self.int_rate*(1+self.int_rate)**self.yrs) / ((1+self.int_rate)**self.yrs-1) / self.Prod

Expand Down

0 comments on commit 3dfe685

Please sign in to comment.