-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Do not merge] POC: Use SDK component graph and formula engine with reporting client #102
base: v0.x.x
Are you sure you want to change the base?
Conversation
A few high-level notes:
|
Does that mean that in the cloud we would need the microgrid API client if we want to use the component graph?
Another motivation to have it in rust is that it is needed by the grid guard.
That would be good, but will take some time I guess.
Cool, didn't know about these! Maybe we advertise these (and any other new repos) in our actors call.
Probably you considered that already, but couldn't that go with the quantities and we call it base types or so?
This translates the iterator of batches from the API into a receiver of samples to be used by the SDK tools.
Yes, this is needed in rust since it will be used by the reporting service. Same with the resampler.
Yes, this PR is just a raw upload of our hack for sharing purpose. The proper PR would go into the other repo. |
No "I was" 😆, I guess I won't anymore if the idea is to implement in rust and have it in a different repo.
Yeah, when I wrote this I wasn't sure about the scope of that move, but now it is clear for me that the component graph will go to this rust repo, and it will take as arguments for building it some set of components and connections, which can come from the reporting or microgrid API (or a CVS file or whatever).
Yes, I plan to do it after I finish with the microgrid client v0.17, then we can try to merge what's already there, what reporting has and what I wrote for the microgrid API.
Yeah, this is just one of my many truncated projects, I was going to announce it when it was ready, but I didn't though I was going to abandon it for this long. Maybe we can start using it now, but there is no release yet for
I'm not crazy about that, quantities is a very generic library as it is, that has nothing to do with samples. For example it can be used for trading stuff. I think the idea is also now to re-write the resampler as a rust library, maybe |
IMO a sample is also something very generic, that is not only related to the resampler but useful anywhere where we have a data point with a timestamp (observations/measurements, forecasts), i.e. in all our apps. However, I am considering adding a time series data structure which might reduce some of the pain with this. |
@shsms and I implemented this POC to show how the SDK's component graph and formula engine can be used with the reporting API: