SYSTEM FOR CONTROLLING A POWER TRANSMISSION SYSTEM

20170279298 · 2017-09-28

    Inventors

    Cpc classification

    International classification

    Abstract

    A power transmission system includes a plurality of electrical substations and a plurality of transmission lines arranged to connect the plurality of electrical substations to form a power transmission network; and a controller system arranged to control a power transmission within the power transmission network. The controller system includes: a detection module arranged to detect an occurrence of a fault in at least one faulty electrical substation of the plurality of electrical substations; and a restoration module arranged to at least temporally maintain an output power of the at least one faulty electrical substation; and wherein at least one of the plurality of electrical substations is operable to facilitate maintaining of the output of the at least one faulty electrical substation upon the detection of the occurrence of the fault.

    Claims

    1. A system for controlling a power transmission system comprising: a detection module arranged to detect an occurrence of a fault in at least one faulty electrical substation of a plurality of electrical substations of the power transmission system; and a restoration module arranged to at least temporally maintain an output power of the at least one faulty electrical substation; and wherein at least one of the plurality of electrical substations is operable to facilitate maintaining the output of the at least one faulty electrical substation upon the detection of the occurrence of the fault.

    2. The system in accordance with claim 1, wherein the fault is a failure of receiving an input power from an original energy source in the at least one faulty electrical substation.

    3. The system in accordance with claim 2, wherein the restoration module is further arranged to activate an auxiliary energy source arranged to at least temporally maintain the output power of the at least one faulty electrical substation.

    4. The system in accordance with claim 3, wherein the auxiliary energy source includes at least one healthy electrical substations of the plurality of electrical substations, wherein the at least one healthy electrical substation is different from the at least one faulty electrical substation.

    5. The system in accordance with claim 4, wherein at least two of the plurality of electrical substations are electrically interconnected.

    6. The system in accordance with claim 5, when the at least two interconnected electrical substations include the at least one faulty electrical substation and the at least one healthy electrical substation, the at least one healthy electrical substation is configured to supply the input power to the at least one faulty electrical substation interconnected thereto so as to maintain the output of the at least one faulty electrical substation upon the occurrence of the fault.

    7. The system in accordance with claim 5, wherein the at least two interconnected electrical substations belong to a same tier of a hierarchy of the power transmission system.

    8. The system in accordance with claim 5, wherein the at least two interconnected electrical substations belong to a same stage of different branches of the power transmission system.

    9. The system in accordance with claim 4, wherein the electrical connectivity between the interconnected electrical substations are controlled by the restoration module.

    10. The system in accordance with claim 3, wherein the auxiliary energy source includes an energy storage system.

    11. The system in accordance with claim 2, wherein the detection module is arranged to detect the occurrence of the fault by monitoring variations of the input power and the output power of the plurality of electrical substations.

    12. The system in accordance with claim 11, wherein the detection module is further arranged to monitor transitions associated with the variations of the input power and the output power.

    13. The system in accordance with claim 12, wherein the detection module is further arranged to compare a monitored parameter associated with the input power, the output power and the transitions monitored by the detection module with a predetermined threshold, such that the detection module is further arranged to determine the occurrence of the fault based on a comparison result associated with the compared monitored parameter and the predetermined threshold.

    14. The system in accordance with claim 13, wherein the detection module is arranged to represent the plurality of electrical substations and the monitored transitions as one or more petri nets.

    15. A power transmission system comprising: a plurality of electrical substations and a plurality of transmission lines arranged to connects the plurality of electrical substations to form a power transmission network; and a controller system arranged to control a power transmission within the power transmission network, wherein the controller system includes: a detection module arranged to detect an occurrence of a fault in at least one faulty electrical substation of the plurality of electrical substations; and a restoration module arranged to at least temporally maintain an output power of the at least one faulty electrical substation; and wherein at least one of the plurality of electrical substations is operable to facilitate maintaining of the output of the at least one faulty electrical substation upon the detection of the occurrence of the fault.

    16. The power transmission system in accordance with claim 15, wherein the fault is a failure of receiving an input power from an original energy source in the at least one faulty electrical substation.

    17. The power transmission system in accordance with claim 16, wherein at least two of the plurality of electrical substations are electrically interconnected, and when the at least two interconnected electrical substations include the at least one faulty electrical substation and at least one healthy electrical substation, the at least one healthy electrical substation is configured to supply the input power to the at least one faulty electrical substation interconnected thereto so as to maintain the output of the at least one faulty electrical substation upon the occurrence of the fault.

    18. The power transmission system in accordance with claim 17, further comprising an electrical switch arranged to selectively connect the at least two interconnected electrical substations electrically, wherein the electrical switch is controlled by the restoration module.

    19. The power transmission system in accordance with claim 15, wherein the restoration module further comprises an energy storage system arranged to temporally maintain the output power of the at least one faulty electrical substation.

    20. The power transmission system in accordance with claim 16, wherein the detection module further comprises an electrical sensing module arranged to obtain electrical parameters associated with the input power and the output power so as to facilitate the detection of the occurrence of the fault in the plurality of the electrical substations based on the electrical parameters.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0024] Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings in which:

    [0025] FIG. 1 is block diagram showing a power transmission system in accordance with one embodiment of the present invention;

    [0026] FIG. 2 is an illustration of a finite capacity Petri net;

    [0027] FIG. 3A is an illustration showing an example TPTS of WLC/NUC;

    [0028] FIG. 3B is an illustration a C-TPTS model representing the TPTS of FIG. 3A using petri net representation;

    [0029] FIG. 4A is an illustration showing a portion of the C-TPTS model representing a fault that occurs in p.sub.3;

    [0030] FIG. 4B is an illustration showing the C-TPTS model in FIG. 4A at a state after t.sub.4 firing twice;

    [0031] FIG. 4C is an illustration showing the C-TPTS model in FIG. 4A at a state when a large area blackout occurs in p.sub.3 after t.sub.4 fires five times;

    [0032] FIG. 4D is an illustration showing the fault occurrence evolution in p.sub.3 of FIG. 4A;

    [0033] FIG. 5A is an illustration showing a petri net representation of an ES p.sub.k;

    [0034] FIG. 5B is an illustration showing a petri net representation of the supervisor of the ES p.sub.k of FIG. 5A;

    [0035] FIG. 5C is an illustration showing a petri net representation of a combined system of ES p.sub.k of FIG. 5A and the supervisor of the ES p.sub.k of FIG. 5B;

    [0036] FIG. 6A is an illustration showing a petri net representation of the combined system of FIG. 5C in accordance with the ES p.sub.3 in FIG. 4A when a fault occurs in the input lines of p.sub.3;

    [0037] FIG. 6B is an illustration showing a petri net representation of the combined system of FIG. 6A when the fault may be detected;

    [0038] FIG. 6C is an illustration showing a petri net representation of the combined system of FIG. 6A when the fault is detected;

    [0039] FIG. 7A is an illustration showing a petri net representation of a paired of preconnected ESs p.sub.k and p.sub.1;

    [0040] FIG. 7B is an illustration showing a petri net representation of the ESs of FIG. 7A with the combination structure of p.sub.k, the supervisor N.sub.s.sup.pk of p.sub.k, and the solution p.sub.1 of p.sub.k;

    [0041] FIG. 8A is an illustration showing a petri net representation of the ES p.sub.3 and its solution p.sub.4 in accordance with FIG. 4A when a fault occurs;

    [0042] FIG. 8B is an illustration showing a petri net representation of the ESs p.sub.3 and p.sub.4 of FIG. 8A with the supervisor of p.sub.3 in accordance with FIG. 7B;

    [0043] FIG. 8C is an illustration showing a petri net representation of the combined system of FIG. 8B when the fault may be detected;

    [0044] FIG. 8D is an illustration showing a petri net representation of the combined system of FIG. 8B when the fault is detected; and

    [0045] FIG. 8E is an illustration showing the evolution of whole processes in p.sub.3 of FIG. 8B, including the fault detection and restoration processes.

    DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

    [0046] The inventors have, through their own research, trials and experiments, devised that electric energy may be transmitted by power transmission systems such as traditional power transmission systems (TPTSs). A TPTS is a critical infrastructure, which may be composed of many electrical substations (ESs) and transmission lines. However, the instability of transmission lines usually causes many serious blackout events such as large area blackouts that will bring about disastrous economic losses. Battery energy storage systems may be installed at ESs for load leveling and relay protection. If a fault occurs in an ES, the battery energy storage system can continually supply electric power for its output. However, the capacities of batteries may be limited and thus the faults should be promptly detected and restored so as to avoid large area blackouts.

    [0047] Expert system techniques may also be considered to implement fault detection and restoration in TPTSs. For example, a bayesian network for fault diagnosis on distribution feeders based on expert knowledge may be used. Alternatively, a fault diagnosis expert system aim at fault diagnosis in electric power systems may be used, such fault diagnosis expert system is integrated with several subsystems. In yet another alternative embodiment, a power system restoration method may include using an expert system and a mathematical programming approach. The target system for fault restoration is formulated as a mathematical programming problem. In these expert systems, the expert knowledge is optimized and updated with the information from continuous learning systems. However, the system information may also be interfered after the fault occurrence. It may affect the performance and reliability of expert systems.

    [0048] Smart grids, also known as new generation power grids, may use advanced control systems to control TPTSs to perform automatic fault detection and restoration. Therefore, a reliable control system is extremely important for the automatic fault detection and restoration of smart grids.

    [0049] Preferably, multi-agent technologies may be used as a method for the control systems of smart grids. A control system may be implemented based on multi-agent methods to perform fault detection and restoration for a navy ship system. It may detect and restore faults but only for a simplified system. In some other examples, various control systems based on multi-agent methods for fault detection and restoration may be implemented. The faults may be detected and restored by agents. However, these control systems are not formally modelled and verified by any formal method. The function blocks of IEC61499 provide a structure to model the industrial systems. For example, a control system by the forms of function blocks may be designed to perform fault detection and restoration for smart grids. The control system may be simulated by using Matlab-based simulation environment but lacks any formal verification.

    [0050] The control systems of smart grids are typical discrete event systems. Petri nets, a graphical and mathematical tool, may be used to describe and analyze discrete event systems. It is possible to create mathematical models, state equations, and algebraic equations to analyze and verify the behavior of discrete event systems by using Petri nets. For example, Petri nets may be used to simulate supervisors to effectively prevent deadlocks in flexible manufacturing systems.

    [0051] In power systems, Petri nets may also be used to evaluate the reliability and security of protection systems. A fuzzy Petri net technique may be used to deal with incomplete and uncertain alarms generated by protective relays and circuit breakers. Alternatively, a method based on Petri nets may be used to detect and localize faults in smart grids. The faults may be detected by computing the incidence matrices of Petri net models. However, the Petri net models and fault computations are complex and inefficient for large-scale smart grids. The fault restoration is neglected.

    [0052] The inventors also devise that some of these control systems may be effective but complex because of a large number of ESs. They can detect and restore faults but do not consider large area blackout avoidance during the fault detection and restoration. Large area blackouts are intolerable in some special areas such as the hospitals, communication departments, and large-scale steel production manufacturers. Moreover, some of these methods are not formally described and verified.

    [0053] With reference to FIG. 1, there is shown a power transmission system 100 comprising: a plurality of electrical substations 102 and a plurality of transmission lines 104 arranged to connects the plurality of electrical substations 102 to form a power transmission network 108; and a controller system 106 arranged to control a power transmission within the power transmission network 108, wherein the controller system 106 includes: a detection module 110 arranged to detect an occurrence of a fault in at least one faulty electrical substation of the plurality of electrical substations 102; and a restoration module 112 arranged to at least temporally maintain an output power of the at least one faulty electrical substation; and wherein at least one of the plurality of electrical substations 102 is operable to facilitate maintaining of the output of the at least one faulty electrical substation upon the detection of the occurrence of the fault.

    [0054] In this embodiment, the controller system 106 is arranged to control all the power transmission activities within the power transmission network 108. The power transmission network 108 includes a plurality of electrical substations 102 (ESs) each connected to at least one adjacent electrical substation, a power source such as a power station 114 (or a subsequent conversion stage) and/or at least one electrical output load connected at a user end 116. The power transmission network 108 also includes a plurality of power transmission lines 104 for connected the above stages and/or electrical substations 102. Preferably, the distributed ESs 102 of the power transmission system 100 may form a hierarchy in the power transmission system 100. For example, the ESs may be divided into three layers or tiers, i.e., high, medium, and low voltage ESs, according to the three electric power transmission processes or stages, i.e., transmission, subtransmission, and distribution. Alternatively, the electrical substations 102 may be divided or grouped into different numbers of layers or tiers in the power transmission network 108.

    [0055] In an example operation, a fault may occur when there is a failure of receiving an input power from an original energy source in a faulty ES 102. This may include a fault in an input source such as a power station 114 or an ES 102 in a higher tier or earlier stage for supplying a power input to the one in a lower tier or a later stage, or a failure in a transmission line 104 connecting the interconnected ESs in different stages. Subsequently, without a normal input power supply, the faulty ES may fail to provide a normal output to the later stages in the power transmission network 108. If the faulty ES is located in any of the earlier stages within the power transmission network 108, all of the later stages in the power transmission network 108 may not operate normally to supply electrical power to the end users 116, and may cause a large area blackout (LAB).

    [0056] In the power transmission network 108, preferably, at least two of the plurality of the electrical substations 102 are interconnected, and preferably at least two of the plurality of the electrical substations 102 belong to a same tier of a hierarchy of the power or belong to a same stage of different branches of the power transmission system 100. In addition, the connectivity of the two interconnected electrical substations 102 is controlled by the restoration module 112, preferably by including at as an electrical switch controllable by the restoration module 112 to selectively connect the interconnected ESs that may be grouped in a same tier or stage within the power transmission network 108.

    [0057] In an exemplary embodiment, if an occurrence of a fault in an ES is detected by the detection module 110 of the controller system 106, one or more of the healthy ESs (that is different from the faulty ES) preconnected to the faulty ES in the power transmission network 108 may be selected and activated to supply electric power to the faulty ES and the fault is restored. In this example, such healthy ES(s) may be used as an auxiliary energy source that may be used to at least temporally maintain the output power of the faulty electrical substation by supplying an input power to the faulty ES upon an occurrence of the fault. Therefore, the ES in the power transmission network 108 can uninterruptedly supply electric power for its output during the fault detection and restoration and a large area blackout is avoided. More examples of the detection and restoration schemes or algorithm will be discussed in later parts of this disclosure.

    [0058] Optionally or additionally, the restoration module 112 may include an energy storage system as an additional or alternative auxiliary energy source to at least temporally maintain the power output of the faulty ES to the later stages in the power transmission network 108. Preferably, the energy storage system may be provided as a battery system which may be included in each of the ES 102 in the power transmission network 108, and may be activated by the restoration module 112 to supply a temporal energy source to the faulty ES at least for a certain period before the battery is drained empty, or when then faulty ES is powered by another auxiliary energy source such as the at least one interconnected healthy ES in the previous example.

    [0059] Preferably, the detection module 110 may be arranged to represent the plurality of the electrical substations 102 and/or power transmission network 108, as well as any transition of states associated with the power transmission and/or the conversion occurred in the electrical substations 102 and monitored by the detection module 110 of the controller system 106, as one or more petri nets. The representation may be further processed by a processing module, which may include any processor, controller or processing units such as but not limited to a programmable logic device (PLD), a (field-)programmable gate array (FPGA), application-specific integrated circuit (ASIC), etc. Such processing module may be implemented as a part of the detection module 110, or the processing module may be a standalone module in the controller system 106, or the processing module may be arranged to communicate with the controller system 106 but is not included in the controller system 106.

    [0060] In one example embodiment, the representation may involve a finite capacity Petri net. A finite capacity Petri net is a five-tuple N=(P, T, F, W, C), where P and T are finite, disjoint, and non-empty sets. P is a set of places and T is a set of transitions. F (P×T) ∪ (T×P) is a flow relation represented by arcs with arrows from places to transitions or from transitions to places. W: F.fwdarw.custom-character is a mapping that assigns a weight to an arc, where custom-character is the set of non-negative integers. C: P.fwdarw.custom-character is a mapping that assigns a capacity to a place. A finite capacity Petri net can be represented by an input matrix [N].sup.+ (p, t)=W (t, p) and an output matrix [N].sup.−(p, t)=W (p, t), where p ∈ P and t ∈ T.

    [0061] The preset of a node x ∈ P ∪ T is defined as .sup.•x={y ∈ P ∪ T|(y, x) ∈ F} and the postset of a node x ∈ P ∪ T is defined as x.sup.•=(y ∈ P ∪ T|(x, y) ∈ F). For a set of nodes X P ∪ T, .sup.•X=∪.sub.x∈X .sup.•x and X.sup.•=∪.sub.x∈X x.sup.•. |X|denotes the cardinality of X.

    [0062] A marking M of N is a mapping from P to custom-character. M (p) denotes the number of tokens in place p. Place p is marked by marking M if M (p)>0. (N, M.sub.0) is called a net system, where M.sub.0 is the initial marking of N.

    [0063] In a finite capacity Petri net, t ∈ T is enabled at marking M if ∀p ∈ {dot over ( )} t, M (p)≧W (p, t) and ∀p′ ∈ t{dot over ( )}, M (p′)≦C (p′)−W (t, p′), which is denoted as M [tcustom-character. If t fires, a new marking M′ is obtained such that ∀p″ ∈ P, M′ (p″)=M (p″)−W (p″, t)+W (t, p″), denoted by M [t) custom-characterM′. Marking M″ is called a reachable marking from M if there exists a transition sequence σ=t.sub.1 t.sub.2 . . . t.sub.n such that M [t.sub.1 custom-characterM.sub.1 [t.sub.2 custom-characterM.sub.2 . . . M.sub.1-1 [t.sub.n custom-characterM″. It is denoted by M [σcustom-characterM″. It satisfies M″=M+[N].sup.+{right arrow over (σ)}−[N].sup.−{right arrow over (σ)}, where {right arrow over (σ)}: T.fwdarw.custom-character is a vector of non-negative integers and {right arrow over (σ)} (t) represents the sum of all occurrences of t in σ. The set of reachable markings from M in N is denoted as custom-character(N, M).

    [0064] For example, let p ∈ P be a place. All transitions in {dot over ( )}p ∪ p{dot over ( )} are enabled at marking M if:

    [00001] t i * .Math. p : p t i * , M ( p ) W ( p , t i ) 1 ) C ( p ) - M ( p ) .Math. t i .Math. * .Math. p .Math. W ( t i , p ) 2 ) M ( p ) .Math. t i .Math. * .Math. p .Math. W ( p , t j ) 3 ) t j p * : p t j * , C ( p ) - M ( p ) W ( t j , p ) 4 )

    [0065] According to Eqs. (1) and (2), if all transitions in {dot over ( )}p Å p{dot over ( )} are enabled:

    [00002] C ( p ) .Math. t i .Math. * .Math. p .Math. W ( t i , p ) = .Math. t j p * .Math. W ( p , t j )

    [0066] Let t.sub.1 and t.sub.2 be two transitions, σ be a transition sequence of t.sub.1 and t.sub.2, and M be a marking. If t.sub.1 and t.sub.2 can fire at marking M:

    [0067] t.sub.1 can fire first followed by t.sub.2, denoted as σ=t.sub.1 t.sub.2,

    [0068] t.sub.2 can fire first followed by t.sub.1, denoted as σ=t.sub.2 t.sub.1 , or

    [0069] t.sub.1 and t.sub.2 can fire simultaneously, denoted as σ={t.sub.1 t.sub.2}.

    [0070] In order to describe the simultaneous events of discrete event systems in this paper, an assumption may be made as follows:

    [0071] Assumption 1: Let N be a finite capacity Petri net with N=(P, T, F, W, C), t.sub.1, t.sub.2, . . . ∈ T be n (n>1) transitions, and M be a marking of N. If t.sub.1-t.sub.n can fire at marking M, then t.sub.1-t.sub.n fire simultaneously, denoted as σ={t.sub.1 t.sub.2 . . . t.sub.n}.

    [0072] With reference to FIG. 2, there is shown a finite capacity Petri net, where {dot over ( )}t.sub.1={p.sub.1, p.sub.2}, p.sub.3.sup.••=t.sub.2.sup.•∪t.sub.3.sup.•={p.sub.4, p.sub.5}, and C (p.sub.3)=W(t.sub.1, p.sub.3)+(W (p.sub.3, t.sub.2)+W(p.sub.3 , t.sub.3))=7+(3+2)=12. The input matrix [N].sup.+ and output matrix [N].sup.− are:

    [00003] [ N ] + = ( 000 000 700 030 002 ) .Math. .Math. and .Math. [ N ] - = ( 100 200 032 000 000 ) .Math.

    [0073] At the initial marking M.sub.0=(4, 8, 5, 6, 4).sup.T, transitions t.sub.1-t.sub.3 can fire simultaneously. Let σ.sub.1={t.sub.1 t.sub.2 t.sub.3}. Then, {right arrow over (σ.sub.1)}=(1, 1, 1).sup.T. If t.sub.1-t.sub.3 fire simultaneously, a marking M.sub.1 is obtained by:

    [0074] M.sub.1=M.sub.0+[N].sup.+•{right arrow over (σ.sub.1)}−[N].sup.−•{right arrow over (σ.sub.1)}=(3, 6, 7, 9, 6).sup.T.

    [0075] At marking M.sub.1, only t.sub.3 is enabled since:

    [0076] C(p3)−M.sub.1(p3)=5<W(t.sub.1, p3)=7 and

    [0077] C (p4)−.sub.1(p4)=0<W(t.sub.2, p4)=3.

    [0078] Let σ.sub.2=t.sub.3. Therefore {right arrow over (σ.sub.2)}=(0, 0, 1).sup.T. When t.sub.3 fires, a new marking M.sub.2 is obtained by:

    [0079] M.sub.2=M.sub.1+[N].sup.+•{right arrow over (σ.sub.2)}−[N].sup.−•{right arrow over (σ.sub.2)}=(3, 6, 5, 9, 8).sup.T.

    [0080] At marking M.sub.2, only t.sub.1 is enabled. Let σ.sub.3=t.sub.1. Therefore {right arrow over (σ.sub.3)}=(1, 0, 0).sup.T. If t.sub.1 fires, a new marking M.sub.3 is obtained by:

    [0081] M.sub.3=M.sub.2+[N].sup.+•{right arrow over (σ.sub.3)}−[N].sup.−•{right arrow over (σ.sub.3)}=(2, 4, 12, 9, 8).sup.T.

    [0082] At marking M.sub.3, t.sub.1-t.sub.3 are disabled since

    [0083] C(p3)−M.sub.3(p3)=0<W(t.sub.1, p.sub.3)=7,

    [0084] C(p4)−M.sub.3(p4)=0<W(t.sub.2, p4)=3, and

    [0085] C (p5)−M.sub.3(p5)=0<W(t.sub.3, p5)=2.

    [0086] The whole processes can also be represented as:

    [0087] M.sub.3=M.sub.0+[N].sup.+•{right arrow over (σ)}−[N].sup.−•{right arrow over (σ)}=(2, 4, 12, 9, 8).sup.T,

    [0088] where σ={t.sub.1 t.sub.2 t.sub.3} t.sub.3 t.sub.1 and {right arrow over (σ)}={right arrow over (σ.sub.1)}+{right arrow over (σ.sub.2)}+{right arrow over (σ.sub.3)}=(2, 1, 2).sup.T .

    [0089] The power transmission system 100 (or sometimes referred as a tradition power transmission system (TPTS) in this disclosure) may composed of a plurality distributed ESs that have input and output lines. These ESs can be divided into three layers, i.e., high, medium, and low voltage ESs, according to the three electric power transmission processes, i.e., transmission, subtransmission, and distribution, as shown in FIG. 1. In a TPTS, the electric power is transmitted from high voltage ESs to medium voltage ESs and is continually transmitted from the medium voltage ESs to low voltage ESs. However, some of the input lines of ESs may be fragile, which may suffer from faults that should be detected and restored quickly. Moreover, large area blackouts may occur in ESs during the fault detection and restoration since the faulty ES cannot supply enough electric power for its output.

    [0090] In a TPTS, each ES may contain a battery energy storage system that can be considered as an energy storage buffer for the temporary output of the ES during the fault detection and restoration. The batteries of the battery energy storage system have a finite capacity. Therefore, a Capacity-TPTS (C-TPTS) can be defined by finite capacity Petri nets as follows.

    [0091] Definition 1: A C-TPTS is defined as a finite capacity Petri net N=(P.sub.h ∪ P.sub.m ∪ P.sub.1, T, F, W, C), where:

    [0092] 1) P.sub.h≠Ø, P.sub.mØ, and P.sub.1≠Ø are the sets of high, medium, and low voltage ESs, respectively, P.sub.h ∩ P.sub.m ∩ P.sub.1=Ø, p.sub.h.sup.T••=p.sub.m.sup.T, and p.sub.m.sup.T••=p.sub.l.sup.T.

    [0093] 2) T is the set of electric power transmission operations.

    [0094] 3) F (P.sub.h×T) ∪ (T×P.sub.m) ∪(P.sub.m×T) ∪ (T×P.sub.1) is the set of electric power transmission arcs.

    [0095] 4) ∀p.sub.h∈P.sub.h, ∃t∈T and ∃p.sub.m∈P.sub.m such that {p.sub.h}=.sup.•t and t.sup.•={p.sub.m}.

    [0096] 5) ∀p.sub.m∈P.sub.m, (a) ∃t∈T and ∃p.sub.1∈P.sub.1 such that {p.sub.m}=.sup.•t and t.sup.•={p.sub.1} and (b) there only exist a transition t′∈T and a place p.sub.h ∈ P.sub.h such that {p.sub.h}=.sup.•t′ and t′.sup.•={p.sub.m}.

    [0097] 6) ∀p.sub.1 ∈ P.sub.1, there only exist a transition t ∈ T and a place p.sub.m ∈ P.sub.m such that {p.sub.m}=.sup.•t and t.sup.•={p.sub.1}.

    [0098] 7) W: F.fwdarw.custom-character is a mapping that assigns a number of power loads to an electric power transmission arc.

    [0099] 8) C: P.fwdarw.custom-character is a mapping that assigns an electric power capacity to an ES.

    [0100] In a C-TPTS, ∀p ∈ (P.sub.h ∪ P.sub.m ∪ P.sub.1), p has input loads (denoted as p.sup.I), output loads (denoted as p.sup.O), and available loads (denoted as p.sup.A) that can be supplied to other ESs to restore faults, where p.sup.I≧p.sup.O. The power balance in p is

    [00004] p A = p I - p O = .Math. t i .Math. * .Math. p .Math. W .Math. ( t i , p ) - .Math. t j p * .Math. W ( p , t j ) . ( 4 )

    [0101] In an example embodiment with reference to FIG. 3A, there is shown a TPTS that may represent the part of West Lake Center/North Urban Center (WLC/NUC) in Tunis (Tunisia). A C-TPTS representation based on the TPTS is shown in FIG. 3B. In this example, the electric power may be transmitted from “North Urban Center” to “SCOGAT” and may be continually transmitted from “SCOGAT” to “Tunisia Leasing” in FIG. 3A. Correspondingly, the electric power is transmitted from p.sub.1 to p.sub.2 by t.sub.2 and is continually transmitted from p.sub.2 to p.sub.3 by t.sub.3 in FIG. 3B.

    [0102] Proposition 1: Let N be a C-TPTS with N=(P.sub.h ∪ P.sub.m ∪ P.sub.1, T, F, W, C), p ∈ {P.sub.h ∪ P.sub.m ∪ P.sub.1} be an ES, M.sub.0 be the initial marking of N, and M ∈custom-character (N. M.sub.0) be a marking. At marking M, a large area blackout occurs in ES p if M (p)<p.sup.0.

    [0103] Proof: At marking M, if M (p)<p.sup.0, ∃t ∈ p{dot over ( )} such that M [tcustom-character does not hold. This means that t cannot fire at marking M and ES p cannot supply electric power to its downstream ESs. Then, a large area blackout occurs in p.

    [0104] For ES p.sub.3 in FIG. 3B, p.sub.3.sup.I=5KW, p.sub.3.sup.O=3KW, and C(p.sub.3)=15KW, where KW represents kilowatts. Then, p.sub.3.sup.A=p.sub.3.sup.I−p.sub.3O=2KW. If it is assumed that M.sub.0 (p.sub.3)=C(p.sub.3), ∀M ∈custom-character (N, M.sub.0), M (p.sub.2)≧p.sub.2.sup.O, and a fault occurs in the inputlines of “Tunisia Leasing” in FIG. 3A, then t.sub.3 cannot fire to add tokens to p.sub.3 in FIG. 3B.

    [0105] With reference to FIG. 4A, there is show a situation where a fault occurs. Then, transition t.sub.4 can continually fire five times since

    [0106] M (p.sub.3)=C(p.sub.3)−5p.sub.3.sup.O=15KW−5×3KW=0KW<p.sub.3.sup.O.

    [0107] The processes of the operations are shown in FIGS. 4B and 4B. It is illustrated that ES p.sub.3 can continually supply electric power to its downstream ESs until its power loads are exhausted. During the firing of t.sub.4 for five times, the fault occurred in the input lines of p.sub.3 should be detected and restored. Otherwise, a large area blackout will be caused. The fault occurrence evolution is illustrated in FIG. 4D.

    [0108] Preferably, a model of supervisors may be implemented to detect faults for ESs by using finite capacity Petri nets. The detection module 110 may be arranged to detect the occurrence of the fault by monitoring variations of the input power and the output power, as well as the associated transitions, of the plurality of ESs 102.

    [0109] In one example embodiment, the detection module 110 further comprises an electrical sensing module 118 arranged to obtain electrical parameters associated with the input power and the output power of the plurality of ESs 102, and the detection module 110 may compare the monitored/obtained parameter associated with the input power, the output power and the transitions monitored by the detection module 110 with a predetermined threshold, such that the detection module 110 may determine the occurrence of the fault based on a comparison result associated with the compared monitored parameter and the predetermined threshold.

    [0110] In the following example, the electric power variations of each ES are supervised by a corresponding supervisor.

    [0111] Property 1: Let N be a C-TPTS, p∈ (P.sub.h ∪ P.sub.m ∪ P.sub.1) be an ES, t∈T be a transition such that {t}={dot over ( )}p, σ be a transition sequence such that ∀t.sub.i∈p{dot over ( )}, {right arrow over (σ)}(t.sub.i)=1, and M.sub.1, M.sub.2 ∈custom-character (N, M.sub.0) be two markings such that ∀p.sub.i∈{dot over ( )}t, M.sub.l(p.sub.i)≧W (p.sub.i , t), M.sub.2(p.sub.i)≧W (p.sub.i, t), C(p)−M.sub.1(p)≧p.sup.I, and M.sub.1 [σcustom-characterM.sub.2, where M.sub.0 is the initial marking. A fault that occurs in the input lines of p can be detected at M.sub.2 if:


    C(p)−M.sub.2(p)≧p.sup.I+p.sup.O   (5)

    [0112] Proof: Since M.sub.1 [σcustom-characterM.sub.2, M.sub.2 (p)=M.sub.1 (p)+p.sup.I−p.sup.O.

    [00005] .Math. By .Math. .Math. C ( p ) - M 1 ( p ) p I , .Math. C ( p ) - M 2 ( p ) = C ( p ) - M 1 ( p ) - p I + p O p I - σ .fwdarw. ( t ) .Math. W ( t , p ) + p O = p I + p O - σ .fwdarw. ( t ) * W ( t , p ) .

    [0113] Eq. (5) holds if {right arrow over (σ)}(t)=0. This means that t cannot fire at marking M.sub.1. However, t is enabled at marking M.sub.1 since ∀p.sub.i ∈ {dot over ( )}t, M.sub.1 (p.sub.i)≧W (p.sub.i, t), and C(p)−M.sub.1 (p)≧W (t, p). Therefore, it is ensured that a fault occurs in the input lines of p and the fault can be detected at marking M.sub.2.

    [0114] According to Property 1, ∀p ∈ (P.sub.h ∪ P.sub.m ∪ P.sub.1), a fault that occurs in the input lines of p can be detected by monitoring the variation, i.e., C(p)−M (p), where M∈ custom-character(N, M.sub.0) and M.sub.0 is the initial marking of N.

    [0115] With reference to FIG. 4A, M.sub.0(p.sub.3)=C(p.sub.3)=15KW. At marking M.sub.0, it may not be determined that a fault occurs in the input lines of p.sub.3. However, it may be determined that only t.sub.4 is enabled since C(p.sub.3)−M.sub.0 (p.sub.3)<W (t.sub.3, p.sub.3) When t.sub.4 fires, thus:

    [0116] M.sub.1 (p.sub.3)=M.sub.0 (p.sub.3)−p.sub.3.sup.O=12KW,

    [0117] where M.sub.1 is a marking. Similarly, only t.sub.4 is enabled at marking M.sub.1 and t.sub.3 is disabled since C (p.sub.3)−M.sub.1 (p.sub.3)<W(t.sub.3, p.sub.3). When t.sub.4 fires,

    [0118] M.sub.2(p.sub.3)=M.sub.1(p.sub.3)−p.sub.3.sup.O=9KW,

    [0119] where M.sub.2 is a marking. At marking M.sub.2, t.sub.3 and t.sub.4 are enabled since C(p.sub.3)−M.sub.2 (p.sub.3)=6>W (t.sub.3, p.sub.3)=5. If they fire, then

    [0120] M′.sub.3(p.sub.3)=M.sub.2 (p.sub.3)+p.sub.3.sup.I−p.sub.3.sup.O=11Kw,

    [0121] where M′.sub.3 is a marking. At marking M.sub.2, it is assumed that a fault occurs in the input lines of p.sub.3 (this means that t.sub.3 cannot fire to add tokens to p.sub.3). Therefore, only t.sub.4 can fire at marking M.sub.2. When t.sub.4 fires,

    [0122] M′.sub.3(p.sub.3)=M.sub.2 (p.sub.3)−p.sub.3.sup.O=6KW,

    [0123] where M′.sub.3 is a marking. It is observed that:

    [0124] p.sub.3.sup.I>C(p.sub.3)−M.sub.l(p.sub.3)=3KW<p.sub.3.sup.I+p.sub.3.sup.O=8KW,

    [0125] p.sub.3.sup.I<C(p.sub.3)−M.sub.2(p.sub.3)=6KW<p.sub.3.sup.I+p.sub.3.sup.O=8KW,

    [0126] p.sub.3.sup.I<C(p.sub.3)−M′.sub.3(p.sub.3)=4KW<p.sub.3.sup.I+p.sub.3.sup.O=8KW, and

    [0127] p.sub.3.sup.I<C(p.sub.3)−M.sub.3(p.sub.3)=9KW>p.sub.3.sup.I+p.sub.3.sup.O=8 KW.

    [0128] At markings M.sub.0, M.sub.1, M.sub.2, and M′, it is not sure whether t.sub.3 has fired. At marking M.sub.3, it is sure that t.sub.3 does not fire. Therefore, the fault that occurs in the input lines of p.sub.3 can be detected by monitoring the variation, i.e., C (p3)−M (p.sub.3), where M ∈custom-character (N, M.sub.0)

    [0129] As discussed earlier, to detect faults in an ES, electric current sensor may be used to detect the electric power variation of the ES. If a fault is detected, a message may be sent to an electric controller to restore the fault.

    [0130] Definition 2: Let N be a C-TPTS with N=(P.sub.h ∪ P.sub.m ∪ P.sub.1, T, F, W, C) and p.sub.k ∈ (P.sub.h ∪ P.sub.m ∪ P.sub.1) be an ES. The supervisor of p.sub.k is defined as a finite capacity Petri net N.sub.s.sup.pk=({p.sub.k.sup.s, p.sub.k.sup.e}, {dot over ( )}p.sub.k ∪p.sub.k {dot over ( )} ∪ {t.sub.k.sup.d}, F.sub.k, W.sub.k, C.sub.k), where

    [0131] 1) p.sub.k.sup.s is an electric current sensor and p.sub.k.sup.e is an electric controller.

    [0132] 2) t.sub.k.sup.d is a fault detecting operation.

    [0133] 3) F.sub.k=F.sub.k.sup.i ∪F.sub.k.sup.j ∪ {(p.sub.k.sup.s, t.sub.k.sup.d), (t.sub.k.sup.d, p.sub.k.sup.s), (t.sub.k.sup.d, p.sub.k.sup.e)} is the flow relation, where

    [0134] F.sub.k.sup.i=∪.sub.t.sub.i.sub.∈•p.sub.k{(p.sub.k.sup.s, t.sub.i)} and F.sub.k.sup.4=∪.sub.t.sub.j.sub.∈p.sub.k.sub.{(t.sub.j, p.sub.k.sup.s.sub.s)}.

    [0135] 4) W.sub.k: F.sub.k.fwdarw.custom-character is a mapping, where

    [00006] W k ( f ) = { W ( ( t i , p k ) ) , f = ( p k s , t i ) , t i .Math. * .Math. p k , W ( ( p k , t j ) ) , f = ( t j , p k s ) , t j .Math. * .Math. p k * , p k I + p k o , f { ( p k s , t k d ) , ( t k d , p k s ) } , 1 , f = ( t k d , p k e ) .

    [0136] 5) C.sub.k: {p.sub.k.sup.s, p.sub.k.sup.e} .fwdarw.custom-character is a mapping, where C.sub.k (p.sub.k.sup.s)=C (p.sub.k) and C.sub.k (p.sub.k.sup.e)=2.

    [0137] Definition 3: Let N be a C-TPTS with N=(P.sub.h ∪ P.sub.m ∪ P.sub.1, T, F, W, C) and N.sub.s.sup.p1, N.sub.s.sup.p2, . . . and N.sub.s.sup.pn be n supervisors with N.sub.s.sup.pk=({p.sub.k.sup.s, p.sub.k.sup.e}, •p.sub.k ∪p.sub.k.sup.•) ∪ {t.sub.k.sup.d}, F.sub.k, W.sub.k, C.sub.k), where N.sub.s.sup.pk is the supervisor of p.sub.k, p.sub.k ∈ (P.sub.h ∪ P.sub.m ∪ P.sub.1), n=|P.sub.n ∪ P.sub.m ∪ P.sub.1|, and 1≦k≦n. A supervised C-TPTS is defined as a finite capacity Petri net N..sub.sc=(P.sub.sc ∪ P.sub.scs ∪ P.sub.sce, T.sub.sc, F.sub.sc, W.sub.sc, C.sub.sc), where

    [0138] 1) P.sub.sc=(P.sub.h ∪ P.sub.m ∪ P.sub.1),

    [0139] 2) P.sub.scs=∪.sub.k=1.sup.P.sup.h.sup.∪ P.sup.m.sup.∪ P.sup.l.sup.|{p.sub.k.sup.s},

    [0140] 3) P.sub.sce=∪.sub.k=1.sup.|P.sup.h.sup.∪ P.sup.m.sup.∪ P.sup.l.sup.51 {p.sub.k.sup.e},

    [0141] 4) T.sub.sc=T ∪(∪.sub.k=1.sup.|P.sup.h.sup.∪ P.sup.m .sup.∪ P.sup.l.sup.|{t.sub.k.sup.d}), and□

    [0142] 5) α.sub.sc=α ∪(∪.sub.k=1.sup.|P.sup.h.sup.∪ P.sup.m.sup.∪ P.sup.l.sup.|α.sub.k). ∀α ∈ {F, W, C}.□

    [0143] With reference to FIGS. 5A to 5C, an ES p.sub.k, the supervisor N.sub.s.sup.pk of p.sub.k, and the combined system that is constructed by p.sub.k and N.sub.s.sup.pk, respectively. Referring to FIG. 5C, M.sub.0=(n, 0, 0).sup.T is the initial marking. p.sub.k and p.sub.k.sup.s.sub.cmay construct a P-invariant (the total number of tokens in p.sub.k and p.sub.k.sup.sis an invariant). Then, ∀M ∈custom-character (N, M.sub.0), and


    M(p.sub.k)+M(p.sub.k.sup.s)=M.sub.0(p.sub.k)=C(p.sub.k)   (6)

    [0144] Thus, M(p.sub.k.sup.s)=C(p.sub.k)−M(p.sub.k) is true. According to Property 1, a fault occurring in the input lines of p.sub.k can be detected at marking M if


    M(p.sub.k.sup.s)≧p.sub.k.sup.I+p.sub.k.sup.O   (7)

    [0145] Property 2: Let N.sub.ac be a supervised C-TPTS, p.sub.k∈ P.sub.sc be an ES that is controlled by its supervisor N.sub.s.sup.pk , and M be a marking of N.sub.sc. ∃M′ ∈custom-character (N.sub.sc, M), M′ (p.sub.k.sup.e)≧1 if

    [0146] C(p.sub.k)−M(p.sub.k)≧p.sub.k.sup.I+p.sub.k.sup.O.

    [0147] Proof: At marking M, if C(p.sub.k)−M(p.sub.k)≧p.sub.k.sup.I+p.sub.k.sup.O, M(p.sub.k.sup.s)=C(p.sub.k)−M(p.sub.k)≧p.sub.k.sup.I+p.sub.k.sup.O according to Eq. (6). Therefore, t.sub.k.sup.d is enabled at M since M(p.sub.k.sup.s)≧W(p.sub.k.sup.s, t.sub.k.sup.d). Let σ be a transition sequence such that {right arrow over (σ)}(t.sub.k.sup.d)=1. Then, ∃ M′∈custom-character(N.sub.sc, M) such that M [σcustom-characterM′ holds.

    [00007] .Math. M ( p k e ) = .Math. M ( p k e ) + σ .fwdarw. ( t k d ) * W ( t k d , p k e ) = .Math. M ( p k e ) + σ .fwdarw. ( t k d ) = .Math. M .Math. ( p k e ) + 1 1

    [0148] where M (p.sub.k.sup.e)≧0.

    [0149] According to Property 2, a fault that occurs in the input lines of p.sub.k is detected by the supervisor of p.sub.k if M (p.sub.k.sup.e)≧1. With reference to FIG. 6A, there is provided an example embodiment of a combined system of an ES p.sub.3 of FIG. 4A and its supervisor. Let M.sub.0=(15, 0, 0).sup.Y be the initial marking with C(p.sub.3)=M.sub.0(p.sub.3)=15. A fault occurs in the input lines of p.sub.3 (t.sub.3 cannot fire at all markings). After t.sub.4 fires three times, a new marking M.sub.1=(6, 9, 0).sup.T is reached by M.sub.0 [t.sub.4 t.sub.4 t.sub.4custom-characterM.sub.1. Then

    [0150] M.sub.1 (p.sub.3.sup.s)=C(p.sub.3)−M.sub.1(p.sub.3)=9>p.sub.3.sup.I+p.sub.3.sup.O=8.

    [0151] Then, referring to FIG. 6B, the fault can be detected at marking M.sub.1 (Eq. (7)). In its supervisor, W (p.sub.3.sup.s, t.sub.3.sup.d)=p.sub.3.sup.I+p.sub.3.sup.O=8. Then, t.sub.3.sup.d and t.sub.4 are enabled at marking M.sub.1. Therefore, a new marking M.sub.2=(3, 12, 1).sup.T is obtained by M.sub.1 [{t.sub.4t.sub.3.sup.d}custom-characterM.sub.2. Referring to FIG. 6C, at M.sub.2, the fault is detected since M.sub.2 (p.sub.3.sup.e)=1 (Property 2).

    [0152] Preferably, faults detected by the detection module 110 may be restored by the restoration module 112. In order to avoid large area blackouts during fault detection and restoration, the capacities for ESs 102 and their battery energy storage systems is estimated.

    [0153] Let N.sub.sc be a supervised C-TPTS. ∀ p.sub.k ∈ P.sub.sc, there may exist an ES p.sub.1∈ P.sub.sc such that p.sub.k≠p.sub.1 and p.sub.k is preconnected with p.sub.1 by emergency lines and an electric switch if


    p.sub.l.sup.I−p.sub.l.sup.O=p.sub.l.sup.A≧p.sub.k.sup.O   (8)

    [0154] where the electric switch that is opened at initial states is controlled by the electric controller p.sub.k.sup.e n the supervisor of p.sub.k. The preconnected ES p.sub.1 is called the solution of p.sub.k. ES p.sub.k may have several solutions. With reference to FIG. 7A, the preconnection between p.sub.k and p.sub.1 is illustrated, where t.sub.k.sup.e is an electric switch that is controlled by p.sub.k.sup.e. Therefore, ∀M ∈custom-character (N.sub.sc, M.sub.0) (M.sub.0 is the initial marking of N.sub.sc), p.sub.1 can supply electric power to p.sub.k if M(p.sub.4.sup.e)≧1 (this represents that the corresponding electric switch between p.sub.l and p.sub.k is closed at marking M).

    [0155] Definition 4: Let N.sub.sc be a supervised C-TPTS with N.sub.sc=(P.sub.sc ∪ P.sub.scs ∪ P.sub.sce, T.sub.sc, F.sub.sc, W.sub.sc, C.sub.sc). An intelligent C-TPTS is defined as a finite capacity Petri net N.sub.ic=(P.sub.ic ∪ P.sub.ics ∪ P.sub.ice, T.sub.ic ∪ T.sub.ew, F.sub.ic, W.sub.ic, C.sub.ic, E.sub.ic), where

    [0156] 1) P.sub.ic=P.sub.sc, P.sub.ics=P.sub.scs, P.sub.ice=P.sub.sce, T.sub.ic=T.sub.sc, and C.sub.ic=C.sub.sc.

    [0157] 2) T.sub.ew is a set of electric switches.

    [0158] 3) E.sub.ic (P.sub.ic×T.sub.ew×P.sub.ic) is the set of emergency supply relation, where ∀(p.sub.k, t.sub.k.sup.e, p.sub.1) ∈ E.sub.ic, p.sub.l is the solution of p.sub.k (p.sub.k ∈ P.sub.ic, t.sub.k.sup.e∈ T.sub.ew, and p.sub.1 ∈ P.sub.ic).

    [0159] 4) F.sub.ic=F.sub.sc ∪ F.sub.ew, where

    [0160] F.sub.ew=∪.sub.∀(p.sub.k.sub.,t.sub.k.sub.e.sub.,pl)∈E.sub.ic{(p.sub.k.sup.s, t.sub.k.sup.c), (p.sub.k.sup.e, t.sub.k.sup.e), (t.sub.k.sup.e, p.sub.k), (p.sub.l, p.sub.k.sup.c0}, p.sub.l.sup.s∈ P.sub.scs, and p.sub.k.sup.e ∈ P.sub.sce.

    [0161] 5) W.sub.ic=W.sub.sc ∪ W.sub.cw, where ∀ (p.sub.k, t.sub.k.sup.e, p.sub.1) ∈ E.sub.ic such that W.sub.ew ((p.sub.k.sup.s, t.sub.k.sup.e))=W.sub.ew ((t.sub.k.sup.e, p.sub.k)=W.sub.ew ((p.sub.l, p.sub.k.sup.e))=p.sub.k.sup.O and W.sub.ew ((p.sub.k.sup.e, t.sub.k.sup.e))=1, where p.sub.k.sup.s∈ P.sub.scs and p.sub.k.sup.e.sub.e∈ P.sub.sce.

    [0162] With reference to FIG. 7B, there is provided an example embodiment of a combinational structure of an ES p.sub.k, a solution of p.sub.k, and the supervisor of p.sub.k in an intelligent C-TPTS. (p.sub.k, t.sub.k.sup.e, p.sub.10 ∈ E.sub.ic is an emergency supply relation. The intelligent C-TPTS has the property of automatic fault detection and restoration. Then, solution p.sub.1 can supply electric power to p.sub.k to restore a fault if the fault is detected by the supervisor of p.sub.k.

    [0163] In order to avoid a large area blackout in an intelligent C-TPTS, each battery energy storage system of an ES should have suitable capacity to store enough power to maintain the output of the ES during the fault detection and restoration.

    [0164] Definition 5: Let custom-character be the set of real numbers and custom-character be the set of integers. ┌x┐: custom-character.fwdarw.custom-character is a ceiling function such that

    [0165] ┌x┐=min {n ∈custom-character x≦n}, where x ∈custom-character.

    [0166] For example, ┌2.1┐=3, ┌2.9┐=3, and ┌2┐=2.

    [0167] Theorem 1: Let N.sub.ic be an intelligent C-TPTS, p.sub.k ∈ P.sub.ic be an ES, N.sub.s.sup.pk be the supervisor of p.sub.k, p.sub.1 be a solution of p.sub.k, and M.sub.0 be the initial marking of N.sub.ic such that M.sub.0 (p.sub.k)=C(p.sub.k). The large area blackouts occurred in p.sub.k can be avoided if

    [00008] { m = .Math. ( p k I + p k O ) .Math. / .Math. p k O .Math. , m C ( p k ) ( m + 2 ) .Math. p k O , ( 9 )

    [0168] Proof: Let σ.sub.1 be a transition sequence and (t.sub.i)={dot over ( )}p.sub.k. If a fault occurs in the input lines of p.sub.k, then {right arrow over (σ.sub.1)} (t.sub.i)=0. It is assumed that ∀ t.sub.j ∈ p.sub.k.sup.•, {right arrow over (σ.sub.1)} (t.sub.j)=m, where m=┌(p.sub.k.sup.I+p.sub.k.sup.O)/p.sub.k.sup.O┐ and m ∈custom-character.

    [0169] According to Property 1, ∃M.sub.1 ∈custom-character(N.sub.ic, M.sub.0) such that C(p.sub.k)−M.sub.1(p.sub.k)≧p.sub.k.sup.O+p.sub.k.sup.O and M.sub.0[σ.sub.1|M.sub.1. Then, the fault can be detected at marking M.sub.1 by supervisor N.sub.s.sup.pk=({p.sub.k.sup.s, p.sub.k.sup.e}, {dot over ( )}p.sub.k ∪ p.sub.k.sup.•∪ {t.sub.k.sup.d}, F.sub.k, W.sub.k, C.sub.k).

    [00009] M 1 ( p k ) = .Math. M 0 ( p k ) + σ .fwdarw. 1 ( t i ) * W ( t i , p k ) - .Math. t j p k * .Math. σ .fwdarw. 1 ( t i ) * W ( t i , p ) = .Math. M 0 ( p k ) - .Math. t j p k * .Math. m .Math. W ( p k , t j ) = .Math. M 0 ( p k ) - m .Math. p k O .

    [0170] Let σ.sub.2 be a transition sequence such that {right arrow over (.sub.1)}(t.sub.i)=0, ∀t.sub.j∈p.sub.k.sup.•, {right arrow over (σ.sub.1)}(t.sub.j)=1, and {right arrow over (σ.sub.1)}(t.sub.k.sup.d)=1. According to Property 2, ∃M.sub.2 ∈custom-character(N.sub.ic, M.sub.1) such that M.sub.2 (p.sub.k.sup.p)≧1 and M.sub.1 [σ.sub.2custom-characterM.sub.2. Then, the fault is detected by the supervisor N.sub.s.sup.pk at marking M.sub.2.

    [00010] M 2 ( p k ) = .Math. M 1 ( p k ) + σ .fwdarw. 1 ( t i ) * W ( t i , p k ) - .Math. t j p k * .Math. σ .fwdarw. 1 ( t i ) * W ( p k , t j ) = .Math. M 1 ( p k ) - .Math. t j p k * .Math. m .Math. W ( p k , t j ) = .Math. M 1 ( p k ) - p k O - M 0 ( p k ) - ( m + 1 ) .Math. p k O .

    [0171] The ES p.sub.1 is the solution of p.sub.k and the electric switch between p.sub.1 and p.sub.k is controlled by p.sub.k.sup.e. Therefore, p.sub.1 begins to supply electric power to p.sub.k since the electric switch is closed at marking M.sub.2, i.e., M.sub.2 (p.sub.k.sup.e)≧1. In order to avoid large area blackouts in p.sub.k, ∀M ∈custom-character(N.sub.ic, M.sub.0), M (p.sub.k)≧p.sub.k.sup.O. Therefore,

    [0172] M.sub.2(p.sub.k)=M.sub.0(p.sub.k)+(m+1)p.sub.k.sup.Ocustom-characterM.sub.0(p.sub.k)≧(m+2)p.sub.k.sup.O.

    [0173] Since M.sub.0(p.sub.k)=C(p.sub.k), □

    [00011] { m = .Math. ( p k I + p k O ) .Math. / .Math. p k O .Math. , m C ( p k ) ( m + 2 ) .Math. p k O ,

    [0174] According to Theorem 1, ∀ p.sub.k ∈ P.sub.ic, if p.sub.k is supervised by a supervisor, the faults that occur in the input lines of p.sub.k can be detected. If p.sub.k has a solution, the fault that is detected by its supervisor can be restored. If the capacity of battery energy storage system in p.sub.k satisfies Eq. (9), large area blackouts that may be caused by the faults can be avoided during the fault detection and restoration.

    [0175] In yet another example embodiment, with reference to FIG. 3B, it may be assumed that p.sub.3.sup.I=5KW (kilowatts), p.sub.3.sup.O=3KW, p.sub.4.sup.I=7KW, and p.sub.4.sup.O32 4KW. Then, p.sub.4.sup.A=p.sub.4.sup.I−p.sub.4.sup.O=3KW and m=┌(p.sub.3.sup.I+p.sub.3.sup.O)/p.sub.3.sup.O┐=┌8/31┐=3. Thus,

    [0176] C(p.sub.3)≧(m+2)p.sub.3.sup.O=(3+2)3 KW=15 KW.

    [0177] Let C(p.sub.3)=15 KW. Similarly, C(p.sub.4)=20 KW and p.sub.4 is a solution of p.sub.3 by p.sup.1.sub.4.sup.A=p.sub.3.sup.O, as illustrated in FIG. 8A. If a fault occurs in the input lines of p.sub.3 (this means that t.sub.3 cannot fire to add tokens to p.sub.3), the fault should be detected by the supervisor of p.sub.3 and be restored by its solution p.sub.4. Referring to FIG. 8B, there is shown the combined system. The initial marking is M.sub.0=(15, 20, 0, 0).sup.T and the input and output matrices are

    [00012] [ N ] + = ( 500003 007000 030080 0000100 ) .Math. .Math. and .Math. [ N ] - = ( 030000 000403 500083 000001 ) .Math.

    [0178] At marking M.sub.0, t.sub.4 and t.sub.6 are enabled and t.sub.5 is disabled due to C(p.sub.4)−M.sub.0(p.sub.4)=0<W(t.sub.5, p.sub.4)=7. Let σ.sub.1=(t.sub.4 t.sub.6), {right arrow over (σ.sub.1)}=(0, 1, 0, 1, 0, 0).sup.T. When t.sub.4 and t.sub.6 fire,

    [0179] M.sub.1=M.sub.0 +[N].sup.+•{right arrow over (σ.sub.1)}−[N].sup.−•{right arrow over (σ.sub.1)}=(12, 16, 3, 0).sup.T,

    [0180] where M.sub.1 is a new marking. At marking M.sub.1, t.sub.4 and t.sub.6 are enabled and t.sub.5 is disabled by C(p.sub.4)−M.sub.1(p.sub.4)=4<W (t.sub.5, p.sub.4)=7.

    [0181] Let σ.sub.2={t.sub.4 t.sub.6}. Then, {right arrow over (σ.sub.2)}=(0, 1, 0, 1, 0, 0).sup.T. When t.sub.4 and t.sub.6 fire,

    [0182] M.sub.2=M.sub.1+[N].sup.+•{right arrow over (σ.sub.2)}−[N].sup.−•{right arrow over (.sub.2)}=(9, 12, 6, 0).sup.T,

    [0183] where M.sub.2 is a new marking. At marking M.sub.2, t.sub.4, t.sub.5, and t.sub.6 are enabled by C(p.sub.4)−M.sub.2(p.sub.4)=8>W(t.sub.5, p.sub.4)=7. Let σ.sub.3={t.sub.4t.sub.5t.sub.6}. Then, {right arrow over (σ.sub.3)}=(0, 1, 1, 1, 0, 0).sup.T. When t.sub.4, t.sub.5, and t.sub.6 fire,

    [0184] M.sub.3=M.sub.2+[N].sup.+•{right arrow over (σ.sub.3)}−[N].sup.−•{right arrow over (σ.sub.3)}=(6, 15, 9, 0).sup.T,

    [0185] where M.sub.3 is a new marking. The marking M.sub.3 is illustrated in FIG. 8C. At marking M.sub.3, t.sub.4, t.sub.6, and t.sub.3.sup.d are enabled. Let σ.sub.4={t.sub.4t.sub.6t.sub.3.sup.e}, {right arrow over (σ.sub.4)}=(0, 1, 0, 1, 1, 0).sup.T. When t.sub.4, t.sub.6, and t.sub.3.sup.d (the fault is detected) fire,

    [0186] M.sub.4=M.sub.3+[N].sup.+•{right arrow over (σ.sub.4)}−[N].sup.−•{right arrow over (σ.sub.4)}=(3, 11, 12, 1).sup.T,

    [0187] where M.sub.4 is a new marking. The marking M.sub.4 is illustrated in FIG. 8D. At marking M.sub.4, t.sub.4, t.sub.5, t.sub.6, t.sub.3.sup.d, and t.sub.3.sup.e are enabled. Let σ.sub.5={t.sub.4t.sub.5t.sub.6 t.sub.3.sup.e}, {right arrow over (σ.sub.5)}=(0, 1, 1, 1, 1, 1).sup.T. When t.sub.4, t.sub.5, t.sub.6, t.sub.3.sup.d, and t.sub.3.sup.e fire,

    [0188] M.sub.5=M.sub.4 +[N].sup.+•{right arrow over (σ.sub.5)}−[N].sup.−•{right arrow over (σ.sub.5)}=(3, 11, 12, 1).sup.T=M.sub.4,

    [0189] where M.sub.5 is a new marking. Then, ∀M ∈ custom-character (N.sub.ic, M.sub.4) t.sub.4, t.sub.5, t.sub.6 , and t.sub.3.sup.e are enabled. When they fire,

    [0190] M=M.sub.4+[N].sup.+•{right arrow over (σ)}−[N].sup.−•{right arrow over (σ)}=M.sub.4,

    [0191] where σ is a transition sequence such that σ=σ.sub.5 and {right arrow over (σ)}={right arrow over (σ.sub.5)}. The entire processes are illustrated in FIG. 8E. Therefore, the electric power of p.sub.3 can be supplied from p.sub.4. The fault is restored and a large area blackout is avoided.

    [0192] These embodiments are advantageous in that the controller systems may prevent large area blackouts by automatically detect and restore a fault occurred in a power transmission network of a power transmission system.

    [0193] Each ES in a TPTS may be supervised by a corresponding supervisor. The electric power variations of the ES are monitored by the supervisor of the ES, and the supervisor may detect faults that occur in the input lines of the ES.

    [0194] Advantageously, the ES may be preconnected with other ESs such that these preconnected ESs may supply electric power to the faulty ES to restore the faults. In addition, the ES may also contain a battery energy storage system to store electric power for the temporary output of the ES during its fault detection and restoration. Therefore, large area blackouts are avoided with the temporary supply of the battery energy storage system.

    [0195] Moreover, the TPTS may be formally modelled and represented by Petri nets and the correctness of the fault detection and restoration is verified by the mathematical analysis methods of Petri nets. For example, the controller system may be simulated by IEC 61499 and may be implemented in PLCs (Programmable Logic Controllers) to construct a virtual smart grid. The correctness of the fault detection and restoration may then be verified by analyzing such a virtual smart grid.

    [0196] It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.

    [0197] Any reference to prior art contained herein is not to be taken as an admission that the information is common general knowledge, unless otherwise indicated.