METHOD FOR DETERMINING A QUANTITY OF GAS CONTAINED IN AN INSULATED SWITCHGEAR

Information

  • Patent Application
  • 20240377238
  • Publication Number
    20240377238
  • Date Filed
    May 02, 2024
    6 months ago
  • Date Published
    November 14, 2024
    8 days ago
Abstract
A method for determining a quantity of a gas contained in a tank of a gas insulated switchgear. The method includes during a calibration phase: (i) acquiring a plurality of successive sets of calibration samples comprising a gas pressure, a gas temperature and an ambient temperature, (ii) for each set of calibration samples, determining a corrected gas temperature from a model and (iii) determining a gas quantity contained in the tank from a gas state equation and from the determined corrected gas temperature. The method further includes during a measurement phase: (v) determining a corrected gas temperature from the model and from an acquired gas temperature, gas pressure and ambient temperature, and (vi) determining the quantity from the gas state equation and from the determined corrected gas temperature.
Description
TECHNICAL FIELD

This disclosure relates to medium voltage electrical distribution systems, and more particularly to a method for determining the quantity of the gas contained in the tank of a gas insulated switchgear. In addition, this method of gas quantity determination can serve as a basis for a tank leak detection method.


BACKGROUND ART

Gas insulated switchgears include a connection/disconnection element for one or several phases of a medium voltage electrical network. This connection/disconnection element is installed in a tank filled with gas. The dielectric properties of the gas help to assist the arc switching or to provide electrical insulation between the different phases of the electrical network. The tank and all its interfaces are sealed, so that the tank doesn't need to be replenished throughout the useful life of the equipment. The gas contained in the tank may for example be an inert gas like sulfur hexafluoride SF6. In other applications, the gas can also be pressurized air.


It is known to monitor the quantity of the gas contained in the tank by measuring its temperature and pressure. For this, a sensor with a pressure sensing probe and a temperature sensing probe is fixed in an interface plug fixed to a tank panel. The sensing elements are thus in contact with the gas inside the tank. The quantity of the gas can therefore be calculated and monitored during the operation of the switchgear from the pressure and temperature measurements. The correct operation of the electrical equipment can be checked from this quantity monitoring. For example, a drop in gas quantity may indicate a premature leakage of the tank, that may require maintenance operation for correction.


The detection of a small leak can be difficult. A small leak causes by its very nature a slow decrease in gas quantity. For example, a pressure drop from 1.2 bar to 1.1 bar can take several weeks or months and still needs to be detected. In addition, the pressure inside the tank is influenced by the temperature of the gas, which is itself influenced by the ambient temperature, and by the intensity of the current in the electrical conductors. Internal pressure and temperature of the tank are therefore influenced by the operating conditions of the electrical equipment. As the gas pressure and temperature sensors are located on the external walls of the tank, the measured temperature may not be representative of the real gas temperature. In addition, the temperature of the gas contained in the tank may not be homogeneous and temperature gradients may exist. Therefore, the accuracy of the gas quantity calculation required to detect a low level of leakage may be difficult to achieve.


The present disclosure proposes a method for estimating gas quantity in a gas-filled tank with an improved accuracy. A leakage detection method using the method for estimating gas quantity is also proposed.


SUMMARY

To this end, it is proposed a method for determining a quantity of a gas contained in a tank of a gas insulated switchgear, the tank comprising an embedded gas temperature sensor and an embedded gas pressure sensor,

    • the method comprising the following steps during a calibration phase:
    • (i) acquiring a first plurality of successive sets of calibration samples, each set of calibration samples comprising a gas pressure measured by the embedded gas pressure sensor, a gas temperature measured by the embedded gas temperature sensor and an ambient temperature measured by an ambient temperature sensor outside the tank,
    • (ii) for a second plurality of sets of calibration samples comprised in the first plurality of sets of calibration samples, determine a gas quantity contained in the tank from a gas state equation based on the acquired gas pressure, and on a corrected gas temperature model based on the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,
    • (iii) update the corrected gas temperature model so as to minimize a difference between the gas quantities determined for each set of calibration samples is minimized,
    • the method further comprising the following steps during a measurement phase:
    • (iv) acquiring a gas temperature measured by the embedded gas temperature sensor, a gas pressure measured by the embedded pressure temperature sensor, and an ambient temperature measured by an ambient temperature sensor outside the tank,
    • (v) determining a corrected gas temperature from the corrected gas temperature model and from the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,
    • (vi) determining the quantity of gas from the gas state equation and from the acquired gas pressure and the determined corrected gas temperature.


During the calibration phase, whose duration is negligible compared to the expected service life of the switchgear, the tank is considered to be perfectly sealed, and the quantity of gas contained in the tank is therefore assumed to be constant. Possible discrepancies between the gas quantities determined for the successive calibration samples don't come from any real leakage, but come from the fact that the measured gas temperature is not fully representative of the actual gas temperature inside the tank. Therefore, a corrected gas temperature can be determined by applying a constraint that the determined gas quantity has to be identical for all the set of samples that are acquired during the calibration phase. The corrected gas temperature is the temperature for which the gas quantity predicted by the gas state equation is identical for the all the sets of calibration samples, or at least for which the discrepancies between the gas quantities are minimal. Once the model for determination of this corrected gas temperature has been determined, the same model is also applied during the measurement phase. Using this gas temperature model increases the accuracy of the gas quantity calculation compared to a method based only on the raw measurements of the different sensors. As the model is extracted from a limited number of experimental data, it is easy to calibrate and can quickly be adapted to any gas tank/temperature sensors configurations. The method doesn't need any additional sensor to be fitted during the calibration phase, therefore the electrical equipment in which the tank is integrated can remain in its original configuration without any modification, even temporary. The calibration phase, also called learning phase, can be carried out when the gas insulated switchgear is in new condition and is commissioned for being put in service. The calibration phase can also be repeated after every major maintenance operation performed on the equipment.


The following features can optionally be implemented, separately or in combination one with the others:


The measurement phase follows the calibration phase. In other words, the calibration phase is performed before the measurement phase is carried out.


The measurement phase is a monitoring phase that may be carried out throughout the service life of the switchgear.


The measurement phase may be carried out continuously.


Alternatively, the measurement phase may be carried out at different time intervals.


The calibration phase comprises a sub-step of checking of the tank tightness.


At each acquisition of a set of samples, the gas pressure measured by the embedded gas pressure sensor, the gas temperature measured by the embedded gas temperature sensor and the ambient temperature measured by an ambient temperature sensor outside the tank are acquired simultaneously.


The volume of the tank is constant.


The quantity of the gas encompasses closely related physical parameters that may be the gas number of moles, or the gas mass. It also encompasses the gas density since the internal volume of the tank is kept constant.


At step (iii), the model may be updated so that the gas quantity determined for each set of samples is the same.


The first plurality of successive sets of calibration samples comprises at least three samples.


In an embodiment, the calibration phase comprises the steps:

    • (iii-a1) if at step (iii) the difference between the gas quantity determined for each set of calibration samples is inferior to a first predefined threshold, end the calibration phase,
    • (iii-a2) if at step (iii) the difference between the gas quantity determined for each set of calibration samples is superior to equal to the first predefined threshold, add one extra set of calibration samples to the second plurality of sets of calibration samples to obtain an updated second plurality of sets of calibration samples and iterate steps (ii) and (iii) with the updated second plurality of sets of calibration samples.


The calibration phase ends when the expected accuracy is obtained. As long as the expected accuracy is not yet obtained, some calibration samples are added to the second plurality of samples, which means that more samples are used to calibrate the model. As long as this targeted accuracy is not obtained, more calibration data are added to improve the model.


In an embodiment, the method comprises the step:

    • (iii-a3) if at step (iii-a2) the difference between the gas quantity determined for the first plurality of calibration samples is superior or equal to the first predefined threshold, iterate step (i) to acquire at least one extra set of calibration samples and obtain an updated first plurality of successive sets of calibration samples, and iterate steps (ii) and (iii) to update the corrected gas temperature model.


In other words, samples are added to the second plurality of sets of samples until all calibration samples of the first plurality has been integrated, meaning that the second plurality is identical to the first plurality. If the determined difference is still superior or equal to the predefined acceptance threshold after all calibration samples have been used for calibrating the model, some extra sets of samples are acquired to continue the calibration process with more set of samples in order to reach the expected accuracy.


Alternatively, the calibration process can be restarted from scratch with a completely new set of samples.


In an embodiment, the method comprises between the calibration phase and the measurement phase a validation phase of the corrected gas temperature model, the validation phase comprising the steps:

    • (iii-b1) for a third plurality of sets of calibration samples comprised in the first plurality of sets of calibration samples, determine a gas quantity contained in the tank from the gas state equation and from the corrected gas temperature model based on the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,
    • (iii-b2) determine a difference between the gas quantities determined for each set of samples of the third plurality of sets of calibration samples,
    • (iii-b3) if the determined difference is inferior to a second predefined threshold, authorize entry into the measurement phase.


Once the calibration acceptance criterion is met, and the calibration phase is ended, an intermediate validation phase may be carried out before entering in the measurement phase. For this, some set of samples of the initially acquired data may be used for checking that the associated determined gas quantities are close enough to the expected results.


The third plurality of sets of calibration samples may have no common element with the second plurality of sets of calibration samples.


In other words, the model may be calibrated using certain sets of samples, and may be validated using different set of samples. A same set of samples is not used for both calibration and validation of the gas corrected temperature model.


In an embodiment, the method comprises the step:

    • (iii-b4) if the determined difference is superior or equal to the second predefined threshold, iterate step (i) to acquire at least one extra set of calibration samples and iterate steps (ii) and (iii) to update the corrected gas temperature model.


In case the accuracy criterion for accepting the model is still not met when all the available data initially acquired have been used, some extra data acquisition is performed. For this, step (i) is iterated to add at least one more set of samples, and the gas corrected temperature model M is updated with this extra set of samples.


The second predefined threshold may be higher than the first predefined threshold.


The second predefined threshold may be equal to the first predefined threshold.


According to an embodiment of the proposed method, the gas state equation is the ideal gas law.


The state equation is, for the ideal gas model:










P
*
V

=

n
*
r
*
T





(

equation


1

)







According to another embodiment of the proposed method, the gas state equation is a real gas law.


For example, Van der Waals state equation can be employed. The Virial state equation can also be used. Other different real gas laws could also be used.


In an embodiment of the method, the corrected temperature model is a multivariate linear regression model.


For example, the corrected gas temperature is a linear combination of the acquired gas pressure, of the acquired gas temperature and of the acquired ambient temperature.


The corrected gas temperature satisfies:










T

c

o

r

=


K
0

+


K
1

*
P

+


K
2

*
T

+


K
3

*
T

A






(

equation


2

)







with Tcor the corrected gas temperature, P the acquired gas pressure, T acquired gas temperature and TA the acquired ambient temperature, and


with K0, K1, K2, K3 constant coefficients.


When the number of acquired samples is smaller than the number of measured variables, the parameters of such an underdetermined linear system may be derived thanks to the minimum L2 norm solution using, for example, the method of Lagrange multiplier.


On the contrary, if the number of samples is larger than the number of measured variables, a classic regression method, as the Least Squares regression method can be chosen.


In another embodiment of the method, the corrected temperature model is a perceptron model.


The acquired gas pressure, the acquired gas temperature and the acquired ambient temperature are inputs of the perceptron. The corrected temperature is the output of the perceptron.


In yet another embodiment of the method, the corrected temperature model is a support vector regression.


In yet another example of implementation of the method, the corrected temperature model is a gradient boosting regression.


A time interval between two successive sets of calibration samples of the first plurality of successive sets of calibration samples may be more than one minute and less than one hour.


In an embodiment of the method, the step (i) of acquiring the first plurality of successive sets of calibration samples may comprise the sub-step:

    • after the acquisition of one sample and before the acquisition of the next sample, modifying an electrical current intensity in the switchgear so that the temperature of the gas contained in the tank is modified.


By spreading the values of the set of calibration samples, the robustness of the model of determination of corrected gas temperature can be improved, as the measurements are less subject to noise and to the influence of the environmental conditions.


The disclosure also relates to a method for detecting a gas leakage in a tank of a gas insulated switchgear, comprising the steps:

    • determining the quantity of the gas contained in the tank by the method as described earlier,
    • detecting a gas leakage based on the evolution of the gas quantity in function of time.


The gas leakage detection method may comprise the steps:

    • determining an initial quantity of the gas contained in the tank at the end of the calibration phase,
    • determining an updated quantity of the gas contained in the tank during the measurement phase,
    • determining a difference between the determined initial quantity and the determined updated quantity,
    • if the determined difference is higher than a predetermined threshold, detecting that a leakage is present,
    • if the determined difference is lower than or equal to the predetermined threshold, detecting that the tank is sealed.


In an embodiment, the determined difference is an absolute difference.


In this case, the predetermined threshold is an absolute threshold.


In another embodiment, the determined difference may be a relative difference.


In this case, the predetermined threshold is a relative threshold.


The method may comprise the step:

    • emitting a warning signal if a leakage is detected.


The disclosure also relates to an electrical equipment comprising a switchgear, a tank configured for accommodating the switchgear, and an electronic control unit configured for implementing a gas quantity determination method as previously described or for implementing a gas leakage detection method according as described earlier.





BRIEF DESCRIPTION OF DRAWINGS

Other features, details and advantages will be shown in the following detailed description and on the figures, on which:



FIG. 1 is a schematic view of an electrical equipment comprising a gas insulated switchgear contained in a tank,



FIG. 2 is a temporal curve illustrating the evolution of the internal temperature of the gas contained in the tank,



FIG. 3 is a temporal curve illustrating the evolution of the pressure of the gas contained in the tank,



FIG. 4 is a temporal curve illustrating the evolution of the corrected gas temperature determined for the gas contained in the tank,



FIG. 5 is a temporal curve illustrating the evolution of the determined quantity of gas contained in the tank, when the tank is fluid tight,



FIG. 6 is another temporal curve illustrating the evolution of the determined quantity of gas contained in the tank, when a tank leakage is present,



FIG. 7 is a block diagram of different steps of an embodiment of the proposed method,



FIG. 8 is a temporal curve illustrating some aspects of the proposed method.





DESCRIPTION OF EMBODIMENTS

In order to make the figures easier to read, the various elements are not necessarily represented to scale. In these figures, identical elements receive the same reference number. Certain elements or parameters can be indexed, that is to say designated for example by ‘first element’ or second element, or first parameter and second parameter, etc. The purpose of this indexing is to differentiate elements or parameters that are similar, but not identical. This indexing does not imply a priority of one element, or one parameter over another, and their names can be interchanged. When it is mentioned that a subsystem comprises a given element, the presence of other elements in this subsystem is not excluded.



FIG. 1 schematically illustrates an electrical equipment 100 comprising a switchgear 2, a tank 1 configured for accommodating the switchgear 2, and an electronic control unit 15. The electronic control unit 15 is configured for implementing a gas quantity determination method that will be described below. The electronic control unit 15 is also configured for implementing a gas leakage detection method that will also be described in detail below.


The tank 1 defines an enclosure configured to accommodate the switchgear 2. The tank 1 comprises several panels assembled to form a sealed enclosure defining a sealed volume. For example, the panels of the tank 1 are welded together. The panels may be fixed on a subframe that ensures a stiffness sufficient to resist without noticeable deformation to the pressure differential between the inside and the outside of the tank 1. The volume of the tank 1 is thus constant throughout its service life.


The tank 1 comprises sealed interfaces 14 allowing the entry and exit of three electrical conductors 11, 12, 13 connected to the switchgear 2. Each of the three electrical conductors 11, 12, 13 corresponds to a different phase of an electrical circuit. Each phase of the electrical circuit can be respectively interrupted by an interrupter 21, 22, 23. On FIG. 1, the switchgear 2 is represented in an opened position of the interrupters 21, 22, 23 in which the current is interrupted.


The inside volume of the tank 1 is filled with a pressurized gas G when the tank 1 is in normal operating conditions. The pressurized gas G avoids the creation of an electric arc when the switchgear 2 is operated to interrupt the electrical current in the circuit. The outside of the tank 1 is exposed to the temperature and the pressure of the ambient air A of the room in which the tank 1 is installed. The pressure of the gas within the tank 1 is higher than the ambient pressure outside of the tank 1, which is the local atmospheric pressure. The tank 1 may be filled with an inert gas like sulfur hexafluoride (SF6). The tank 1 may also be filled with pressurized air.


Although the tank 1 is built to be fluid tight, small leakages may occur during the lifetime of the electrical equipment 100 and the quantity of gas G contained within the internal volume of the tank 1 may be slowly reduced. The dielectric properties thus slowly deteriorate and the risks of creating an electric arc during operation of the equipment increase. For this reason, the quantity N of the gas contained in the tank 1 is monitored so that the operators of the electrical equipment 100 can take adequate corrective actions in case the gas quantity N becomes insufficient for a safe operation of the electrical equipment 100. This gas quantity monitoring is based on gas temperature and gas pressure measurements. As previously stated, the gas quantity N can be gas mass, or gas number of moles. It can also be gas density, since the internal volume of the tank is kept constant. Conversion from one parameter selected from mass, number of moles, density to another of these selected parameters can be made by a multiplicative factor. These three parameters can thus be considered equivalent physical parameters.


The tank 1 is equipped with an embedded gas temperature sensor 3.


The embedded temperature sensor 3 comprises a temperature sensitive element 6 configured for delivering an electric signal representative of the temperature of the sensitive element 6. The temperature sensitive element 6 of the embedded temperature sensor 3 is located inside the tank 1 and is in contact with the gas G contained in the tank 1.


The temperature sensing element 6 of the embedded gas temperature sensor 3 may comprise a thermistor, for instance a negative coefficient thermistor. In a variant, the temperature sensing element 6 may comprise a thermocouple.


The embedded temperature sensor 3 comprises a sensor body 7 in contact with the ambient air A outside the tank 1. The sensor body 7 protrudes from an external side of a panel of the tank 1. The implementation of the sensor is easy, since it is disposed outside the tank 1, and its connection wires are kept outside the internal volume of the tank 1, therefore don't interference with the tank 1 tightness.


The embedded temperature sensor 3 is attached to an interface plug 9 fixed to a panel of the tank 1. The interface plug 9 is inserted in a hole formed in a panel and for example welded to the panel along the periphery of the interface plug. The interface plug 9 defines an opening in a panel of the tank 1, through which the sensitive element 6 can be in contact with the gas G inside the tank 1.


The interface plug 9 may comprise an internal thread for fixing the sensor body 7. The opening 10 is obturated by the body 7 of the gas temperature sensor 3 when the gas temperature sensor 3 is fitted. A seal, not represented, may be disposed between the interface plug 9 and the body 7 of the temperature sensor to ensure fluid tightness of the tank 1.


The tank 1 is also equipped with an embedded pressure sensor 4.


The embedded pressure sensor 4 comprises a pressure sensitive element 8 configured for delivering an electric signal representative of the pressure applied on the sensitive element. The sensitive element 8 of the embedded pressure sensor 4 is located inside the tank 1 and is in contact with the gas G contained in the tank 1.


The pressure sensing element 8 and the temperature sensing element 6 may be housed within the same sensor body 7, as it is the case on the illustrated example. A single interface plug 9 is used to install the two sensors and obtain gas temperature measurement and gas pressure measurement. The sensor is thus a multi-function sensor combining pressure measurement and temperature measurement.


According to a non-represented design variant, the embedded pressure sensor 4 may be a dedicated sensor, separated and independent from the gas temperature sensor 3. In this case, the pressure sensor 4 is fixed to another interface plug defining another opening hole in a panel of the tank 1.


The electrical equipment 100 comprises an ambient temperature sensor 5. The ambient temperature sensor 5 comprises a sensitive element configured for delivering an electric signal representative of the temperature of the sensitive element. The sensitive element of the ambient temperature sensor 5 is located outside the tank 1 and is in contact with the ambient air outside the tank 1. The ambient temperature sensor 5 is for example installed on a control panel 20 of the switchgear 2. The ambient temperature sensor 5 and the external surface of the tank 1 are spaced apart from each other. The distance between the ambient temperature sensor 5 and the external surface of the tank 1 is preferably larger than 30 centimeters. The ambient temperature measurement is thus not affected by the heat dissipated by the tank 1. The measurement of the ambient temperature sensor 5 is considered to be fully representative of the ambient temperature of the room in which the tank 1 is installed.


The ambient temperature sensor 5 may comprise a thermistor, like for example a negative coefficient thermistor. The ambient temperature sensor 5 may comprise a thermocouple.



FIG. 2 illustrates the evolution of the internal temperature of the gas contained in the tank, measured by different methods.


Curve C1 illustrates the temperature measured by the embedded temperature sensor 3. Curve C2 illustrates the average temperature measured by a group of sensors fitted inside the tank 1. For example, one sensor is fitted near the top of the tank 1, one other sensor is fitted in the middle of the tank, and another sensor is fitted close to the bottom of tank 1. These sensors have been installed only for experimentation and are not part of the electrical equipment 100 when it is in regular operation.


The two curves C1 and C2 are offset, indicating that the average temperature of the gas measured at different locations of the tank 1 is not the same as the temperature measured by the sensor fitted to a panel of the tank 1. One reason is that the electrical conductors 11, 12, 13 dissipate heat, while no forced gas circulation takes place. Therefore, some temperature gradients exist within the tank 1.


Furthermore, the temperature of the gas contained in the tank 1 changes over time in function of the power required by the electrical network, because of the variable heat dissipated by the electrical currents circulating inside the tank 1 enclosure. On FIG. 2, the current intensity increases at instant 1400 minutes, and decrease at instant 3000 minutes. These current intensity variations cause the temperature to increase and then decrease.



FIG. 3 illustrates the evolution of the pressure of the gas contained in the tank, measured by the embedded pressure sensor 4. Because of the temperature changes, the pressure of the gas also changes over time. Temperature curve and pressure curve have similar shapes.


The pressure of the gas contained in the tank 1 can be considered as homogeneous. The pressure gradient between different locations of the tank 1 is negligible.


The proposed method is for determining a quantity N of a gas G contained in a tank 1 of a gas insulated switchgear 2, the tank 1 comprising an embedded gas temperature sensor 3 and an embedded gas pressure sensor 4.


The method comprises the following steps during a calibration phase:

    • (i) acquiring a first plurality n of successive sets of calibration samples S1, S2, . . . , Sn, each set of calibration samples S1, S2, . . . , Sn comprising a gas pressure P1, P2, . . . , Pn measured by the embedded gas pressure sensor 4, a gas temperature T1, T2, . . . , Tn measured by the embedded gas temperature sensor 3 and an ambient temperature TA1, TA2, . . . , TAn measured by an ambient temperature sensor 5 outside the tank 1,
    • (ii) for a second plurality p of sets of calibration samples S1, S2, . . . , Sp comprised in the first plurality n of sets of calibration samples S1, S2, . . . , Sn, determine a gas quantity N1, N2, . . . , Np contained in the tank 1 from a gas state equation E based on the acquired gas pressure P1, P2, . . . , Pp, and on a corrected gas temperature model M based on the acquired gas temperature T1, T2, . . . , Tp, the acquired gas pressure P1, P2, . . . , Pp and the acquired ambient temperature TA1, TA2, . . . , TAp,
    • (iii) update the corrected gas temperature model M so as to minimize a difference between the gas quantities N1, N2, . . . , Np determined for each set of calibration samples S1, S2, . . . , Sp is minimized.


The method further comprising the following steps during a measurement phase:

    • (iv) acquiring a gas temperature Tsens measured by the embedded gas temperature sensor 3, a gas pressure Psens measured by the embedded pressure temperature sensor 4, and an ambient temperature Tamb measured by an ambient temperature sensor 5 outside the tank 1,
    • (v) determining a corrected gas temperature Tcor from the corrected gas temperature model M and from the acquired gas temperature Tsens, the acquired gas pressure Psens and the acquired ambient temperature Tamb,
    • (vi) determining the quantity N of gas from the gas state equation E and from the acquired gas pressure Psens and the determined corrected gas temperature Tcor.


The duration of the calibration phase is considered negligible compared to the expected service life of the switchgear 2. Indeed, an order of magnitude of the duration of the calibration phase is a few hours or a few days, while an order of magnitude of the service life of the switchgear 2 is more than 10 years.


There the tank 1 is considered to be perfectly sealed during the calibration phase. The quantity N of the gas contained in the tank 1 can therefore be considered as constant. All the set of samples S1, S2, . . . , Sn should in theory provide the same result for the determination of the gas quantity contained in the tank 1, in other words all the quantities N1, N2, . . . , Nn should be equal.


In reality, discrepancies between the various gas quantities N1, N2, . . . , Nk determined at different instants t1, t2, . . . , tk may happen. These discrepancies come from the fact that the temperature measured by the embedded gas temperature sensor 3 is not fully representative of the actual temperature of the gas contained in the tank 1. Therefore, a simulated gas temperature, also called corrected gas temperature Tcor can be determined by applying a calculation constraint that the determined gas quantities have to be identical for the different set of samples S1, S2, . . . , Sk that are acquired during the calibration phase. The corrected gas temperature Tcor is the temperature for which the gas quantity predicted by the gas state equation E is the closest for the various sets of samples S1, S2, . . . , Sk.


When the fitting of the corrected gas temperature model is not ideal, corresponding to most practical cases, some residual discrepancies may remain between the gas quantity prediction obtained from each individual set of samples. The gas corrected temperature model M is thus updated by iteration until the best fit is obtained.


When the fitting of the corrected gas temperature model is ideal, the gas quantities predicted by the different samples are identical. The discrepancy between the prediction of each sample is in such case null.


Once the model M for determining this corrected gas temperature Tcor has been determined, the same model M is then applied during the measurement phase. Using this model M of corrected temperature Tcor increases the accuracy of the gas quantity calculation compared to a method using only the raw measurements of the different sensors, in particular using only the raw gas temperature. As the model M is extracted from a limited number of experimental data, it is easy to calibrate and can quickly be adapted to any gas tank/sensors configurations. No additional sensor needs to be fitted during the calibration phase. The electrical equipment 100 using the tank 1 doesn't need to be modified in any way.


The measurement phase follows the calibration phase. In other words, the calibration phase is performed before the measurement phase is carried out.


The measurement phase is a monitoring phase that may be carried out throughout the service life of the switchgear.


The measurement phase may be carried out continuously.


The measurement phase may also be carried out at different time intervals. For example, the measurement phase can be performed once every hour, or once every day. Any time periodicity may be used, depending on the available data acquisition resources and data processing resources, and depending upon the expected detection time for ensuring safe operation of the electrical equipment.


The calibration phase may comprise a sub-step of checking of the tank 1 gas tightness. The sub-step is completed before the measurements are acquired. The goal of this preliminary check is to make sure that the tank is properly sealed and that the assumption that the gas quantity does not change during the calibration phase is correct.


The first set of samples S1 corresponds to a first instant t1. The second set of samples S2 corresponds to a second instant t2. The set of samples of rank n Sn corresponds to an instant of rank n tn.


The first instant t1 precedes the second instant t2, which itself precedes the third instant t3, and so on. The first instant t1, the second instant t2, and the third instant t3 come in succession in chronological order. The instant of rank n−1 and the instant of rank n come in succession in chronological order.


The first plurality n of successive sets of calibration samples S1, S2, . . . , Sn comprises at least three samples.


There's no maximum limit to the number of elements in the first plurality n of successive sets of calibration samples S1, S2, . . . , Sn.


Each time of set of samples is acquired, the acquired set of samples comprises the gas pressure P measured by the embedded gas pressure sensor 4, the gas temperature T measured by the embedded gas temperature sensor 3 and the ambient temperature TA measured by an ambient temperature sensor 5 outside the tank 1.


Optionally, other parameters have also be acquired.


Each time of set of samples is acquired, the different samples are acquired simultaneously.


By simultaneously, it is meant that the gas temperature sample, the gas pressure sample and the ambient temperature samples of a given set of samples are acquired within a same time interval whose duration is less than a predetermined threshold. The predetermined threshold is for example 0.5 second.


A shorter threshold, corresponding to a faster sampling frequency, may be employed but is not mandatory as the temporal evolution of the different parameters is relatively slow. Some tests carried out by the applicant have indicated that the time constant of the temperature evolution to be several hours, for example comprised between 8 and 10 hours depending on the internal volume of the tank 1.



FIG. 8 illustrates in a schematic way the acquisition of the set of samples during the calibration phase.


The evolution of gas pressure P, gas temperature T and ambient temperature TA is plotted versus time. Instant t1, t2, . . . , tn each correspond to the acquisition of a set of samples, respectively S1, S2, . . . , Sn. Each set of samples comprises a sample of gas pressure, a sample of gas temperature, and a sample of ambient temperature.


The sign P1 refers to the first plurality of successive sets of calibration samples S1, S2, . . . , Sn.


The sign P2 refers to the second plurality p of sets of calibration samples S1, S2, . . . , Sp. On the illustrated example, the second plurality of sets of samples comprises 4 sets of samples.


The second plurality p of sets of calibration samples S1, S2, . . . , Sp is comprised in the first plurality n of sets of calibration samples S1, S2, . . . , Sn.


This means that n sets of samples may be initially acquired, but the gas corrected temperature model M is defined from a smaller number of sets of samples.


For example, n=30 set of samples may be initially acquired, while only 10 set of samples may be used for the definition and update of the gas corrected temperature model M.


In an embodiment, the calibration phase comprises the steps:

    • (iii-a1) if at step (iii) the difference between the gas quantities N1, N2, . . . , Np determined for each set of calibration samples S1, S2, . . . , Sp is inferior to a predefined threshold Th, end the calibration phase,
    • (iii-a2) if at step (iii) the difference between the gas quantity N1, N2, . . . , Np determined for each set of calibration samples S1, S2, . . . , Sp is superior or equal to the predefined threshold, add one extra set of calibration samples Sp+1 to the second plurality p of sets of calibration samples S1, S2, . . . , Sp to obtain an updated second plurality p+1 of sets of calibration samples S1, S2, . . . , Sp, Sp+1 and iterate steps (ii) and (iii) with the updated second plurality p+1 of sets of calibration samples S1, S2, . . . , Sp, Sp+1.


The calibration phase ends when the expected accuracy is obtained, ie when the difference between the various gas quantities determined is lower than an acceptance threshold. As long as the expected accuracy is not yet obtained, calibration samples are added to the second plurality of samples, so that more samples are used to calibrate the model M, which helps improving its accuracy. As long as the acceptance threshold is not reached, more calibration set of samples are added to the second plurality in order to improve the model M.


On FIG. 8, the sign P2 illustrates an initial definition of the second plurality of set of samples used for generating the corrected gas temperature model M, and comprising 4 samples S1, S2, S3, S4.


Assuming the difference between the gas quantity N1, N2, N3, N4 determined for each set of calibration samples S1, S2, S3, S4 is superior or equal to the predefined threshold, a fifth set of samples S5 is integrated into the second plurality of set of samples. The sign P2′ illustrates the updated second plurality of sets of samples, with a fifth sample integrated.


In an embodiment, the method comprises the step:

    • (iii-a3) if at step (iii-a2) the difference between the gas quantity N1, N2, . . . , Nn determined for the first plurality n of calibration samples S1, S2, . . . , Sn is superior or equal to the predefined threshold, iterate step (i) to acquire at least one extra set of calibration samples Sn+1 and obtain an updated first plurality n+1 of successive sets of calibration samples S1, S2, . . . , Sn, Sn+1, and iterate steps (ii) and (iii) to update the corrected gas temperature model M.


As long as the accuracy acceptance threshold is not obtained, extra set of samples are added to the second plurality of sets of samples, until all calibration set of samples of the first plurality has been integrated. The second plurality and the first plurality of set of samples are then identical. If the determined difference is still superior or equal to the predefined acceptance threshold after all calibration samples have been used for calibrating the model M, some extra sets of samples are acquired to continue the calibration process with more data in order to reach the expected accuracy.


Alternatively, the calibration process can be restarted from scratch with a completely new set of samples. In that case, the method is applied in the same way as before.


Once the expected accuracy has been obtained, the calibration phase is ended. Nevertheless, a validation may be performed before actually entering in the measurement phase.


For this, the method may comprise between the calibration phase and the measurement phase a validation phase of the corrected gas temperature model M. The validation phase comprises the steps:

    • (iii-b1) for a third plurality q of sets of calibration samples Sk, . . . , Sk+q comprised in the first plurality n of sets of calibration samples S1, S2, . . . , Sn, determine a gas quantity Nk, . . . , Nk+q contained in the tank 1 from the gas state equation E and from the corrected gas temperature model M based on the acquired gas temperature Tk, . . . , Tk+q, the acquired gas pressure Pk, . . . , Pk+q and the acquired ambient temperature TAk, . . . , TAk+q,
    • (iii-b2) determine a difference between the gas quantities Nk, . . . , Nk+q determined for each set of samples of the third plurality q of sets of calibration samples Sk, . . . , Sk+q,
    • (iii-b3) if the determined difference is inferior to a second predefined threshold Th, authorize entry into the measurement phase.


Some of the sets of samples of the initially acquired data may be used for checking that the associated determined gas quantities are close enough to the expected results, ie for validating the corrected gas temperature model.


If the validation is satisfactory, meaning that the experienced discrepancies between the prediction of the various set samples are below an acceptance threshold, a beginning of the measurement phase is authorized.


The third plurality q of sets of calibration samples Sk, . . . , Sk+q may have no common element with the second plurality p of sets of calibration samples S1, S2, . . . , Sp.


In other words, the model may be calibrated using certain sets of samples, and may be validated using different samples. A same set of samples is not used for both calibration and validation of the gas corrected temperature model.


On FIG. 8, the sign P3 refers to the third plurality of sets of samples, which is used for validation of the model M and authorization of entry into the measurement phase.


It is also possible that the third plurality of sets of calibration samples and the second plurality of sets of calibration samples overlap each other and have some common elements.


In a non-illustrated example, the initially acquired data comprises 30 sets of samples. The first 12 set of samples are for example used for calibrating the model M. Then the next 8 set of samples are used for validation of the built model. If the discrepancies between the gas quantities calculated for the batch of 8 sets of samples are low enough, the model M is validated, and it is possible to enter into the measurement phase.


In this example, the last 10 samples of the initial batch of 30 sets of samples are not used, since the validation phase gives satisfactory results without using all the available data.


In an embodiment, the method comprises the step:

    • (iii-b4) if the determined difference is superior or equal to the second predefined threshold Th2, iterate step (i) to acquire at least one extra set of calibration samples Sn+1 and iterate steps (ii) and (iii) to update the corrected gas temperature model M.


The second predefined threshold Th2 may be higher than the first predefined threshold Th1. In this case, more discrepancies between the determined gas quantities are allowed during the validation phase than during the calibration phase.


The second predefined threshold Th2 may also be equal to the first predefined threshold Th1.



FIG. 4 illustrates the sequence of calibration phase, validation phase and measurement phase.


The time period starting at t=0 and ending at t=tc corresponds to the calibration phase, indicated by the sign CP.


The time period starting at t=tc and ending at t=tv corresponds to the validation phase, indicated by the sign VP.


The time period starting at t=tv corresponds to the measurement phase, indicated by the sign MP. To simplify the figures, only three sets of calibration samples have been represented. The instants t1, t2 and t3 at which each set of calibration samples S1, S2, S3 is respectively acquired are indicated.


The set of samples acquired at instant t=tm is used for measurement and leakage detection. Curve C5 illustrates the evolution of the corrected gas temperature Tcor when the electrical equipment 100 is operated. The temperature may increase or decrease depending on the evolution of the electrical power and of the ambient temperature.


The volume of the tank 1 is constant.


The quantity N of the gas G encompasses closely related physical parameters that may be the gas number of moles, or the gas mass. It also encompasses the gas density since the internal volume of the tank is kept constant.


At step iii, the model M may be updated so that the different gas quantities N1, N2, . . . , Np determined for each set of samples S1, S2, . . . , Sp is the same.


In other words, the difference between the gas quantity N1, N2, . . . , Np determined for each set of samples S1, S2, . . . , Sp may be equal to zero.


According to an embodiment of the proposed method, the gas state equation E is the ideal gas law.


The state equation is, for the ideal gas model:











P
*
V

=

N
*
r
*



Tcor




(

equation


1

)







With P the gas pressure, V the gas volume therefore the tank internal volume, N the gas quantity, r the ideal gas constant 8.32 J/mol/K, Tcor the corrected gas temperature in Kelvin. This model is simple to calculate and accurate enough for the conditions in which the electrical equipment is used, with relatively low pressure and temperature.


According to another embodiment of the proposed method, the gas state equation E is a real gas law.


The accuracy may be enhanced with a real gas model.


Many different real gas laws are available and can be used. For example, Van der Waals state equation, or the Virial state equation can be used.


In an embodiment of the method, the corrected temperature model is a multivariate linear regression model.


For example, the corrected gas temperature Tcor is a linear combination of the acquired gas pressure P, of the acquired gas temperature T and of the acquired ambient temperature TA.










T

c

o

r

=


K
0

+


K
1

*
P

+


K
2

*
T

+


K
3

*
T

A






(

equation


2

)







With K0, K1, K2, K3 constant coefficients.


The four coefficients K0, K1, K2, K3 are adjusted by iteration so that the discrepancies between the gas quantities predicted by the different samples are minimized.


When the number of acquired samples is smaller than the number of measured variables, the parameters of such an underdetermined linear system may be derived thanks to the minimum L2 norm solution using, for example, the method of Lagrange multiplier. On the contrary, if the number of samples is larger than the number of measured variables, a classic regression method such as the Least Squares regression method can be selected.


In another embodiment of the method, the corrected temperature model is a perceptron model.


For example, the corrected gas temperature Tcor is a function of a real-valued vector X containing the acquired gas pressure P, the acquired gas temperature T and the acquired ambient temperature TA, of a vector of real-valued weights and of a bias value. The weights and the bias are adjusted using an iterative method such as Stochastic Gradient Descent. The perceptron model can be extended to a multi-layer neural network where the weights and the bias are adjusted using backpropagation.


The acquired gas pressure P, the acquired gas temperature T and the acquired ambient temperature TA are inputs of the perceptron. The corrected temperature Tcor is the output of the perceptron.


In yet another embodiment of the method, the corrected temperature model is a support vector regression.


For example, the corrected Tcor is obtained by mapping the input variables (the acquired gas pressure P, the acquired gas temperature T and the acquired ambient temperature TA) to a high-dimensional space, finding a hyperplane that best fits the data, and then mapping the predicted output back to the original space thanks to computing the dot product between the input vector and the support vectors which consist of a subset of the training data points.


In yet another example of implementation of the method, the corrected temperature model is a gradient boosting regression.


For example, the corrected Tcor is obtained by training a set of decision trees to make predictions. In such a combination of decision trees, each decision tree is added to correct the errors made by the previous decision tree. The process is iterated until the algorithm can no longer improve the model with respect to the predicted output compared to the actual output.


A time interval between two successive sets of calibration samples Sk, Sk+1 of the first plurality n of successive sets of calibration samples S1, S2, . . . , Sn.


The instant of rank k+1 tk+1 and the instant of rank k tk at offset from each other by a duration longer than one minute, and shorter than one hour.


In an embodiment of the method, the step (i) of acquiring the first plurality n of successive sets of calibration samples S1, S2, . . . , Sn may comprise the sub-step:

    • after the acquisition of one calibration sample and before the acquisition of the next sample, modifying an electrical current intensity in the switchgear 2 so that the temperature of the gas contained in the tank 1 is modified.


By spreading the values of the different set of samples, the robustness of the model M of determination of corrected gas temperature can be improved, as the measurements are less subject to noise.


On FIG. 2, curve C3 illustrates the corrected gas temperature Tcor determined from the model M and from the acquired gas temperature Tsens, the acquired gas pressure Psens and the acquired ambient temperature Tamb used as inputs of the model M.


It can be observed that during the time interval ranging from 1500 seconds to 3000 seconds, the corrected gas temperature represented by curve C3 is higher than the curve C2 which an average of different measurements in different locations of the tank, itself higher than curve C1 which is the measurement of the embedded sensor.


The disclosure also relates to a method for detecting a gas leakage in a tank 1 of a gas insulated switchgear 2. The method comprises the steps:

    • determining the quantity N of the gas G contained in the tank 1 by the method described above,
    • detecting a gas leakage based on the evolution of the gas quantity N in function of time.


The gas leakage detection method may comprise the steps:

    • determining an initial quantity NO of the gas G contained in the tank 1 at the end of the calibration phase,
    • determining an updated quantity N of the gas G contained in the tank 1,
    • determining a difference D between the determined initial quantity NO and the determined updated quantity N,
    • if the determined difference D is higher than a predetermined threshold Smax, detecting that a leakage is present,
    • if the determined difference D is lower than or equal to the predetermined threshold Smax, detecting that the tank 1 is sealed.


The determined difference D can be an absolute difference.


In this case, the predetermined threshold Smax is also an absolute threshold.


The predetermined threshold Smax is a constant value determined with respect to the internal volume of the tank, since the initial quantity of gas filling the tank is proportional to the volume of the tank.


In another embodiment, the determined difference D may be a relative difference.


In this case, the predetermined threshold Smax is a relative threshold.


The predetermined threshold Smax is for example comprised between 8% and 12%.



FIGS. 5 and 6 illustrates the evolution of the gas quantity N versus time t.


The initial gas quantity determined at instant t=0 is indicated by N0 on the vertical axis.



FIG. 5 correspond to a gas tight tank, ie with no leakage.



FIG. 6 corresponds to a tank initially sealed in which a leakage is initiated.


Curves C6 and C7 indicates the evolution over time of the gas quantity N, continuously updated.


On FIG. 5, the estimated gas quantity N is constant over time.


On FIG. 6, the estimated gas quantity N is approximately constant until instant t=tr.


From this instant, the estimated gas quantity N, designated by curve C7, gradually drops and keeps deviating from the initial value NO because a leakage is present.


The arrow designated by sign D indicates the deviation between the initial gas quantity NO represented by an horizontal line and the updated gas quantity N, represented by curve C7. Until instant td, the difference is small enough and no leakage is detected. At instant td the difference D becomes higher than the defined threshold Smax, and a leakage is thus detected. The threshold Smax is selected large enough to avoid false positive, ie detecting a fault while no actual fault is present. It is also selected small enough to ensure a short response time in case a real fault is present.


The gas leakage detection method may comprise the step:

    • emitting a warning signal if a leakage is detected.


The warning signal gives the operators of the electrical equipment an opportunity to investigate and correct the detected fault.

Claims
  • 1. A method for determining a quantity of a gas contained in a tank of a gas insulated switchgear, the tank comprising an embedded gas temperature sensor and an embedded gas pressure sensor, the method comprising the following steps during a calibration phase:(i) acquiring a first plurality of successive sets of calibration samples, each set of calibration samples comprising a gas pressure measured by the embedded gas pressure sensor, a gas temperature measured by the embedded gas temperature sensor and an ambient temperature measured by an ambient temperature sensor outside the tank,(ii) for a second plurality of sets of calibration samples comprised in the first plurality of sets of calibration samples, determine a gas quantity contained in the tank from a gas state equation based on the acquired gas pressure, and on a corrected gas temperature model based on the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,(iii) update the corrected gas temperature model so as to minimize a difference between the gas quantities determined for each of said second plurality of sets of calibration samples is minimized,the method further comprising the following steps during a measurement phase:(iv) acquiring a gas temperature measured by the embedded gas temperature sensor, a gas pressure measured by the embedded pressure temperature sensor, and an ambient temperature measured by an ambient temperature sensor outside the tank,(v) determining a corrected gas temperature from the corrected gas temperature model and from the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,(vi) determining the quantity of gas from the gas state equation and from the acquired gas pressure and the determined corrected gas temperature.
  • 2. The method according to claim 1, in which the calibration phase comprises the steps: (iii-a1) if at step (iii) the difference between the gas quantity determined for each set of calibration samples is inferior to a first predefined threshold, end the calibration phase,(iii-a2) if at step (iii) the difference between the gas quantity determined for each set of calibration samples is superior or equal to the first predefined threshold, add one extra set of calibration samples to the second plurality of sets of calibration samples to obtain an updated second plurality of sets of calibration samples and iterate steps (ii) and (iii) with the updated second plurality of sets of calibration samples.
  • 3. The method according to claim 2, comprising the step: (iii-a3) if at step (iii-a2) the difference between the gas quantity determined for the first plurality of calibration samples (S1, S2, . . . , Sn> is superior or equal to the first predefined threshold, iterate step (i) to acquire at least one extra set of calibration samples and obtain an updated first plurality of successive sets of calibration samples, and iterate steps (ii) and (iii) to update the corrected gas temperature model.
  • 4. The method according to claim 1, comprising between the calibration phase and the measurement phase a validation phase of the corrected gas temperature model, the validation phase comprising the steps: (iii-b1) for a third plurality of sets of calibration samples comprised in the first plurality of sets of calibration samples, determine a gas quantity contained in the tank from the gas state equation and from the corrected gas temperature model based on the acquired gas temperature, the acquired gas pressure and the acquired ambient temperature,(iii-b2) determine a difference between the gas quantities determined for each set of samples of the third plurality of sets of calibration samples,(iii-b3) if the determined difference is inferior to a second predefined threshold, authorize entry into the measurement phase.
  • 5. The method according to claim 4, comprising the step: (iii-b4) if the determined difference is superior or equal to the second predefined threshold, iterate step (i) to acquire at least one extra set of calibration samples and iterate steps (ii) and (iii) to update the corrected gas temperature model.
  • 6. The method according to claim 1, in which the gas state equation is the ideal gas law.
  • 7. The method according to claim 1, in which the corrected gas temperature model is a multivariate linear regression model.
  • 8. The method according to claim 1, in which the corrected gas temperature model is a perceptron model.
  • 9. The method according to claim 1, in which the corrected gas temperature model is a support vector regression, or a gradient boosting regression.
  • 10. The method according to claim 1, in which a time interval between two successive sets of calibration samples of the first plurality of successive sets of calibration samples is more than one minute and less than one hour.
  • 11. The method according to claim 1, in which the step (i) of acquiring the first plurality of successive sets of calibration samples comprises the sub-step: after the acquisition of one calibration sample and before the acquisition of the next calibration sample, modifying an electrical current intensity in the switchgear so that the temperature of the gas contained in the tank is modified.
  • 12. A method for detecting a gas leakage in a tank of a gas insulated switchgear, comprising the steps: determining the quantity of the gas contained in the tank by the method according to claim 1,detecting a gas leakage based on the evolution of the gas quantity in function of time.
  • 13. The method according to claim 12, comprising the steps: determining an initial quantity of the gas contained in the tank at the end of the calibration phase,determining an updated quantity of the gas contained in the tank during the measurement phase,determining a difference between the determined initial quantity and the determined updated quantity,if the determined difference is higher than a maximum threshold, detecting that a leakage is present,if the determined difference is lower than or equal to the maximum threshold, detecting that the tank is sealed.
  • 14. The method according to claim 12, comprising the step: emitting a warning signal if a leakage is detected.
  • 15. An electrical equipment comprising a switchgear, a tank configured for accommodating the switchgear, and an electronic control unit configured for implementing the gas quantity determination method according to claim 1.
  • 16. An electrical equipment comprising a switchgear, a tank configured for accommodating the switchgear, and an electronic control unit configured for implementing the gas leakage detection method according to claim 12.
Priority Claims (1)
Number Date Country Kind
23315180.2 May 2023 EP regional