Optimization time interval #137
Unanswered
woodjmichael
asked this question in
8 - API: Application Programming Interface
Replies: 2 comments
-
Hello! Can you try setting |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried that originally but I always got:
api_response['status']=='error'
WIth error message:
{'errors': {'core_electric_tariff.jl_397': [' Export rates do not have
correct number of entries. Must be 35040 or 8760.']}
So I removed 'wholesale_rates' from ElectricTariff. Worked fine. I did
double check that my 'wholesale_rates' series was length 30504. I also
tried 'export_rate_beyond_net_metering_limit' and checked the length to be
35040, same error message. I do need that export price vector one way or
another (no net metering).
This json file uses the PGE_E20.json tariff. Same error message as above.
I've also tried various configurations of 'can_net_meter' and
'net_metering_limit_kw' just in case 'wholesale_rates' is somehow
incompatible with either.
Thanks for your help.
…On Fri, 8 Mar 2024 at 20:16, adfarth ***@***.***> wrote:
Hello! Can you try setting Settings : { time_steps_per_hour = 4} in your
post?
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AINDWUSU6SNICKT5PANUQOLYXIFCJAVCNFSM6AAAAABEEE554KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DOMRTG43DS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I force the optimizer to work on a 15-minute interval, rather than down sampling to 1-hour interval? It seems to me my data is always being down sampled to 1-hour.
According to the manual this is possible with the API if all input series are of length 30504 -- I confirm all of mine are.
However, when I POST and analyze results (making sure status is
optimal
) I get the identical financial results if I pass all 8760-length series to the POST, whereas we would expect at least some small differences in energy cost, etc. Also, the output series (battery dispatch etc) are all 8760-length regardless what length I pass to the POST (if the optimizer is working on 15-minute vectors we'd expect the output battery vectors to be 35040-length).For simplicity's (speed) sake I'm forcing a single size solar and battery.
My POST:
Beta Was this translation helpful? Give feedback.
All reactions