NatLabRockies / NatLabRockies/REopt_API
BAU problem infeasible with loads_kw_is_net = False in test
Open
@sakshi-mishra is already working on this.
Since Jun 26, 2020.
- Dominant language
- Python
- Stars
- 125
- Forks
- 68
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 1
Description
In this test: https://github.com/NREL/REopt_Lite_API/blob/265f360aef174276a8970ba346cb7c7585e0c6a0/reo/tests/test_diesel_gen_sizing.py#L65
if you set
nested_data['Scenario']['Site']['LoadProfile']['loads_kw_is_net'] = False
the BAU problem becomes Infeasible.
The issue appears to be here:
https://github.com/NREL/REopt_Lite_API/blob/265f360aef174276a8970ba346cb7c7585e0c6a0/reo/src/load_profile.py#L670
where the sustain_hours result is 2 (hacking the sustain_hours to 0 makes the BAU problem feasible.
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.
Assessment
This issue has not been assessed yet.