Skip to content

Merchant plant does not save percentage revenue variables with shorter analysis period #994

@brtietz

Description

@brtietz

Describe the bug

The merchant plant does not save revenue variables with an analysis period of 2, 5, or 10 years. The variable is overwritten with a single zero for some reason. It is likely that other shorter lengths also cause issues, but the variables appear correct with an analysis period of 25 years.

To Reproduce

Steps to reproduce the behavior:

  1. Create a merchant plant case
  2. Change the analysis period to a value < 25 years
  3. Go to the revenue page and select "Fixed cleared capacity and time series price"
  4. Enter hourly data into the energy market price.
  5. Save the file
  6. Open the saved file
  7. Go back to the revenue page - the values are missing

Expected behavior

Values should be saved regardless of analysis period

Operating System and Version

  • OS: Windows
  • patch branch, 2021.12.02r1, haven't tested others

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions