Base
PowerModelsITD.ref — Functionhelper function to access the AbstractPowerModelITD structs' ref, returns (id,data) pairs
PowerModelsITD.var — Functionhelper function to access the AbstractPowerModelITD structs' var, returns JuMP VariableRef
PowerModelsITD.ids — Functionhelper function to access the ids of AbstractPowerModelITD structs' ref, returns ints
PowerModelsITD.con — Functionhelper function to access the AbstractPowerModelITD structs' con, returns JuMP Constraint
PowerModelsITD.sol — Functionhelper function to access the AbstractPowerModelITD structs' sol, returns Dict
PowerModelsITD.nws — Functionhelper function to access multinetwork data from AbstractPowerModelITD structs, returns (id,data) pairs
PowerModelsITD.nw_ids — Functionhelper function to access the ids of multinetworks from AbstractPowerModelITD structs, returns ints
Helper functions
PowerModelsITD.silence! — FunctionSuppresses information and warning messages output by PowerModels and PowerModelsDistribution
Ref Creation Functions
PowerModelsITD.ref_add_core! — Methodfunction ref_add_core!(ref::Dict{Symbol,Any})Returns a dict that stores commonly used pre-computed data obtained from the data dictionary, primarily for converting data-types, filtering out loads in the transmission-side system, removing slack generators in the distribution-side system, and storing system-wide values that need to be computed globally. Some of the common keys include:
See ref_add_core!(ref) from PowerModels),See ref_add_core!(ref) from PowerModelsDistribution),:boundary– the set of boundary elements that are active in the network,:arcs_boundary_from– the set[(i,b["f_bus"],b["t_bus"]) for (i,b) in ref[:boundary]],:arcs_boundary_to– the set[(i,b["t_bus"],b["f_bus"]) for (i,b) in ref[:boundary]],:arcs_boundary– the set of arcs from botharcs_boundary_fromandarcs_boundary_to,:bus_arcs_boundary_from– the mappingDict(i => [(l,i,j) for (l,i,j) in ref[:arcs_boundary_from]]),:bus_arcs_boundary_to– the mappingDict(i => [(l,i,j) for (l,i,j) in ref[:arcs_boundary_to]]).