-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from trolie/103-proposals-considered-examples
reconciliation article
- Loading branch information
Showing
8 changed files
with
136 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
title: Reconciliation with Limit Snapshots | ||
parent: Usage Examples | ||
nav_order: 6 | ||
--- | ||
|
||
# Reconciliation with Limit Snapshots | ||
|
||
A central concept in TROLIE is the Clearinghouse. [Ratings | ||
Providers](../concepts#ratings-provider) propose ratings, and the [Clearinghouse | ||
Provider](../concepts#clearinghouse-provider) determines operating limits: | ||
**ratings in, limits out**. | ||
|
||
<img src="../images/reconciliation.excalidraw.png" alt="Reconciliation Diagram" width="600"> | ||
|
||
Crucially, the limits determined by the Clearinghouse Provider may differ from | ||
the ratings proposed by any individual Ratings Provider. In this article we | ||
will briefly describe the API affordances that support reconciliation of limits | ||
(produced by the Clearinghouse) with the ratings proposed by the Ratings | ||
Provider. Our example with focus on real-time ratings, but the basic approach | ||
applies to forecast ratings as well. | ||
|
||
We have discussed [Real-Time Rating Submittal](submitting-realtime-ratings) and | ||
[Querying in-use Real-Time Limits](in-use-realtime-limits) elsewhere. Here we | ||
will focus on making use of the provenance information in | ||
`application/vnd.trolie.realtime-limits-detailed-snapshot.v1+json`. For more | ||
details on the different response messages available in TROLIE, see the article | ||
on [Media Types](../articles/media-types#read-requests). | ||
|
||
|
||
#### Request | ||
```bash | ||
curl -H "Accept: application/vnd.trolie.realtime-limits-detailed-snapshot.v1+json" \ | ||
$TROLIE_SERVER_URL/limits/realtime-snapshot?monitoring-set=my-monitoring-set | ||
``` | ||
|
||
#### Response | ||
|
||
Some headers are elided for clarity, but a successful response will start with: | ||
|
||
```http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/vnd.trolie.realtime-limits-detailed-snapshot.v1+json | ||
``` | ||
|
||
Here's an example of the body of the response: | ||
|
||
```json | ||
{% include_relative examples/realtime-limit-set-detailed.json %} | ||
``` | ||
|
||
#### Discussion | ||
|
||
The `proposals-considered` array contains the salient details of the ratings | ||
proposals that were considered. Note that in this example the continuous, | ||
"lte", and "ste" limits were determined by UTILITY-A but the "dal" limit was set | ||
by UTILITY-B. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.