Skip to content

Commit 901377f

Browse files
authored
Update cst_ssc.jl
removed erorr on line 186/187
1 parent 0be6fcb commit 901377f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/cst_ssc.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function run_ssc(case_data::Dict)
145145
defaults_file = joinpath(@__DIR__,"sam","defaults","defaults_" * model_ssc[model] * "_step1.json") ## TODO update this to step 1 default jsons once they're ready
146146
println("loaded defaults")
147147
defaults = JSON.parsefile(defaults_file)
148-
defaults["file_name"] = joinpath(@__DIR__,"defaults","tucson_az_32.116521_-110.933042_psmv3_60_tmy.csv")
148+
defaults["file_name"] = joinpath(@__DIR__,"defaults","tucson_az_32.116521_-110.933042_psmv3_60_tmy.csv") #update default weather file path to local directory
149149
for i in user_defined_inputs_list[model]
150150
if (i == "tilt") || (i == "lat")
151151
user_defined_inputs[i] = lat
@@ -182,7 +182,6 @@ function run_ssc(case_data::Dict)
182182
@ccall hdl.ssc_module_exec_set_print(1::Cint)::Cvoid # change to 1 to print outputs/errors (for debugging)
183183

184184
### Set defaults
185-
defaults["
186185
set_ssc_data_from_dict(defaults,model,data)
187186
println("set defaults")
188187
### Get weather data

0 commit comments

Comments
 (0)