Skip to content

Commit

Permalink
Update cst_ssc.jl
Browse files Browse the repository at this point in the history
removed return break
  • Loading branch information
jgifford914 authored Dec 2, 2024
1 parent 242e9c1 commit 80e300e
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 @@ -120,7 +120,7 @@ end

# function run_ssc(model::String,lat::Float64,lon::Float64,inputs::Dict,outputs::Vector)
function run_ssc(case_data::Dict)
println("updated version as of 12/2 4:21pm")
println("updated version as of 12/2 4:28pm")
model = case_data["CST"]["tech_type"]
### Maps STEP 1 model names to specific SSC modules
model_ssc = Dict(
Expand Down Expand Up @@ -229,7 +229,7 @@ function run_ssc(case_data::Dict)
# electrical_consumption_response = @ccall hdl.ssc_data_get_array(data::Ptr{Cvoid}, outputs[2]::Cstring, len_ref::Ptr{Cvoid})::Ptr{Float64}
thermal_production = []
# elec_consumption = []
return
# return
for i in 1:8760
push!(thermal_production,unsafe_load(thermal_production_response,i)) # For array type outputs
# push!(thermal_production,1.0) #for pass through
Expand Down

0 comments on commit 80e300e

Please sign in to comment.