Closed nick-gorman closed 1 week ago
For now, I'm just going to do a one-to-one mapping using the first file name, but to make this work we'll have to ignore trace files that don't have a corresponding workbook name.
Another issue along these lines. Sometimes it appears that many generators within the workbook would map to the to the same trace file. This would cause an issue with our current method because we are renaming file with workbook names, but this would mean there are two renaming options.
There perhaps a broader question here relating about "generators" and "units". The three Dundonnell traces map to the three different DUID's that make up the larger wind farm (loosely spread across three close be different locations).
We will possibly come across this "generator" vs "unit" issue when it comes to some of the thermal plants as well - e.g. the minimum operating limits are at a dispatch unit level.
I don't have a good solution to this for now - but just flagging could be related to broader design question.
The current approach for parsing the traces is to rename project trace files with generator names from the assumptions workbook. However, sometimes a single generator has several trace files it could map too. See example below:
Workbook:
Trace files: