Skip to content

Commit b931abf

Browse files
authored
Update cst_ssc.jl for thermal power produced print statement
changed which variable is summed to be variable that exists
1 parent bdbdd70 commit b931abf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/cst_ssc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ function run_ssc(case_data::Dict)
266266
thermal_production_norm = thermal_production .* tcf ./ rated_power
267267
end
268268
if model in ["mst","ptc","lf"]
269-
println("Total thermal energy collected: " * string(round(sum(thermal_power_produced),digits=2)) * " MWht.")
269+
println("Total thermal energy collected: " * string(round(sum(thermal_production),digits=2)) * " MWht.")
270270
elseif model in ["swh_evactube","swh_flatplate"]
271-
println("Total thermal energy collected: " * string(round(sum(thermal_power_produced),digits=2)) * " kWht.")
271+
println("Total thermal energy collected: " * string(round(sum(thermal_production),digits=2)) * " kWht.")
272272
end
273273
electric_consumption_norm = zeros(8760) #elec_consumption .* ecf ./ rated_power
274274
# R[k] = response_norm

0 commit comments

Comments
 (0)