-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix limit types #186
Merged
Merged
fix limit types #186
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
docs/_data/components/schemas/limit-types/active-power-with-power-factor.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type: object | ||
title: Active Power and Power Factor | ||
additionalProperties: false | ||
properties: | ||
mw: | ||
type: number | ||
description: Active Power in megawatts | ||
format: float | ||
minimum: 1 | ||
maximum: 10000 | ||
pf: | ||
type: number | ||
description: Assumed power factor. | ||
format: float | ||
minimum: 0 | ||
maximum: 1 | ||
required: | ||
- mw | ||
- pf |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
type: object | ||
title: Apparent Power | ||
additionalProperties: false | ||
properties: | ||
mva: | ||
|
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 |
---|---|---|
@@ -1,52 +1,71 @@ | ||
overvoltage-threshold-pu: | ||
type: object | ||
title: Overvoltage Threshold per unit (nominal voltage assumed) | ||
description: > | ||
An upper limit to voltage for a transmission facility in per unit with | ||
the base voltage assumed to be the nominal voltage. | ||
additionalProperties: false | ||
properties: | ||
voltage-pu-max: &pu | ||
type: number | ||
description: > | ||
An upper limit to voltage for a transmission facility in per unit. | ||
format: float | ||
minimum: 0 | ||
maximum: 2 | ||
base-kV: &voltage | ||
type: number | ||
description: > | ||
The base voltage in kilovolts for the per unit voltage. | ||
format: int32 | ||
minimum: 0 | ||
maximum: 1100 | ||
required: | ||
- voltage-pu-max | ||
|
||
overvoltage-threshold: | ||
type: object | ||
title: Overvoltage Threshold | ||
description: An upper limit to voltage for a transmission facility in kilovolts. | ||
additionalProperties: false | ||
properties: | ||
kV-max: | ||
<<: *voltage | ||
description: > | ||
An upper limit to voltage for a transmission facility in kilovolts. | ||
kV-max: &voltage | ||
type: number | ||
format: int32 | ||
minimum: 0 | ||
maximum: 1100 | ||
required: | ||
- kV-max | ||
|
||
undervoltage-threshold-pu: | ||
type: object | ||
title: Undervoltage Threshold per unit (nominal voltage assumed) | ||
description: > | ||
An lower limit to voltage for a transmission facility in per unit | ||
with the nominal voltage assumed to be the base voltage. | ||
additionalProperties: false | ||
properties: | ||
voltage-pu-min: | ||
<<: *pu | ||
description: An lower limit to voltage for a transmission facility in per unit. | ||
base-kV: *voltage | ||
required: | ||
- voltage-pu-min | ||
|
||
undervoltage-threshold: | ||
type: object | ||
title: Undervoltage Threshold | ||
description: A lower limit to voltage for a transmission facility in kilovolts. | ||
additionalProperties: false | ||
properties: | ||
kV-min: | ||
<<: *voltage | ||
description: A lower limit to voltage for a transmission facility in kilovolts. | ||
required: | ||
- kV-min | ||
|
||
current-with-kV: | ||
type: object | ||
title: Current | ||
description: Representation of a limit in amperes and associated voltage. | ||
additionalProperties: false | ||
properties: | ||
amps: | ||
type: number | ||
format: float | ||
minimum: 1 | ||
maximum: 100000 | ||
kV: | ||
<<: *voltage | ||
description: The voltage in kilovolts for the current limit. | ||
required: | ||
- amps | ||
- kV |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! There it is.