Skip to content

Commit

Permalink
Fix scale factor in power output calculation in REDprocess.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tristantc committed Dec 19, 2024
1 parent f56a40c commit f18f349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdplib/reverse_electrodialysis/REDprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -3131,7 +3131,7 @@ def TNP(m):
Pyomo.Expression
Total Net Power Output active RU [kW] as the sum of the net power output of the RED units
"""
scale_factor = 1e-2
scale_factor = 1e2
return ureg.convert(sum(m.NP[ru] * scale_factor for ru in m.RU), 'W', 'kW')

@m.Expression(
Expand Down

0 comments on commit f18f349

Please sign in to comment.