pypsa.Network.consistency_check

pypsa.Network.consistency_check#

Network.consistency_check(check_dtypes: bool = False) None#

Checks the network for consistency; e.g. that all components are connected to existing buses and that no impedances are singular.

Prints warnings if anything is potentially inconsistent.

Examples

>>> n.consistency_check()