pypsa.SubNetwork.calculate_PTDF#
- SubNetwork.calculate_PTDF(skip_pre: bool = False) None #
Calculate the Power Transfer Distribution Factor (PTDF) for sub_network.
Sets sub_network.PTDF as a (dense) numpy array.
- Parameters:
sub_network (pypsa.SubNetwork)
skip_pre (bool, default False) – Skip the preliminary steps of computing topology, calculating dependent values, finding bus controls and computing B and H.