@@ -199,16 +199,16 @@ function run_ssc(case_data::Dict)
199
199
# ## Retrieve results
200
200
# ## SSC output names for the thermal production and electrical consumption profiles, thermal power rating and solar multiple
201
201
outputs_dict = Dict (
202
- " mst" => [" Q_thermal" ," P_tower_pump" ,0.0 ," q_pb_design" ," solarm" ], # locked in [W]
202
+ " mst" => [" Q_thermal" ," P_tower_pump" ,0.0 ," q_pb_design" ," solarm" ], # Q_thermal = [MWt] (confirmed 1/14/2025)
203
203
" lf" => [" q_dot_to_heat_sink" ," W_dot_heat_sink_pump" ," W_dot_parasitic_tot" ," q_pb_design" ,1.0 ], # locked in [W]
204
204
" ptc" => [" q_dot_htf_sf_out" ," P_loss" ,0.0 ," q_pb_design" ,3.0 ], # locked in [MWt]
205
205
" swh_flatplate" => [" Q_useful" ," P_pump" ,0.0 ," system_capacity" ,1.0 ], # kW, kW, kW
206
206
" swh_evactube" => [" Q_useful" ," P_pump" ,0.0 ," system_capacity" ,1.0 ] # kW, kW, kW
207
207
)
208
208
thermal_conversion_factor = Dict (
209
- " mst" => 1 , # locked in [W]
210
- " lf" => 1 , # locked in [W]
211
- " ptc" => 1 , # locked in [MWt]
209
+ " mst" => 1 ,
210
+ " lf" => 1 ,
211
+ " ptc" => 1 ,
212
212
" swh_flatplate" => 1 ,
213
213
" swh_evactube" => 1
214
214
)
@@ -259,6 +259,7 @@ function run_ssc(case_data::Dict)
259
259
# c_response = @ccall hdl.ssc_data_get_number(data::Ptr{Cvoid}, k::Cstring, len_ref::Ptr{Cvoid})::Ptr{Float64}
260
260
# print(c_response)
261
261
if model == " ptc"
262
+
262
263
thermal_production_norm = normalize_response (thermal_production, case_data)
263
264
else
264
265
thermal_production_norm = thermal_production .* tcf ./ rated_power
0 commit comments