Skip to content

Commit

Permalink
Update cst_ssc.jl
Browse files Browse the repository at this point in the history
added comment to line 171
  • Loading branch information
jgifford914 authored Nov 27, 2024
1 parent 6e373cc commit c29abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cst_ssc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function run_ssc(case_data::Dict)
libfile = "ssc.dll"
end
global hdl = joinpath(@__DIR__, "sam", libfile)
chmod(hdl, filemode(hdl) | 0o755)
chmod(hdl, filemode(hdl) | 0o755) ### added just because I saw this in the wind module
ssc_module = @ccall hdl.ssc_module_create(model_ssc[model]::Cstring)::Ptr{Cvoid}
data = @ccall hdl.ssc_data_create()::Ptr{Cvoid} # data pointer
@ccall hdl.ssc_module_exec_set_print(1::Cint)::Cvoid # change to 1 to print outputs/errors (for debugging)
Expand Down

0 comments on commit c29abf1

Please sign in to comment.