SiennaPRASInterface.CC_RESTRICTIONS_UTIL_FILE
— ConstantFILE with restrictions on CC units in PRAS
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index 0b5d270..b721cdf 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.3","generation_timestamp":"2025-01-29T15:10:05","documenter_version":"1.8.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.3","generation_timestamp":"2025-01-30T18:06:57","documenter_version":"1.8.0"}}
\ No newline at end of file
diff --git a/dev/api/internal/index.html b/dev/api/internal/index.html
index 8ab79a8..ae94abb 100644
--- a/dev/api/internal/index.html
+++ b/dev/api/internal/index.html
@@ -5,13 +5,13 @@
samples = storavail["MyStorage123", ZonedDateTime(2020, 1, 1, 0, tz"UTC")]
@assert samples isa Vector{Bool}
-@assert length(samples) == 10source Based on ERCOT historical data These transformers are not modeled as lines in PRAS. Struct to store metadata for the Sienna to PRAS conversion Struct to store the outage information for a component. Check if the file exists and is openable. Based on ERCOT historical data These transformers are not modeled as lines in PRAS. Struct to store metadata for the Sienna to PRAS conversion Struct to store the outage information for a component. Check if the file exists and is openable. Get available components in the AggregationTopology region of the given type. Get time series and handle components with no time series (such as unavailable) Get the category of the generator. Arguments Returns Get sorted lines, interface region indices, and interface line indices. Arguments Returns Get sorted (regfrom, regto) tuples of inter-regional lines. Return a vector of timestamps starting from Get the time series values. Arguments Returns initializeavailability!(rng, availability, nexttransition, devices, tlast) Arguments Returns Modifies input arguments and rereturns Get the line rating. Arguments Returns Get available components in the AggregationTopology region of the given type. Get time series and handle components with no time series (such as unavailable) Get the category of the generator. Arguments Returns Get sorted lines, interface region indices, and interface line indices. Arguments Returns Get sorted (regfrom, regto) tuples of inter-regional lines. Return a vector of timestamps starting from Get the time series values. Arguments Returns initializeavailability!(rng, availability, nexttransition, devices, tlast) Arguments Returns Modifies input arguments and rereturns Get the line rating. Arguments Returns Get the line type. Arguments Returns Converts PSY branches and interaces indices into PRAS Lines and Interfaces. Returns Converts the forced outage rate and mean time to repair to the λ and μ parameters Arguments Returns Reference https://core.ac.uk/download/pdf/13643059.pdf Check if the System JSON file is serialized as well as other files required. Return availability and next transition with new randomnessSiennaPRASInterface.CC_RESTRICTIONS_UTIL_FILE
— ConstantFILE with restrictions on CC units in PRAS
SiennaPRASInterface.HVDCLineTypes
— TypeSupported DC branch Types
SiennaPRASInterface.OUTAGE_INFO_FILE
— ConstantDEFAULT outage data which is used when outage_flag is set to FALSE
SiennaPRASInterface.TransformerTypes
— ConstantFiltered Transformer Types
SiennaPRASInterface.S2P_metadata
— TypeS2P_metadata
SiennaPRASInterface.outage_data
— Typeoutage_data
SiennaPRASInterface.check_file
— Methodcheck_file(loc::String)
SiennaPRASInterface.get_available_components_in_aggregation_topology
— Methodget_available_components_in_aggregation_topology(
+@assert length(samples) == 10
SiennaPRASInterface.CC_RESTRICTIONS_UTIL_FILE
— ConstantFILE with restrictions on CC units in PRAS
SiennaPRASInterface.HVDCLineTypes
— TypeSupported DC branch Types
SiennaPRASInterface.OUTAGE_INFO_FILE
— ConstantDEFAULT outage data which is used when outage_flag is set to FALSE
SiennaPRASInterface.TransformerTypes
— ConstantFiltered Transformer Types
SiennaPRASInterface.S2P_metadata
— TypeS2P_metadata
SiennaPRASInterface.outage_data
— Typeoutage_data
SiennaPRASInterface.check_file
— Methodcheck_file(loc::String)
SiennaPRASInterface.get_available_components_in_aggregation_topology
— Methodget_available_components_in_aggregation_topology(
type::Type{<:PSY.StaticInjection},
sys::PSY.System,
region::PSY.AggregationTopology,
-)
SiennaPRASInterface.get_first_ts
— Methodget_first_ts(ts::TS)
SiennaPRASInterface.get_generator_category
— Methodget_generator_category(gen::StaticInjection)
gen::StaticInjection
: GeneratorString
: Category of the generatorSiennaPRASInterface.get_sorted_lines
— Methodget_sorted_lines(lines::Vector{PSY.Branch}, region_names::Vector{String})
lines::Vector{PSY.Branch}
: Linesregion_names::Vector{String}
: Region namessorted_lines::Vector{PSY.Branch}
: Sorted linesinterface_reg_idxs::Vector{Tuple{Int, Int}}
: Interface region indicesinterface_line_idxs::Vector{UnitRange{Int}}
: Interface line indicesSiennaPRASInterface.get_sorted_region_tuples
— Methodget_sorted_region_tuples(lines::Vector{PSY.Branch}, region_names::Vector{String})
SiennaPRASInterface.get_timestamps
— Methodget_timestamps(initial_time, resolution, steps, horizon)
initial_time
with resolution
and steps
for horizon
stepsSiennaPRASInterface.get_ts_values
— Methodget_ts_values(ts::PSY.TimeSeriesData)
ts::TimeSeries
: Time seriesArray{Float64}
: Time series valuesSiennaPRASInterface.initialize_availability!
— Methodrng::Random.AbstractRNG
: Random number generatoravailability::Vector{Bool}
: Vector of availability statusnexttransition::Vector{Int}
: Vector of next transition timedevices::Vector{PSY.Generator}
: Vector of devices with outage SupplementalAttributest_last::Int
: Last time stepavailability::Vector{Bool}
: Vector of availability statusnexttransition::Vector{Int}
: Vector of next transition timeSiennaPRASInterface.line_rating
— Methodline_rating(line::Branch)
line::Branch
: LineTuple{forward_capacity::Float64, backward_capacity::Float64}
: Line ratingSiennaPRASInterface.make_pras_interfaces
— Methodmake_pras_interfaces(
+)
SiennaPRASInterface.get_first_ts
— Methodget_first_ts(ts::TS)
SiennaPRASInterface.get_generator_category
— Methodget_generator_category(gen::StaticInjection)
gen::StaticInjection
: GeneratorString
: Category of the generatorSiennaPRASInterface.get_sorted_lines
— Methodget_sorted_lines(lines::Vector{PSY.Branch}, region_names::Vector{String})
lines::Vector{PSY.Branch}
: Linesregion_names::Vector{String}
: Region namessorted_lines::Vector{PSY.Branch}
: Sorted linesinterface_reg_idxs::Vector{Tuple{Int, Int}}
: Interface region indicesinterface_line_idxs::Vector{UnitRange{Int}}
: Interface line indicesSiennaPRASInterface.get_sorted_region_tuples
— Methodget_sorted_region_tuples(lines::Vector{PSY.Branch}, region_names::Vector{String})
SiennaPRASInterface.get_timestamps
— Methodget_timestamps(initial_time, resolution, steps, horizon)
initial_time
with resolution
and steps
for horizon
stepsSiennaPRASInterface.get_ts_values
— Methodget_ts_values(ts::PSY.TimeSeriesData)
ts::TimeSeries
: Time seriesArray{Float64}
: Time series valuesSiennaPRASInterface.initialize_availability!
— Methodrng::Random.AbstractRNG
: Random number generatoravailability::Vector{Bool}
: Vector of availability statusnexttransition::Vector{Int}
: Vector of next transition timedevices::Vector{PSY.Generator}
: Vector of devices with outage SupplementalAttributest_last::Int
: Last time stepavailability::Vector{Bool}
: Vector of availability statusnexttransition::Vector{Int}
: Vector of next transition timeSiennaPRASInterface.line_rating
— Methodline_rating(line::Branch)
line::Branch
: LineTuple{forward_capacity::Float64, backward_capacity::Float64}
: Line ratingSiennaPRASInterface.line_type
— Methodline_type(line::Branch)
line::Branch
: LineString
: Line typeSiennaPRASInterface.make_pras_interfaces
— Methodmake_pras_interfaces(
sorted_lines::Vector{PSY.Branch},
interface_reg_idxs::Vector{Tuple{Int64, Int64}},
interface_line_idxs::Vector{UnitRange{Int64}},
s2p_meta::S2P_metadata,
-)
new_lines::PRASCore.Lines
: PRAS Linesnew_interfaces::PRASCore.Interfaces
: PRAS InterfacesSiennaPRASInterface.rate_to_probability
— Methodrate_to_probability(for_gen::Float64, mttr::Int64)
for_gen::Float64
: Forced outage rate [1/T]mttr::Int64
: Mean time to repair [T]λ::Float64
: Transition probability from online to offline [1/T]μ::Float64
: Transition rate from offline to online [1/T]SiennaPRASInterface.runchecks
— Methodrunchecks(sys_location::String)
SiennaPRASInterface.update_availability!
— Methodupdate_availability!(rng, availability, nexttransition, devices, t_now, t_last)
Settings
This document was generated with Documenter.jl version 1.8.0 on Wednesday 29 January 2025. Using Julia version 1.11.3.