Distribution System Builder#

class shift.DistributionSystemBuilder(name: str, dist_graph: DistributionGraph, phase_mapper: BasePhaseMapper, voltage_mapper: BaseVoltageMapper, equipment_mapper: BaseEquipmentMapper)#

Class interface for building distribution system.

Parameters:
  • name (str) – Name of the system.

  • dist_graph (DistributionGraph) – Instance of the DistributionGraph.

  • phase_mapper (BasePhaseMapper) – Instance of class of type BasePhaseMapper.

  • voltage_mapper (BaseVoltageMapper) – Instance of class of type BaseVoltageMapper.

  • equipment_mapper (BaseEquipmentMapper) – Instance of class of type BaseEquipmentMapper.

get_system() DistributionSystem#

Method to return distribution system.

Return type:

DistributionSystem