NREL / disco

DISCO
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Make transformed model directory portable #39

Closed daniel-thom closed 3 years ago

daniel-thom commented 3 years ago

This PR enables full portability of DISCO transformed models to different systems. For source data types that conform to the SMART-DS data layout you can now specify a --copy-load-shape-data-files flag that will copy all load shape data files to the target directory. It will only copy data files that match the input filters (i.e., you can specify a single feeder/placement/sample and only get those load shapes).

This PR also changes behavior to allow you to rename the transformed directory - all generated file paths are now relative.

@ann-sherin It's become quite annoying that the upgrade tests don't work. They fail with convergence errors. This makes it onerous to make these sorts of changes. Can you look into why these fail? Something must be wrong with the input test data.