NatLabRockies / NatLabRockies/REopt_API
change "year" defaults in API v3
Open
A pull request for this has already been merged.
- #435 by @adfarth — merged
- Dominant language
- Python
- Stars
- 125
- Forks
- 68
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 1
Description
Mirror change in Julia Pkg:
Default ElectricLoad year to 2022 if user provided data and 2017 if using CRBD:
year::Int = doe_reference_name ≠ "" && blended_doe_reference_names ≠ String[] ? 2017 : 2022
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the API v3 implementation by locating the ElectricLoad definition and its year default, then compare the requested behavior with the Julia Pkg change. Done means the default is 2022 for user-provided data and 2017 when using CRBD, with the relevant API behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100