pypsa.SubNetwork.calculate_Y# SubNetwork.calculate_Y(skip_pre: bool = False) → None# Calculate bus admittance matrices for AC sub-networks.