You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attribute that contains information regarding forced outages where the transition probabilities
22
114
are modeled with geometric distributions. The outage probabilities and recovery probabilities can be modeled as time
@@ -25,32 +117,37 @@ series.
25
117
# Arguments
26
118
- `mean_time_to_recovery::Float64`: Time elapsed to recovery after a failure in Milliseconds.
27
119
- `outage_transition_probability::Float64`: Characterizes the probability of failure (1 - p) in the geometric distribution.
120
+
- `monitored_components::Set{Base.UUID}`: UUIDs of devices whose post-contingency state should be modeled when this outage occurs. Empty by default; semantics of an empty set are decided by the downstream consumer.
28
121
- `internal::InfrastructureSystemsInternal`: (**Do not modify.**) PowerSystems internal reference
Construct a [`GeometricDistributionForcedOutage`](@ref).
40
134
41
135
# Arguments
42
136
- `mean_time_to_recovery::Float64`: (default: `0.0`) Time elapsed to recovery after a failure in Milliseconds.
43
137
- `outage_transition_probability::Float64`: (default: `0.0`) Characterizes the probability of failure (1 - p) in the geometric distribution.
138
+
- `monitored_components`: (default: `Base.UUID[]`) Any iterable of `Base.UUID` or [`Device`](@ref). Devices are converted to their UUIDs internally; duplicates are collapsed.
44
139
- `internal::InfrastructureSystemsInternal`: (default: `InfrastructureSystemsInternal()`) (**Do not modify.**) PowerSystems internal reference
45
140
"""
46
141
functionGeometricDistributionForcedOutage(;
47
142
mean_time_to_recovery =0.0,
48
143
outage_transition_probability =0.0,
144
+
monitored_components = Base.UUID[],
49
145
internal =InfrastructureSystemsInternal(),
50
146
)
51
147
returnGeometricDistributionForcedOutage(
52
148
mean_time_to_recovery,
53
149
outage_transition_probability,
150
+
Set{Base.UUID}(_as_uuid(x) for x in monitored_components),
54
151
internal,
55
152
)
56
153
end
@@ -67,28 +164,33 @@ Attribute that contains information regarding planned outages.
67
164
68
165
# Arguments
69
166
- `outage_schedule::String`: String name of the time series used for the scheduled outages
167
+
- `monitored_components::Set{Base.UUID}`: UUIDs of devices whose post-contingency state should be modeled when this outage occurs. Empty by default; semantics of an empty set are decided by the downstream consumer.
70
168
- `internal::InfrastructureSystemsInternal`: (**Do not modify.**) PowerSystems internal reference
- `outage_schedule::String`: String name of the time series used for the scheduled outages
183
+
- `monitored_components`: (default: `Base.UUID[]`) Any iterable of `Base.UUID` or [`Device`](@ref). Devices are converted to their UUIDs internally; duplicates are collapsed.
84
184
- `internal::InfrastructureSystemsInternal`: (default: `InfrastructureSystemsInternal()`) (**Do not modify.**) PowerSystems internal reference
85
185
"""
86
186
functionPlannedOutage(;
87
187
outage_schedule,
188
+
monitored_components = Base.UUID[],
88
189
internal =InfrastructureSystemsInternal(),
89
190
)
90
191
returnPlannedOutage(
91
192
outage_schedule,
193
+
Set{Base.UUID}(_as_uuid(x) for x in monitored_components),
92
194
internal,
93
195
)
94
196
end
@@ -102,27 +204,35 @@ The time series data for fixed outages can be obtained from the simulation of a
102
204
103
205
# Arguments
104
206
- `outage_status::Float64`: The forced outage status in the model. 1 represents outaged and 0 represents available.
207
+
- `monitored_components::Set{Base.UUID}`: UUIDs of devices whose post-contingency state should be modeled when this outage occurs. Empty by default; semantics of an empty set are decided by the downstream consumer.
105
208
- `internal::InfrastructureSystemsInternal`: (**Do not modify.**) PowerSystems internal reference
- `outage_status::Float64`: The forced outage status in the model. 1 represents outaged and 0 represents available.
223
+
- `monitored_components`: (default: `Base.UUID[]`) Any iterable of `Base.UUID` or [`Device`](@ref). Devices are converted to their UUIDs internally; duplicates are collapsed.
119
224
- `internal::InfrastructureSystemsInternal`: (default: `InfrastructureSystemsInternal()`) (**Do not modify.**) PowerSystems internal reference
120
225
"""
121
226
functionFixedForcedOutage(;
122
227
outage_status,
228
+
monitored_components = Base.UUID[],
123
229
internal =InfrastructureSystemsInternal(),
124
230
)
125
-
returnFixedForcedOutage(outage_status, internal)
231
+
returnFixedForcedOutage(
232
+
outage_status,
233
+
Set{Base.UUID}(_as_uuid(x) for x in monitored_components),
0 commit comments