MUSE_OS
MUSE_OS copied to clipboard
Fix for models with no existing capacity (v3)
Description
A small change to allow for the case where there is no initial capacity for any technologies. See the discussion here
Fixes #286
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s.
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Optimization (non-breaking, back-end change that speeds up the code)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] Breaking change (whatever its nature)
Key checklist
- [ ] All tests pass:
$ python -m pytest - [ ] The documentation builds and looks OK:
$ python -m sphinx -b html docs docs/build
Further checks
- [ ] Code is commented, particularly in hard-to-understand areas
- [ ] Tests added that prove fix is effective or that feature works