Limits Forecast Snapshot
Changed onReturns the latest Limits Forecast the clearinghouse has produced.
This content of the response varies significantly based on the media type requested.
- application/vnd.trolie.forecast-limits-snapshot.v1+json simply includes the limits.
- For use cases that require understanding how the limits were determined, the media type application/vnd.trolie.forecast-limits-detailed-snapshot.v1+json is available; it contains the ratings proposals and other factors used to generate the limits.
Both of these media types support the include-psr-header parameter. This is a boolean parameter that defaults to true. When set to false, the power-system-resource header is omitted. This can result in smaller payloads when the client already knows the resource ids in use by the Clearinghouse Provider.
GET /limits/forecast-snapshot HTTP/1.1
Accept: application/vnd.trolie.forecast-limits-detailed-snapshot.v1+json; include-psr-header=false
Slim Format
The application/vnd.trolie.forecast-limits-snapshot-slim.v1+json media type may be used to request a more concise representation of the data. The media type parameter limit-type is required to specify the type of limit being requested, for example:
GET /limits/forecast-snapshot HTTP/1.1
Accept: application/vnd.trolie.forecast-limits-snapshot-slim.v1+json; limit-type=apparent-power
Additionally, the inputs-used parameter may be set to true to include the inputs used to generate the forecast.
GET /limits/forecast-snapshot HTTP/1.1
Accept: application/vnd.trolie.forecast-limits-snapshot-slim.v1+json; limit-type=apparent-power; inputs-used=true
Note this format is much more concise but requires significant care in processing. See Using Slim Media Types for more details.
Clients SHOULD perform Conditional GET using the If-None-Match header and the ETag of a previous GET response to poll this endpoint. Rate limiting is done on a per Ratings Provider basis, so requests from independent clients used by the same provider count against the same quota.
Request
- Base URLhttps://trolie.example.com
- AuthOAuth 2Client credentialsToken URLhttps://no-server/oauth2Scopesread:operating-snapshot
Query parameters
RFC 3339 date-time string with no fractional seconds component that designates a start or end to an operating period (such as an hour) that starts at a specified time. This will frequently be at the start of an hour, but may be finer-grained, such as every 30 minutes, should the Clearinghouse Provider choose.
If the Transmission Provider is operating in EST, these are valid and equivalent values:
- 2023-01-01T06:00Z
- 2023-01-01T01:00-5:00
- 2023-01-01T00:00-6:00
- 2023-01-01T11:30+5:30
The server should uniformly represent date-times in the operational time zone of the Clearinghouse Provider.
Rather than return the entire forecast from the beginning, i.e., the next operating period, instead return a subset of the forecast starting with the period starting at offset-period-start.
RFC 3339 date-time string with no fractional seconds component that designates a start or end to an operating period (such as an hour) that starts at a specified time. This will frequently be at the start of an hour, but may be finer-grained, such as every 30 minutes, should the Clearinghouse Provider choose.
If the Transmission Provider is operating in EST, these are valid and equivalent values:
- 2023-01-01T06:00Z
- 2023-01-01T01:00-5:00
- 2023-01-01T00:00-6:00
- 2023-01-01T11:30+5:30
The server should uniformly represent date-times in the operational time zone of the Clearinghouse Provider.
Specifies the end of a period for which a filter specifies. Periods will only be returned that start prior to this time.
Contains a identifier that is unique for an object in the context of an exchange between two grid operators.
Only return ratings or limits for facilities of the associated monitoring-set. The identifier for a monitoring-set is pre-coordinated, but using the NERC id of the associated Ratings Provider for the default monitoring set is recommended.
Only return limits for this power system resource
Only return limits determined by static ratings. Without this parameter a forecast limits snapshot would include contain limits determined by considering dynamic ratings, like AARs or DLRs, when those were available for a particular forecast period.
With static-only=true, the forecast limits snapshot would only include limits that were determined using static ratings, such as seasonal ratings, seasonal overrides, temporary AAR exceptions, operator overrides, etc.
Specifies the time aggregation for the forecast using ISO 8601 Duration syntax. If not provided, the API will default to hourly. Examples of values that may be supported by a given implementation include:
- Hourly (default): PT1H
- Daily: P1D
- Weekly: P1W
- Monthly: P1M
- Yearly: P1Y
- Quarterly: P3M
If the API does not support the requested temporal_resolution, it will return a 422 Unprocessable Content response.
When this parameter is provided, both offset-period-start and period-end are required.
Given temporal-resolution R, offset-period-start S, and period-end E, both S and E must agree on each duration component to the right of (so smaller than) R. For example, this is a valid combination:
| parameter | value |
|---|---|
| temporal-resolution | P1D (i.e. "daily") |
| offset-period-start | 2025-01-01T01:00:00Z |
| period-end | 2025-01-04T01:00:00Z |
However, this is not valid because the hours do not agree:
| parameter | value |
|---|---|
| temporal-resolution | P1D |
| offset-period-start | 2025-01-01T01:10:00Z |
| period-end | 2025-01-04T12:00:00Z |
Note that the minutes do not agree either, but that is essentially inconsequential since at the daily resolution the hours must first agree.
As discussed in their respective parameters, offset-period-start and period-end nominate the beginning of the first and end of the last period (interval), respectively. Given our valid example above, the first period in the forecast would be for the 24-hours starting at 2025-01-01T01:00:00Z and ending at 2025-01-02T01:00:00Z, and the final period would be for the 24-hour period starting at 2025-01-03T01:00:00Z and ending at 2025-01-04T01:00:00Z.
Response
The requested operating forecast snapshot is returned.
Example response
{
"snapshot-header": {
"power-system-resources": [
{
"alternate-identifiers": [
{
"name": "86753_1",
"type": "EMSID",
"authority": "org:naesb:weq:eir:MISO",
"mrid": "86753_1"
}
]
}
]
}
}Changes
- info
endpoint added
- info