Skip to content

Generic Battery / Merchant subhourly generation with hourly prices #1147

@cpaulgilman

Description

@cpaulgilman

In the attached file, the Generic Battery / Merchant plant model has a one-minute generation profile on the Power Plant page and hourly energy market price data on the Revenue page. The simulation starts but then crashes at 33%.

generic-battery-merchant-one-minute-simulation-with-hourly-price-data.zip

From @brtietz:

The bug here is that the LCOS code (below) assumes that the merchant plant market prices have one value per simulation timestep. [the] file has either 5 minute or hourly prices. I’m not sure whether some chunk of code is supposed to interpolate the prices to the simulation timestep and isn’t, whether the LCOS code needs to be more flexible about merchant plant pricing lengths, or whether we should be throwing an exec error here rather than crashing.

The code is below, with variable values for the 2 year case.

image

a = 1, h = 219122, n_mp_market_price = 219000, n_steps_per_year = 525600

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