NREL / tyche

https://nrel.github.io/tyche-docs/
MIT License
3 stars 1 forks source link

In progress: reduce datasets to contain only data within each design that differs from a base case #151

Open rjhanes opened 1 year ago

rjhanes commented 1 year ago

From Sam:

For the parameters table, after the reference case with fixed values, all of the case values [0-23] are listed again, but now with triangular distributions provided in most cases, but changes case-to-case (e.g Power Electronics 1, Power Electronics 2, Soft Costs 1, Soft Costs 2, etc.) are only made in specific factors for that case—e.g., for inverter capital, lifetime, and efficiency advancing to mid and high performance, as highlighted below. How difficult would it be to limit the XLSX spreadsheet changes for the cases to those values that are changed from case-to-case while using the Offset to point to the specific corresponding variable? This would greatly reduce the length of the spreadsheet and make it much easier to identify the changes.

Investigation notes

Set up branch issue-151 for exploratory coding and debugging.

Structure

Flow for this functionality would be:

How?

Idea 1 - this is the better idea:

Idea 2 (more manual and probably slower version of Idea 1):

What?

(which datasets need this functionality)

Where?

(where should the code for this functionality be located)

Steps

Time estimate

5-8 hours on dev work including writing the code, creating a test dataset, and initial debugging another 1-2 hours on additional testing and debugging