Adaptive Configuration Method of Low-Frequency Electromechanical Sampling Information in Building Electrical System

In order to enhance the reliability of the electrical systems in low frequency, an adaptive configuration method of low-frequency electromechanical sampling information based on thyristor controlled series compensation (TCSC) is designed. +e electrical system is simplified to a linear invariant system, and a stochastic subspace identification (SSI) method is established by using the singular value decomposition principle to collect low-frequency electromechanical sampling information. +e reference channel technology is introduced to design the reference channel covariance matrix to judge whether low-frequency information is generated and improve the efficiency of sampling information acquisition. +e architecture and working principle of the controllable series compensation device are analyzed, and the test signal method is used to evaluate the low-frequency modes and the information required by the device among the electrical system regions of buildings. +e alternative input signals are selected by comparing different input signal residue ratios. +e TCSC device parameters are adjusted by the compensation residue phase method, so as to realize the adaptive configuration of different low-frequency electromechanical sampling information and ensure the stable operation of the electrical system.+e experimental results show that the proposed configuration scheme can effectively improve the damping ratio of the system and has an excellent effect on suppressing the continuous oscillation under a lowfrequency fault.


Introduction
e building electrical system includes key content such as building power distribution, indoor lighting, outdoor landscape lighting, and management automation [1]. With the improvement of building quality, the structure of the building electrical system has become increasingly complex, and the interconnection between different areas has gradually become dense. Sampling in low-frequency electromechanical systems can obtain the electromechanical oscillation conditions based on the sampled information.
e oscillation with a frequency range of 0.2∼3 Hz belongs to low-frequency oscillation [2,3]. During the oscillation process, the rotors of the generators participating in the oscillation will swing relatively, the power transmission of the transmission line will fail, and the continuous increase of the oscillation amplitude will affect the normal operation of the electrical system, even causing the system to disassemble.
For the problem of low-frequency electromechanical oscillation, Yaqi and Zhigang [4] proposed a predictive current control method using a traction grid-side converter model based on a continuous control set in the coordinate system. By discretizing the state equation of the AC side, the mathematical prediction model of the single traction gridside converter was derived. e performance function was solved, that is, the difference between the predicted current value and the reference value and the change in the control voltage, to calculate the optimal control variable. e bipolar sinusoidal pulse width modulation was fused, to solve the phenomenon of traction blockage caused by low-frequency oscillation. But the method could not extract effective control parameters. Based on the discrete Fourier transform adaptive notch filter, Shen et al. [5] reduced the harm of continuous vibration. e notch filter instead of the low-pass filter was used to eliminate the deviation of resonance frequency and oscillation frequency, which greatly simplified the suppression process and reduced the frequency of oscillation frequency detection. At the same time, an oscillation detection method was designed, where interval detection and prediction methods were used to shorten the detection time. However, the running time of the notch filter was too long to satisfy the immediacy of low-frequency electromechanical oscillation suppression in the electrical system.
In this research, a TCSC-based adaptive configuration method of low-frequency electromechanical sampling information is proposed. e linear invariant difference equation of the building electrical system is established. Under the premise of the singular value decomposition principle, a low-frequency electromechanical sampling information extraction method based on the improved SSI method is designed to determine whether the low-frequency electromechanical oscillation phenomenon exists. e TCSC device is used to complete the damping control, and the oscillation suppression mode is adaptively adjusted according to different oscillation levels.

Low-Frequency Electromechanical Sampling
Information Extraction Based on Improved SSI Method e building electrical system is a large-scale nonlinear system. When exploring system modes and modals, the system is generally simplified to a linear invariant system. e system measurement signals are obtained through time sequence, and the system is described as a set of linear invariant difference equations as shown in equation (1) [6], and the system also meets the convergence condition in equation (2).
where x ∈ R n×1 is the system state column vector, y ∈ R l×1 is the system output column vector, u ∈ R m×1 is the known system input control column vector, A ∈ R n×n is the system state matrix, B ∈ R n×m is the system control matrix, C ∈ R l×n is the system output matrix, D ∈ R l×m is the system control output matrix, T represents the time-step length, k, p, and q are all time-step coding, w is the system input stochastic interference column vector, and v is the system output measurement stochastic deviation column vector. In most states, the system control input u is an unknown quantity. By including the influence of u in the system stochastic interference and measurement stochastic deviation [7,8], we get Regarding the state matrix A of the differential model, eigenvalue and relative right eigenvector φ i are obtained by eigen analysis. e eigenvalues of the continuous system model can be obtained by e modal corresponding to mode s i of each output channel in the output column vector y is e above calculation process can be summarized as follows. Under the action of interference input w and measurement deviation v of approximate white noise, the building electrical system obtains the time sequence of the output signal y in the system through the measurement value and obtains the system state matrix and the output matrix through the relevant information extraction algorithm. e system mode and modal status can be specified according to equations (4) and (5), which in this paper refers to detecting whether the low-frequency electromechanical has oscillation phenomenon. e SSI method is a commonly used method in the field of system information collection. It is built on the principle of singular value decomposition [9] and has strong numerical stability. rough measurement, the system output time sequence can be obtained as y(0), y(T), . . . , y((N − 1)T), y(NT) . e output covariance matrix of the time lag iT is e following block Toeplitz matrix is set: In the real scene, the length of the sequence is limited [10], and the covariance matrix should be approximated by en, the calculation process of the SSI algorithm is as follows. e time sequence of system output y is obtained through measurement; the covariance matrix Λ 1 , Λ 2 , . . . , Λ i under each time lag is calculated according to equation (8), where i satisfies li ≫ n, and equation (7) is used to construct the Toeplitz matrix T 1|i ; singular value decomposition is performed on T 1|i ; then, we get 2 Mathematical Problems in Engineering e extended observability matrix is obtained: e output matrix and state matrix are obtained: In the SSI algorithm, in order to obtain the modal information of some busbars relative to a certain model in the building electrical system [11], it is necessary to clarify whether there is oscillation information inside the electromechanical system. With the continuous expansion of the system scale, the number of system buses will increase, and the measurement of the buses will be included in the output column vector. e reference channel technology is used to maximize operational efficiency without reducing the accuracy of sampling information extraction. e concept of output channel originates from the field of signal processing. e concept of the output channel in this paper is the output signal measured by the system. e measurement output series obtained in modal analysis generally contains much redundant information [12,13], and the amount of calculation can be reduced by reducing the redundant information. e reference channel is a subset y ref ∈ R r of the output column vector, where r is the dimension of the reference channel, and the following equation is obtained: where where y ∼ref is the output vector except the reference channel in the initial vector [14], and the reference channel covariance matrix is recorded as where Λ ref i is the output covariance matrix with the time lag of the reference channel being iT.
Λ ref i is introduced into equation (7) to form a brand-new matrix T ref 1|i , and the selection rule for setting iteration parameter i is ri ≫ n. After introducing the reference channel, the value of Λ ref i is calculated, and singular value decomposition is performed. According to equation (5), the current low-frequency motor oscillation condition of all output channels can be calculated.

Adaptive Configuration of Low-Frequency
Electromechanical Sampling Information Based on TCSC rough the above content, it is possible to clarify whether there is oscillation information inside the low-frequency electromechanical system. If oscillation information is generated, TVSC can be used to adaptively configure different degrees of oscillation problems to ensure the stability of the building electrical system. e TCSC device can adjust the reactance value of the series compensation device in a large area [15], which can enhance the power transmission quality of the high-intensity power transmission system, effectively control the power flow of the system, and reduce the voltage deviation. e topology of the device adopts a low-level control design, which can well reduce the generation of low-frequency electromechanical oscillation information.
Damping is the key to damping the low-frequency oscillation information of the device. e control process is presented in Figure 1.
e electrical system input has two parts of voltage and line transmission power.
e damping output is formed through processes such as deviation comparison, dead zone control, and phase shifting rectification. Z TCSC0 represents the command impedance issued by the personal computer, ΔZ 1 is the damping impedance of power loop, ΔZ 2 represents the damping impedance of voltage loop, and Z TCSC is the output impedance of final stage. e performance and parameters of each link are defined as follows.
V is the positive sequence voltage monitoring value of reference point, V 0 is the voltage reference value of reference point, that is, the steady value before oscillation occurs, P L0 is the transmission power reference value of the transmission channel where the device is located, and P L is the power transmission monitoring value of the transmission channel.
e deviation comparison has the characteristics of firstorder inertia [16], its time constant presents the characteristics of the real measurement device, and the transfer function of the deviation comparison link is K m /(1 + T m S). e dead zone is to prevent the device from oscillating under a small stochastic interference and plays a certain protective role. DC blocking reset is a high-pass filter that can prevent the generation of DC components in the TCSC device's control input signal after low-frequency oscillations, thereby reducing its negative impact on the oscillation suppression effect. Phase shifting is the core content of damping control, allowing the capacitive reactance of the device to obtain the phase difference between the control input signal and the control input signal with the change of the control input signal [17]. If the appropriate phase difference is selected, the change in the capacitive reactance of TCSC will fit the change of the phase difference, which helps adaptively obtain an additional matrix close to the phase of the speed deviation and deal with the low-frequency oscillation of the building electrical system, with the transfer function being (1 + T 1 S)/(1 + T 2 S). e transient stability control link is a control process that improves the transient stability of the electrical system. After the oscillation is eliminated, the equivalent reactance of the device is immediately adjusted to a fixed value for forced compensation to reduce the electrical distance between the transmitting and receiving ends. In the protection limit link, since the capacitive reactance of the TCSC can only be adjusted in a fixed range, the adjustment range depends on the performance of the capacitor bank, the overvoltage protection level, and the current through the TCSC. e protection limit link can take reasonable constraints on the command reactance obtained by the transient stability control and damping control [18], thereby guaranteeing the normal operation of the protection device.
In order to meet the diversified operation mode of the building electrical system, the input signal of the TCSC device should be selected reasonably to improve the robustness of the adaptive configuration. When the device is not connected, the test signal is used to obtain the open-loop transfer function from the anti-group reference signal to the input signal: where λ i is the pole of G(s) and R i represents the residue relative to λ i . e transfer function clarifies the controllable and observable conditions in the electrical system. erefore, the movement of the pole λ i in G(s) in the signal B is observable. Assuming λ i is the pole of the low-frequency oscillation information mode, its relative residue R k can be used as an observable indicator. Calculating |R k | can clarify the change of observable level with the change of different operating modes, and the residue ratio is used as the indicator to weigh the observability of the alternative input signal of the TCSC device [19]. e residue is expressed as where k represents the low-frequency electromechanical regional oscillation information code and |R k,BI | and |R k,B0 | represent the digital modulus of the first regional oscillation information in the adaptive configuration operation mode and the digital modulus of the first regional oscillation information in the standard operation mode, respectively. In different operation modes, the less the residue ratio changes, the better the robustness of the input signal to the system operation. TCSC device parameters can be adjusted using the compensation residue phase algorithm [20]. e device is expressed in the form of a transfer function: e adaptive configuration parameters of the phase shifting link are solved by Now, the whole process of the adaptive configuration of low-frequency electromechanical sampling information is completed, which greatly reduces the probability of lowfrequency electromechanical failures and provides a solid foundation for the stable operation of the building electrical system.

Simulation Experiment
e power system analysis integrated program, i.e., Power System Analysis Software Package (PSASP), was used to study the damping characteristics of the building electrical system without a TCSC device. e operation mode was that A transmitted 1000 MW active power to B, and the transmission result had 4 dominant low-frequency oscillation modes, i.e., 3 inter-regional oscillations and 1 intra-regional oscillation, indicating the unstable state of the system.
In order to prove that the proposed method could effectively improve the damping of the building electrical system, a TCSC device was installed in the system, and a 6% step interference signal was added to the excitation voltage amplitude of the system. Adaptive configuration optimization was conducted on the system's low-frequency electromechanical information and its circuit. e simulation results are shown in Figures 2 and 3. Table 1 shows the dataset showing comparison of low-frequency speed information of building electrical system. Table 2 shows the dataset showing comparison of low-frequency power information of link circuit.
As can be seen from Figures 2 and 3, the installed TCSC devices could effectively suppress the generation of lowfrequency information.
is was because the proposed method provided sufficient damping for each low-frequency mode and alleviated the adverse effects caused by the oscillation of the low-frequency electromechanical system.
In order to verify the ability of the TCSC-based adaptive configuration method on suppressing low-frequency information in the state of large interference, three shortcircuit faults were set near the system's link circuit, and the line was disconnected after 0.2 s; then, the output power of the system's line is shown in Figure 4.
It can be seen from Figure 4 that the system could maintain stable operation in the operation mode of a single link circuit before and after using the adaptive configuration device, but the TCSC device showed a better optimization effect. e advantage of the TCSC device was that it used the improved SSI method to determine whether the system had low-frequency information. As a result, the overall status of       the system could be accurately analyzed, and different methods were adopted to optimize strategies according to the amount of low-frequency information and the degree of oscillation of the system, thereby obtaining a better operation effect.

Conclusion
In order to ensure the stability of the low-frequency electromechanical operation of the building electrical system, a TCSCbased adaptive configuration method of low-frequency electromechanical sampling information is designed in this research. e proposed method has simple calculation, effectively improves the damping of the building electrical system, and has a good effect on suppressing the low-frequency electromechanical oscillations of various degrees. However, when measuring the output time sequence of the system, the stages of the system application were ignored, which might lead to poor accuracy of the time sequence value. is problem should be solved in further research.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon reasonable request.

Additional Points
Highlights. (1) e main aim is to enhance the reliability of the electrical systems in low frequency. (2) Adaptive electromechanical sampling information based on TCSC is designed. (3) e architecture and working principle of the controllable series compensation device are analyzed. (4) e test signal method is used to evaluate the low-frequency modes. (5). e information is required by the device among the electrical system regions of buildings. (6) e alternative input signals are selected by comparing different input signal residue ratios. (7) e experimental results show that the scheme can effectively improve the damping ratio of the system. (8) e results show that the scheme suppresses the continuous oscillation under a low-frequency fault.

Conflicts of Interest
e authors declare that they have no conflicts of interest.

Acknowledgments
is study was supported by the Natural Science Foundation of Tianjing (no. 19JCTPJC53400).