Skip to content

Commit

Permalink
minor correction on efficiency calculation (with ageing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alematiale committed Apr 22, 2024
1 parent a14d852 commit ac49558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techs/fuelcell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ def H_v_plot():

if step % self.timesteps_year == 0:
self.stack['Pol_curve_history'].append(self.polarization_curve_ageing.copy())
self.stack['Module_efficiency[-]'].append(self.eta_module*(self.Voltage/self.polarization_curve_ageing)) # [kg/MWh] ideal converison factor
self.stack['Module_efficiency[-]'].append(self.eta_module*(self.polarization_curve_ageing/self.Voltage)) # [kg/MWh] ideal converison factor
print(f'Year {int(step/self.timesteps_year)}')

return hyd_consumption,power,P_th,eta,water
Expand Down Expand Up @@ -1448,7 +1448,7 @@ def tech_cost(self,tech_cost):
elif inp_test['ageing'] == True:
inp_test['number of modules'] = 1

sim_steps = 8760*5 + 1 # [-] number of steps to be considered for the simulation - usually a time horizon of 1 year minimum is considered
sim_steps = 8760*4 + 1 # [-] number of steps to be considered for the simulation - usually a time horizon of 1 year minimum is considered
timestep = 60 # [min] selected timestep for the simulation
time = np.arange(sim_steps)

Expand Down

0 comments on commit ac49558

Please sign in to comment.