diff --git a/src/write_outputs/transmission/write_transmission_losses.jl b/src/write_outputs/transmission/write_transmission_losses.jl index 0bf70d298c..127d90fbc5 100644 --- a/src/write_outputs/transmission/write_transmission_losses.jl +++ b/src/write_outputs/transmission/write_transmission_losses.jl @@ -7,7 +7,7 @@ function write_transmission_losses(path::AbstractString, inputs::Dict, setup::Di tlosses = zeros(L, T) tlosses[LOSS_LINES, :] = value.(EP[:vTLOSS][LOSS_LINES, :]) if setup["ParameterScale"] == 1 - tlosses[LOSS_LINES, :] *= ModelScalingFactor^2 + tlosses[LOSS_LINES, :] *= ModelScalingFactor end dfTLosses.AnnualSum = tlosses * inputs["omega"] dfTLosses = hcat(dfTLosses, DataFrame(tlosses, :auto))