Public API Reference

System Catalog

Reading the Catalog

Categories of Systems

Building a System

PowerSystemCaseBuilder.build_systemFunction
build_system(
    category::Type{<:SystemCategory},
    name::String;
    ...
) -> Any
build_system(
    category::Type{<:SystemCategory},
    name::String,
    print_stat::Bool;
    force_build,
    assign_new_uuids,
    skip_serialization,
    system_catalog,
    kwargs...
) -> Any

Builds a PowerSystems.System from one of the predefined categories of test systems

Arguments

  • category::Type{<:SystemCategory}: A subtype of SystemCategory
  • name::String: Name of the System to build

Accepted Key Words

  • print_stat::Bool = false: Print statistics about the system build process
  • force_build::Bool: true runs entire build process, false (Default) uses deserializiation if possible
  • assign_new_uuids::Bool: Assign new UUIDs to the system and all components if deserialization is used. Default is true.
  • skip_serialization::Bool: Default is false
  • system_catalog::SystemCatalog: Defaults to the PowerSystemCaseBuilder.jl catalog of Systems
source

Utilities

PowerSystemCaseBuilder.SystemDescriptorMethod
SystemDescriptor(
;
    name,
    description,
    category,
    build_function,
    raw_data,
    download_function,
    stats,
    supported_arguments
)

Constructs a container for describing, categorizing, and building a PowerSystems.System

Arguments

  • name::AbstractString: Unique name of the System
  • description::AbstractString: Phrase describing the System and key distinguishing features from other systems in the catalog
  • category::Type{<:SystemCategory}: A subtype of SystemCategory for categorizing this System within the catalog
  • raw_data::AbstractString: A path pointing to the System's data directory, .jl file, or parseable .m or .raw file in PowerSystemsTestData
  • build_function::Function: A custom Function for building this System. See src/library files.
  • download_function::Union{Nothing, Function}: Typically unused
  • stats::Union{Nothing,SystemBuildStats}: Container for summary statistics on the build process
  • supported_arguments::Vector{SystemArgument}: Additional arguments to pass to the build_function
source