Skip to content

Commit

Permalink
Update cst_ssc.jl for thermal power produced print statement
Browse files Browse the repository at this point in the history
changed which variable is summed to be variable that exists
  • Loading branch information
jgifford914 authored Jan 21, 2025
1 parent bdbdd70 commit b931abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/cst_ssc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ function run_ssc(case_data::Dict)
thermal_production_norm = thermal_production .* tcf ./ rated_power
end
if model in ["mst","ptc","lf"]
println("Total thermal energy collected: " * string(round(sum(thermal_power_produced),digits=2)) * " MWht.")
println("Total thermal energy collected: " * string(round(sum(thermal_production),digits=2)) * " MWht.")
elseif model in ["swh_evactube","swh_flatplate"]
println("Total thermal energy collected: " * string(round(sum(thermal_power_produced),digits=2)) * " kWht.")
println("Total thermal energy collected: " * string(round(sum(thermal_production),digits=2)) * " kWht.")
end
electric_consumption_norm = zeros(8760) #elec_consumption .* ecf ./ rated_power
# R[k] = response_norm
Expand Down

0 comments on commit b931abf

Please sign in to comment.