Skip to content

Commit f18f349

Browse files
committed
Fix scale factor in power output calculation in REDprocess.py
1 parent f56a40c commit f18f349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdplib/reverse_electrodialysis/REDprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3131,7 +3131,7 @@ def TNP(m):
31313131
Pyomo.Expression
31323132
Total Net Power Output active RU [kW] as the sum of the net power output of the RED units
31333133
"""
3134-
scale_factor = 1e-2
3134+
scale_factor = 1e2
31353135
return ureg.convert(sum(m.NP[ru] * scale_factor for ru in m.RU), 'W', 'kW')
31363136

31373137
@m.Expression(

0 commit comments

Comments
 (0)