macroenergy / Dolphyn.jl

DOLPHYN: Decision Optimization for Low Carbon Power and Hydrogen Nexus
https://macroenergy.github.io/Dolphyn.jl/
GNU General Public License v2.0
36 stars 20 forks source link

Load TDR data based on checking whether the file of interest exists, instead of all TDR files #231

Closed RuaridhMacd closed 5 months ago

RuaridhMacd commented 6 months ago

…not all TDR files

Description

Dolphyn only loads TDR inputs if all TDR files are present instead of just the file of interest. This check isn't consistent, as the list of "all" TDR files is different in different places. This PR changes the check to only be based on the TDR flag and whether the file of interest exists

Fixes issue \

222

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Test Configuration:

Checklist:

RuaridhMacd commented 6 months ago

@magiovanniello please check that this works for you now

bennettm commented 5 months ago

Looks good. Approve.