GraphML

PowerModelsONM.build_graphml_documentMethod
build_graphml_document(eng::Dict{String,<:Any}; type::Type="nested")

Helper function to build GraphML XML document from a eng network data structure.

type controls whether the resulting graph is a NestedGraph, i.e., buses are contained within load blocks, or a UnnestedGraph, where node groups are not utilized.

source
PowerModelsONM.build_graphml_edgeMethod
build_graphml_edge(id::String, source::String, target::String)::EzXML.Node

Helper function to build an 'edge' XML Node object for GraphML XML documents

source
PowerModelsONM.build_graphml_keyFunction
build_graphml_key(id::String, is_for::String, attr_name::String, attr_type::String, default::Any=missing)::EzXML.Node

Helper function to build an XML AttributeNode for attribute data for GraphML XML documents

source
PowerModelsONM.save_graphmlMethod
save_graphml(io::IO, eng::Dict{String,<:Any}; type::String="nested")

Save a GraphML XML document built from eng network data to IO stream.

type controls whether the resulting graph is a NestedGraph, i.e., buses are contained within load blocks, or a UnnestedGraph, where node groups are not utilized.

source
PowerModelsONM.save_graphmlMethod
save_graphml(graphml_file::String, eng::Dict{String,<:Any}; type::String="nested")

Save a GraphML XML document built from eng network data to graphml_file.

type controls whether the resulting graph is a NestedGraph, i.e., buses are contained within load blocks, or a UnnestedGraph, where node groups are not utilized.

source