Describe the bug
When running a non-annual simulation where the weather data doesn't start at timestep 0, such as in https://github.com/NREL/pysam/blob/main/Examples/NonAnnualSimulation.ipynb
the adjustment factors are not properly aligned and result in a adjustment factor of 0, zeroing out all ac power as in the example above.
The length of the adjustment factors vector is the length of the weather file (810), but when accessing the adjustment factor, the timestep is used (3096) and since this is larger than the length, the default of 0 is returned.
To Reproduce
Steps to reproduce the behavior:
- Run the above notebook and see that the prediction line at the bottom is 0
Expected behavior
Adjustment factor should be aligned
Describe the bug
When running a non-annual simulation where the weather data doesn't start at timestep 0, such as in https://github.com/NREL/pysam/blob/main/Examples/NonAnnualSimulation.ipynb
the adjustment factors are not properly aligned and result in a adjustment factor of 0, zeroing out all ac power as in the example above.
The length of the adjustment factors vector is the length of the weather file (810), but when accessing the adjustment factor, the timestep is used (3096) and since this is larger than the length, the default of 0 is returned.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Adjustment factor should be aligned