Right now we let ctypes throw an OSError if anything goes wrong loading the TRNSYS api lib file, but this also includes trying to load the file from a directory that doesn't contain it. We should check that the file exists and throw a custom error if an incorrect trnsys_dir was provided.
Right now we let
ctypesthrow anOSErrorif anything goes wrong loading the TRNSYS api lib file, but this also includes trying to load the file from a directory that doesn't contain it. We should check that the file exists and throw a custom error if an incorrecttrnsys_dirwas provided.