Skip to main content

apply_dist_geo_layer

Function apply_dist_geo_layer 

Source
pub fn apply_dist_geo_layer(
    net: &mut MulticonductorNetwork,
    layer: &GeoLayer,
) -> GeoApplyReport
Expand description

Apply a [GeoLayer] onto a multiconductor network: matched bus points land in DistBus.location, matched line routes in DistLine.route, and the layer’s space becomes the network’s geo when anything matched. Matching follows [ElementKey], with the string ids matched case insensitively (OpenDSS names are case insensitive).