From bdca944a73ba2cfbaabfc2a9803d67d13a2b79bf Mon Sep 17 00:00:00 2001 From: Christopher Atkins Date: Fri, 11 Oct 2024 16:00:34 +0000 Subject: [PATCH 1/2] add quality class "Current Source" as optional on proposals default indicates it should be assumed to be "calculated" (AAR) if unspecified --- cspell.json | 1 + .../schemas/array-max-monitored-elements.yaml | 2 +- docs/_data/components/schemas/headers.yaml | 12 ++++++++++- .../components/schemas/limit-proposal.yaml | 2 ++ .../schemas/quality-class-current-source.yaml | 21 +++++++++++++++++++ 5 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 docs/_data/components/schemas/quality-class-current-source.yaml diff --git a/cspell.json b/cspell.json index 715eed9..998128c 100644 --- a/cspell.json +++ b/cspell.json @@ -38,6 +38,7 @@ ,"Redocly" ,"ruleset" ,"SCADA" + ,"Telemetered" ,"TROLIE" ,"undervoltage" ,"Vernova" diff --git a/docs/_data/components/schemas/array-max-monitored-elements.yaml b/docs/_data/components/schemas/array-max-monitored-elements.yaml index 564bf94..6299185 100644 --- a/docs/_data/components/schemas/array-max-monitored-elements.yaml +++ b/docs/_data/components/schemas/array-max-monitored-elements.yaml @@ -254,7 +254,7 @@ realtime-proposal-slim: description: Used to propose real-time ratings for a set of resources. properties: proposal-header: - $ref: ./headers.yaml#/real-time-proposal-header + $ref: ./headers.yaml#/real-time-proposal-slim-header ratings: <<: *max description: Real-Time Ratings Proposals diff --git a/docs/_data/components/schemas/headers.yaml b/docs/_data/components/schemas/headers.yaml index 8fa6c9b..6fd2e39 100644 --- a/docs/_data/components/schemas/headers.yaml +++ b/docs/_data/components/schemas/headers.yaml @@ -16,7 +16,7 @@ common-header: &common-header - power-system-resources additionalProperties: false -real-time-proposal-header: +real-time-proposal-header: &forecast-proposal-header <<: *common-header description: | @@ -26,6 +26,13 @@ real-time-proposal-header: appropriate metadata from the Clearinghouse Provider's perspective. +real-time-proposal-slim-header: + <<: *forecast-proposal-header + properties: + <<: *common-header-props + current-source: + $ref: ./quality-class-current-source.yaml + forecast-proposal-header: &forecast-proposal-header <<: *common-header description: | @@ -68,6 +75,9 @@ forecast-proposal-slim-header: RFC 3339 date-time string with *no fractional seconds component* that indicates that last period for each individual resource proposal, identifying the appropriate operational window for this proposal. + current-source: + $ref: ./quality-class-current-source.yaml + required: - begins diff --git a/docs/_data/components/schemas/limit-proposal.yaml b/docs/_data/components/schemas/limit-proposal.yaml index a8be1cd..fe2a4ee 100644 --- a/docs/_data/components/schemas/limit-proposal.yaml +++ b/docs/_data/components/schemas/limit-proposal.yaml @@ -3,6 +3,8 @@ allOf: - $ref: ./limit-data.yaml - type: object properties: + current-source: + $ref: ./quality-class-current-source.yaml inputs-used: description: | diff --git a/docs/_data/components/schemas/quality-class-current-source.yaml b/docs/_data/components/schemas/quality-class-current-source.yaml new file mode 100644 index 0000000..a8c3cc7 --- /dev/null +++ b/docs/_data/components/schemas/quality-class-current-source.yaml @@ -0,0 +1,21 @@ +type: string +description: | + + This property is modeled after the Quality Class called "Current Source" + in ICCP. It is used to indicate the source of the current value of the + proposed rating. The natural mapping of this property to the kinds ratings + or rating sources described in Order 881 is as follows. + + | ICCP | TROLIE | + --------------|-------------------- + | telemetered | DLR | + | calculated | AAR | + | estimated | Recourse Rating / time-bound static rating | + | manual | Operator Override | + +enum: + - Telemetered + - Calculated + - Estimated + - Manual +default: Calculated From 701fd99a739a69dfb897ecf33f63160b55bad780 Mon Sep 17 00:00:00 2001 From: Christopher Atkins <57670484+catkins-miso@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:35:33 -0400 Subject: [PATCH 2/2] Update docs/_data/components/schemas/quality-class-current-source.yaml Signed-off-by: Christopher Atkins <57670484+catkins-miso@users.noreply.github.com> --- docs/_data/components/schemas/quality-class-current-source.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/components/schemas/quality-class-current-source.yaml b/docs/_data/components/schemas/quality-class-current-source.yaml index a8c3cc7..f7311b1 100644 --- a/docs/_data/components/schemas/quality-class-current-source.yaml +++ b/docs/_data/components/schemas/quality-class-current-source.yaml @@ -3,7 +3,7 @@ description: | This property is modeled after the Quality Class called "Current Source" in ICCP. It is used to indicate the source of the current value of the - proposed rating. The natural mapping of this property to the kinds ratings + proposed rating. The natural mapping of this property to the kinds of ratings or rating sources described in Order 881 is as follows. | ICCP | TROLIE |