NatLabRockies / NatLabRockies/SAM
Lifetime matrix in annual or single value mode with subhourly time steps
Open
@brtietz is already working on this.
Since Apr 1, 2026.
bug
- Dominant language
- C++
- Stars
- 486
- Forks
- 219
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 2
Description
Describe the bug
Cash flow revenue is incorrect for market prices assigned using the Lifetime Matrix UI widget in Annual mode.
To Reproduce
- Create a default PVWatts / Merchant Plant case.
- On the Location and Resource page, use the Advanced Download option to download a 15-minute weather file for any location.
- Select the 15-minute weather file from the solar resource library.
- On the Revenue page, on the Energy Market tab at the bottom of the page, click Edit lifetime data for energy market price for fixed cleared capacity.
- For Mode choose Annual.
- Click OK.
- Click Simulate.
- On Cash Flow tab, note energy market revenue ends in Year 7 instead of Year 25.
Expected behavior
Revenue should continue through analysis period for subhourly simulations when market prices are entered in any mode (Single Value, Annual, Monthly, Weekly, Daily, Hourly) in the Lifetime Matrix widget.
Operating System and Version
Tested in SAM 2025.4.16 r1 for Windows.
Additional context
Workaround solution is to import price data from a text file with a column of 876,000 values:
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.