Repository navigation
Move inputs documentation from sources.csv to inputs/*/README.md - #157
Conversation
… get deflator from input specific dollaryear files
| @@ -1,4 +1,4 @@ | |||
| # Model zone definitions | |||
| ## Model Zone Definitions | |||
There was a problem hiding this comment.
I use the markdownlint extension and it complains if the first line in the file is not a top-level heading (single #). Is it ok to stick with that format?
There was a problem hiding this comment.
I think so, I had originally left them as single # but that prevents us from compiling into a single markdown file for the documentation unless we do some additional processing
There was a problem hiding this comment.
Oh I see, thanks. I can just turn off that rule if it complicates things (I'm not sure how widely that linter is used anyway).
wesleyjcole
left a comment
There was a problem hiding this comment.
developer_B]=best_practicies.md needs updated.
Would you update the PR description to note the revised scope of source.csv (non-inputs files only)? Or do you think it's worth removing all sources.csv entries in this PR?
| readmes = _collect_input_readmes(inputs_root) | ||
| _write_inputs_md(output_path, readmes) |
There was a problem hiding this comment.
What do you think about bringing the function code down to here instead of keeping it above in the functions? That seems slightly more intuitive to me, but maybe there is a value to keeping it as a function?
There was a problem hiding this comment.
I see value in keeping the main function smaller, and having this as a separate function makes it a little more digestible imo. Happy to reconsider if you feel strongly, but I'd lean toward leaving it separate.
| return runfiles, non_region_files, region_files | ||
|
|
||
|
|
||
| def get_source_deflator_map(reeds_path): |
There was a problem hiding this comment.
I think this function can now be removed.
patrickbrown4
left a comment
There was a problem hiding this comment.
Thanks a lot for starting this Kennedy. A few notes from a quick scan.
There was a problem hiding this comment.
I think this whole file could be removed now; it looks like most of the remaining entries are out of date anyway.
|
|
||
| ### Global Warming Potentials | ||
| A range of values for global warming potentials (GWP) of CH<sub>4</sub> and N<sub>2</sub>O are taken from the most recent IPCC assessment reports (AR4 to AR6). Summary of the ranges of GWPs for these pollutants can be found in Table 7.15, page 1017 of the IPCC AR6 report (https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_FullReport.pdf). | ||
| A range of values for global warming potentials (GWP) of CH<sub>4</sub> and N<sub>2</sub>O are taken from the most recent IPCC assessment reports (AR4 to AR6). Summary of the ranges of GWPs for these pollutants can be found in Table 7.15, page 1017 of the IPCC AR6 report ([https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_FullReport.pdf](https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_FullReport.pdf)). |
There was a problem hiding this comment.
(nitpick) bare URLs can be given as a single <https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_FullReport.pdf> (with triangle brackets) instead of the two-part link
| - `ofs-wind_ATB_2023_*.csv`: | ||
| - `ofs-wind_ATB_2023_advanced.csv`: 2023 advanced ofs-wind capital, fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
| - `ofs-wind_ATB_2023_conservative.csv`: 2023 conservative ofs-wind capital, fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
| - `ofs-wind_ATB_2023_moderate.csv`: 2023 moderate ofs-wind capital, fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
| - `ofs-wind_ATB_2023_moderate_noFloating.csv`: 2023 moderate_noFloating ofs-wind capital (5x floating capital cost), fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
|
|
||
| - `ofs-wind_ATB_2024_*.csv`: | ||
| - `ofs-wind_ATB_2024_advanced.csv`: | ||
| - `ofs-wind_ATB_2024_conservative.csv`: 2024 conservative ofs-wind capital, fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
| - `ofs-wind_ATB_2024_moderate.csv`: 2024 moderate ofs-wind capital, fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
| - `ofs-wind_ATB_2024_moderate_noFloating.csv`: 2024 moderate_noFloating ofs-wind capital (5x floating capital cost), fixed O&M, var O&M costs and rsc_mult (SC cost reduction mult) by class and year | ||
|
|
||
| - `ons-wind_ATB_2023_*.csv`: | ||
| - `ons-wind_ATB_2023_advanced.csv`: Advanced cost and performance inputs from the 2023 Annual Technology Baseline for land-based wind | ||
| - `ons-wind_ATB_2023_conservative.csv`: Conservative cost and performance inputs from the 2023 Annual Technology Baseline for land-based wind | ||
| - `ons-wind_ATB_2023_moderate.csv`: Moderate cost and performance inputs from the 2023 Annual Technology Baseline for land-based wind | ||
|
|
||
| - `ons-wind_ATB_2024_*.csv`: | ||
| - `ons-wind_ATB_2024_advanced.csv`: Advanced cost and performance inputs from the 2024 Annual Technology Baseline for land-based wind | ||
| - `ons-wind_ATB_2024_conservative.csv`: Conservative cost and performance inputs from the 2024 Annual Technology Baseline for land-based wind | ||
| - `ons-wind_ATB_2024_moderate.csv`: Moderate cost and performance inputs from the 2024 Annual Technology Baseline for land-based wind |
There was a problem hiding this comment.
I think a lot of things like these can be collapsed for readability, but it can happen in a followup
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
Summary
This PR adds more
inputs/*/README.mdfiles and automatically compiles them into a single Inputs Documentation page. I removed all of the input files insources.csvand added any information found there to the applicable README.md.Since the documentation on the inputs is still pretty light, I also created this issue to cover filling in the documentation a bit more with this new structure: #156.
Technical details
The
sources.csvfile no longer contains any input files. It now only contains references to hourlize, postprocessing, and test files.Implementation notes
Additional changes
Switches added/removed/changed
Issues resolved
Addresses the documentation reorganization mentioned in #43
Known incompatibilities
Relevant sources or documentation
Validation, testing, and comparison report(s)
I did a GDX diff between main and this branch for a USA default scenario and it showed no differences.
results-8_24_2026_sd_USA_defaults,8_24_2026_main_USA_defaults.pptx
Checklist for author
Details to double-check
hourlize/resource.pywas rerun to regenerate the existing/prescribed VRE capacity dataGeneral information to guide review
Did you use LLM tools (chatbot or copilot) in the preparation of this PR? If so, describe how
Yes, I used copilot to help me write the
generate_inputs_markdown.pyscript.