Skip to content

Commit

Permalink
Update cst_ssc.jl
Browse files Browse the repository at this point in the history
revised user_defined_inputs such that can specify solar multiple and revised normalization for trough
  • Loading branch information
jgifford914 authored Oct 8, 2024
1 parent 8b693df commit 522bf43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/cst_ssc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function normalize_response(thermal_power_produced,case_data)
if case_data["CST"]["SSC_Inputs"]["use_solar_mult_or_aperture_area"] > 0
rated_power = rated_power_per_area * case_data["CST"]["SSC_Inputs"]["specified_total_aperture"]
else
rated_power = 3.0 * heat_sink
rated_power = case_data["CST"]["SSC_Inputs"]["specified_solar_multiple"] * heat_sink
end
end
thermal_power_produced_norm = thermal_power_produced ./ (rated_power)
Expand Down Expand Up @@ -141,11 +141,11 @@ function run_ssc(case_data::Dict)
for i in user_defined_inputs_list[model]
if (i == "tilt") || (i == "lat")
user_defined_inputs[i] = lat
else
user_defined_inputs[i] = case_data["CST"]["SSC_Inputs"][i]
end
end

for i in keys(case_data["CST"]["SSC_Inputs"])
user_defined_inputs[i] = case_data["CST"]["SSC_Inputs"][i]
end
R = Dict()
error = ""

Expand Down

0 comments on commit 522bf43

Please sign in to comment.