-
Notifications
You must be signed in to change notification settings - Fork 73
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
Endpoint to get all measurement/setpoints at current simulation time #359
Comments
Hey @mschaar, thanks for reaching out! I'm not sure I understand your issue, though. The available set of setpoints is invariant during runtime and can be retrieved at all times using GET |
Hi @JavierArroyoBastida, maybe it is easier to talk via MS Teams, then it is much easier to describe the problem. Do you have time for this? |
This week is a bit tight for me. Maybe we could arrange a call for next week. A description through here would be appreciated though since it can be useful to others in the future. |
To get current values for all measurement points, you can do something like (pseudo-code):
Does this help? |
This is the solution I'm using right now. This is slowing down the simulation... Isn't it possible to implement something like:
{ .... 'conCooRo2_reaCoo_y': {'Minimum': None, 'Description': 'Cooling control signal measurement as fraction of maximum for zone Ro2', 'Unit': '1', 'Maximum': None, value=10 }, ....} That the current simulation value is added to the measurement field, this would safe much requests and time. |
Ok I see. The current values of all measurements are returned when using |
This comment has been minimized.
This comment has been minimized.
@mschaar Wanted to let you know that we've closed Issue #364 via PR #377. This implements a fix so that data for control signals returned through the |
Closing as addressed and stale. |
I'm part of the RWTH agentlib team and want to implement the BOPTEST module into our multi agent system library.
The current problem is to get all controller setpoints from BOPTEST to pass them to my multi agent controllers. It would be nice to have an endpoint to get all available points at the current simulation time (or pass a list with the needed points) - Example Endpoint: GET /current_states, PARAMETER: point_list, if point_list is empty just return all points.
Maybe I misunderstood the documentation and there is a way to get all current values from your api. If there are any uncertainties in my description, please let me know.
The text was updated successfully, but these errors were encountered: