Skip to content

Conversation

@brtietz
Copy link
Collaborator

@brtietz brtietz commented Aug 19, 2021

Add options for load forecasts for behind the meter systems. Load forecast functions the same as actual load - can be either hourly for a single year (8760) or match the weather file timestep. Interpolation is handled by single_year_to_lifetime_interpolated.

Additionally, extend forecast options to generic system.

Pairs with SAM pull request: NREL/SAM#688

// day one is zeros
for (size_t idx = 0; idx != 24 * step_per_hour; idx++)
{
load_prediction.push_back(0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why isn't this from the last 24 hours of the load forecast?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was matching the convention from the weather file forecast:

pv_prediction.push_back(0);
is it worth changing both?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. I'd imagine if we're in year 2, and if we were doing lookahead, we'd use jan data for dec 31, and if doing lookbehind, we'd do the counterpart. This keeps continuity. What do you think?

@brtietz brtietz merged commit ac171db into develop Aug 24, 2021
@brtietz brtietz deleted the weather_forecast_for_btm branch August 24, 2021 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants