Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions process/power.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,17 +922,6 @@ def power2(self, output: bool):
heat_transport_variables.pgrossmw - heat_transport_variables.precircmw
)

# Scaling to prevent negative heat_transport_variables.pnetelmw
# Do NOT rescale if this is the last run through.
if (
(heat_transport_variables.pnetelmw < 1.0e0)
and (cost_variables.ipnet == 0)
and (not output)
):
heat_transport_variables.pnetelmw = 1.0e0 / (
1.0e0 + abs(heat_transport_variables.pnetelmw - 1.0e0)
)

# Recirculating power fraction
cirpowfr = (
heat_transport_variables.pgrossmw - heat_transport_variables.pnetelmw
Expand Down
5 changes: 0 additions & 5 deletions source/fortran/ife.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2087,11 +2087,6 @@ subroutine ifepw2(outfile,iprint)
! Net electric power
pnetelmw = pgrossmw - precircmw

! Scaling to prevent negative pnetelmw
if ( (pnetelmw < 1.0D0).and.(ipnet == 0) ) then
pnetelmw = 1.0D0 / ( 1.0D0 + abs(pnetelmw-1.0D0))
end if

end if

if (iprint == 0) return
Expand Down