-
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.
Improve limits snapshot details (#96)
* updates to limit provenance * new resource-id schema to distinguish power system resources from generic objects in the description / example * allow for multiple overrides per limit * include entire segment rating in considered-proposals * some minor schema refactoring * polishing forecast limit provenance * enhance descriptions
- Loading branch information
1 parent
530c682
commit 824d68f
Showing
16 changed files
with
174 additions
and
118 deletions.
There are no files selected for viewing
45 changes: 19 additions & 26 deletions
45
docs/_data/components/schemas/array-max-forecast-periods.yaml
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 |
---|---|---|
@@ -1,48 +1,41 @@ | ||
forecast-limit-item: | ||
forecast-limit-item: &limit | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
transmission-facility-id: | ||
$ref: ./generic-identifier.yaml | ||
periods: &max | ||
resource-id: &id | ||
$ref: ./resource-id.yaml | ||
periods: &periods | ||
type: array | ||
maxItems: 240 | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-snapshot-slim' | ||
$ref: 'forecast-limit-period.yaml#/snapshot-slim' | ||
required: | ||
- resource-id | ||
- periods | ||
|
||
forecast-limit-item-detailed: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
transmission-facility-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-snapshot-detailed' | ||
$ref: 'forecast-limit-period.yaml#/snapshot-detailed' | ||
|
||
resource-forecast-proposal: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
resource-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-proposal' | ||
|
||
required: | ||
- resource-id | ||
- periods | ||
$ref: 'forecast-limit-period.yaml#/proposal' | ||
|
||
missing-forecast: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
resource-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: ./period-start.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,3 @@ properties: | |
required: | ||
- provider | ||
- last-updated | ||
- origin-id |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
type: object | ||
allOf: | ||
- $ref: ./limit-data.yaml | ||
- type: object | ||
properties: | ||
inputs-used: | ||
description: | | ||
Optional list of quantities used as input to the ratings determination. | ||
The particular information exchange determines which values may be expected | ||
as well as the conventions used to represent those values. This property | ||
is included to prescribe a way to include these inputs. | ||
type: array | ||
minItems: 1 | ||
maxItems: 50 | ||
items: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
format: free-text | ||
maxLength: 50 | ||
value: | ||
type: object | ||
description: > | ||
This could be any value: a bit, float, integer, string, etc. | ||
unit: | ||
type: string | ||
description: | | ||
If the `value` is dimensionless, this property should not be | ||
provided. Since we are not specifying which inputs shall be | ||
provided, we cannot specify a definitive list of units, but | ||
implementors are encouraged to use UnitSymbol from CIM when | ||
appropriate: The CIM may not include appropriate units for | ||
all inputs, e.g., wind speed. | ||
format: unit | ||
maxLength: 50 | ||
required: | ||
- name | ||
- value |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
type: string | ||
description: | | ||
Contains a unique identifier for an a power system resources, such as a | ||
transmission facility, segment, interface, etc. | ||
maxLength: 250 | ||
pattern: ^(.){0,250}$ | ||
example: "86753_1_1" |
Oops, something went wrong.