Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up kWh outputs for two-meter case #529

Open
brtietz opened this issue Feb 5, 2021 · 5 comments
Open

Clean up kWh outputs for two-meter case #529

brtietz opened this issue Feb 5, 2021 · 5 comments

Comments

@brtietz
Copy link
Collaborator

brtietz commented Feb 5, 2021

The outputs “electricity to grid” and “electricity from grid” are just “gen when negative” and “gen when positive.” It seems like with buy all / sell all, both of these numbers could be positive at the same time since there are two meters. Is that a change that we want to make?

Figure out where these can be re-computed based on the utility rate. It feels weird to have the performance model be aware of the rate, but it might be appropriate for the two meters case?

Be sure to test with more systems than just PV.

@brtietz brtietz added this to the 2020.11.29 Patch 2 milestone Feb 5, 2021
@dguittet
Copy link
Collaborator

dguittet commented Feb 8, 2021

This is about year1_hourly_system_to_grid (Electricity to grid) in utility rate, correct? And not system_to_grid (Electricity to grid from system) in battery?

revenue_gen (Electricity to grid) also has the same label.

I agree the technology model shouldn't have to know about the compensation mechanism.

Perhaps we could clarify using "Net"?

@brtietz
Copy link
Collaborator Author

brtietz commented Feb 8, 2021

We were looking at either the hourly or lifetime outputs when we wrote this issue, not annual. I think if we change one we should change both, it would be very confusing to have the hourly outputs be different from the lifetime outputs.

@dguittet
Copy link
Collaborator

dguittet commented Feb 9, 2021

Right, year1_hourly_system_to_grid is an array, as is system_to_grid. Except the first one is a utility rate output and the second is a battery output. These are both computed using the net power transfer, as is revenue_gen, so the electricity to grid and electricity from grid vectors are complementary. But if the utility rate ones should not necessarily be complementary when using Net Billing, then the battery ones will have to be changed also for consistency.

Is the goal to have some way to see how much energy was purchased versus sold in absolute terms?

@brtietz
Copy link
Collaborator Author

brtietz commented Feb 9, 2021

Yes - for buy all / sell all (option 4, not net billing), sales and purchases can both happen in the same timestep. We can currently use system power generated and a load variable to see gross purchases and gross sales and then multiply them by the buy and sell rates, but Paul and I were thinking the above variables might be confusing for that compensation option.

I think we have the option of changing the outputs for buy all / sell all, or adding some notes to the help to steer users in the right direction.

@cpaulgilman
Copy link
Collaborator

Somewhat related issue over on the SAM repo: NREL/SAM#377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants