-
Notifications
You must be signed in to change notification settings - Fork 21
Troubleshooting Running REopt.jl
Alex Zolan edited this page Dec 7, 2022
·
4 revisions
When using REopt.jl from the Julia Package manager (i.e., via using Pkg; Pkg.add("REopt")
rather than a clone of the source code) Windows systems may deny access to ssc.dll depending on the user's administrative privileges. If this occurs, the following error will appear:
┌ REopt | Error ] : Problem calling SAM C library! └ @ REopt C:\path\to\REopt\src\core\production_factor.jl:307 could not load library "path\to\ssc.dll" Access is denied.
To address this, determine the path to ssc.dll
and then include the following two lines in your script after using REopt
and before creating a Scenario
:
lib = "/path/to/ssc.dll"
chmod(lib, filemode(lib) | 0o755)