Skip to content

dev Simulations only run if start year is 0 #237

Description

@BenWinchester

Describe the bug

On the dev and solar-thermal branches, the simulations only run if the start year is zero. This is a bug, as simulations should run for subsequent years as well.

To Reproduce

Steps to reproduce the behavior:

  1. Run git checkout 27011f1c4cc805c00b0a7a4e892b8a4e24784c54 to checkout the commit affected;
  2. Set the start_year parameter in simulations.yaml in your location to be a value other than 0;
  3. Run python -u -m src.clover -l <location> -sim -pv 20 -b 5 where you have selected a working location;
  4. Observe error in the output .csv file.

Expected behaviour

The code should run and simply show the outputs for these years..

Screenshots

Image **Figure 1.** Image showcasing the error.

Additional Information

Desktop

(please complete the following information)

  • OS: 🐧
  • Installation setup: Developer installation; i.e., download from Github via git clone
  • Version: 6.0.0a1
  • Branch, if relevant: solar-thermal

Modifications

Code is up-to-date with md5 27011f1c4cc805c00b0a7a4e892b8a4e24784c54

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions