A method for analyzing power flow in a power system comprising: generating, on a computer system, one-line electrical network diagram indicative of the power system, the one-line electrical network diagram including representations of electrical components in the power system and connections between the electrical components in the power system; analyzing, by the computer system, the one-line electrical network diagram to recognize each of the electrical components, the electrical components including at least one power source, at least one power transferor, at least one power carrier and at least one power validator, wherein the at least one power transferor is configured to transfer power received from the at least one power source to the at least one power carrier, and the at least one power validator is configured to validate a flow of power between the at least one power source, the at least one power transferor and the at least one power carrier; determining, for each of the electrical components, a functional type of the electrical component based on a graphical analysis of the electrical component, the functional type of the electrical component indicating a specific type of the at least one power source, the at least one power transferor, the at least one power carrier, or the at least one power validator corresponding to the electrical component; determining, for each of the electrical components, one or more properties of the electrical component, the properties corresponding to characteristics that affect the operation of the electrical component or provide information about the electrical component; based on the functional types and properties of each of the electrical components, determining current states of each of the electrical components, and generating animation algorithms for each of the electrical components, the animation algorithms controlling animation of the one-line electrical network diagram, the animation showing at least flow of power in the power system based on the current states of each of the electrical components; and evaluating the flow of power depicted by the animation to detect and repair potential problems associated with the power system and providing errors and warnings to the user, wherein the animation algorithms include an algorithm for identifying, for each one of the electrical components, which power source of the at least one power source is used to power the one of the electrical components. generating, on a computer system, one-line electrical network diagram indicative of the power system, the one-line electrical network diagram including representations of electrical components in the power system and connections between the electrical components in the power system; analyzing, by the computer system, the one-line electrical network diagram to recognize each of the electrical components, the electrical components including at least one power source, at least one power transferor, at least one power carrier and at least one power validator, wherein the at least one power transferor is configured to transfer power received from the at least one power source to the at least one power carrier, and the at least one power validator is configured to validate a flow of power between the at least one power source, the at least one power transferor and the at least one power carrier; determining, for each of the electrical components, a functional type of the electrical component based on a graphical analysis of the electrical component, the functional type of the electrical component indicating a specific type of the at least one power source, the at least one power transferor, the at least one power carrier, or the at least one power validator corresponding to the electrical component; determining, for each of the electrical components, one or more properties of the electrical component, the properties corresponding to characteristics that affect the operation of the electrical component or provide information about the electrical component; based on the functional types and properties of each of the electrical components, determining current states of each of the electrical components, and generating animation algorithms for each of the electrical components, the animation algorithms controlling animation of the one-line electrical network diagram, the animation showing at least flow of power in the power system based on the current states of each of the electrical components; and evaluating the flow of power depicted by the animation to detect and repair potential problems associated with the power system and providing errors and warnings to the user, wherein the animation algorithms include an algorithm for identifying, for each one of the electrical components, which power source of the at least one power source is used to power the one of the electrical components.