actually do the equations
This commit is contained in:
parent
c30f1290c1
commit
c704625950
2
a1.py
2
a1.py
@ -158,7 +158,7 @@ def calc_energy_power(heights: tuple[float, ...], water_mass_outs: tuple[float,
|
||||
energy += water_mass_outs[i] * GRAVITY_ACC * \
|
||||
(heights[i] + relative_elevation) * (efficiency/100), # note the comma
|
||||
|
||||
power += energy[i] * time_inc,
|
||||
power += energy[i] / time_inc,
|
||||
|
||||
return energy, power
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user