Enhancing the monitoring capabilities of wastewater treatment plant (WWTP) key features can accomplish accurate prediction to help WWTPs develop a plan, which is of great significance to control regional water environmental pollution. Chemical oxygen demand (COD) is one of the key features of wastewater treatment. Traditional monitoring methods are time consuming and have high costs making it difficult to meet the needs of rapid monitoring in practical applications. To address this issue, a method for optimizing a long short term memory (LSTM) neural network model based on adaptive hybrid mutation particle swarm optimization (AHMPSO) and an attention mechanism (AM) is proposed. As the hyperparameters of the LSTM are difficult to select, AHMPSO is used to optimize the LSTM. A nonlinear variable inertia weight with random factors is introduced to balance the global search ability and the local search ability and to improve the convergence speed of the PSO algorithm. In addition, the hybrid mutation strategy is added in the search process to reduce the risk of particles falling into local optimal solutions. Finally, an AM is added to the LSTM model to mine local water quality features to improve the effluent COD prediction accuracy. Compared with other models (LSTM, LSTM-AM, and PSO-LSTM-AM), the RMSE(the root mean square error) of the optimized model decreased by 7.803%-19.499%, the MAE(the mean absolute error) of the optimized model decreased by 9.669%-27.551%, the MAPE(the mean absolute error) of the optimized model decreased by 8.993%-25.996%, and the R 2 (the coefficient of determination) value of the optimized model increased by 3.313%-11.229%. The experimental results show that the optimized model has better performance and achieves a more accurate prediction of the effluent COD.
Predicting short-term urban water demand is essential for water resource management and directly impacts urban water resource planning and supply–demand balance. As numerous factors impact the prediction of short-term urban water demand and present complex nonlinear dynamic characteristics, the current water demand prediction methods mainly focus on the time dimension characteristics of the variables, while ignoring the potential influence of spatial characteristics on the temporal characteristics of the variables. This leads to low prediction accuracy. To address this problem, a short-term urban water demand prediction model which integrates both spatial and temporal characteristics is proposed in this paper. Firstly, anomaly detection and correction are conducted using the Prophet model. Secondly, the maximum information coefficient (MIC) is used to construct an adjacency matrix among variables, which is combined with a graph convolutional neural network (GCN) to extract spatial characteristics among variables, while a multi-head attention mechanism is applied to enhance key features related to water use data, reducing the influence of unnecessary factors. Finally, the prediction of short-term urban water demand is made through a three-layer long short-term memory (LSTM) network. Compared with existing prediction models, the hybrid model proposed in this study reduces the average absolute percentage error by 1.868–2.718%, showing better prediction accuracy and prediction effectiveness. This study can assist cities in rationally allocating water resources and lay a foundation for future research.
This work presents optimal linear quadratic regulator (LQR) based on genetic algorithm (GA) to solve the two degrees of freedom (2 DoF) motion control problem in head seas for wave piercing catamarans (WPC). The proposed LQR based GA control strategy is to select optimal weighting matrices (Q and R). The seakeeping performance of WPC based on proposed algorithm is challenged because of multi-input multi-output (MIMO) system of uncertain coefficient problems. Besides the kinematical constraint problems of WPC, the external conditions must be considered, like the sea disturbance and the actuators (a T-foil and two flaps) control. Moreover, this paper describes the MATLAB and LabVIEW software plats to simulate the reduction effects of WPC. Finally, the real-time (RT) NI CompactRIO embedded controller is selected to test the effectiveness of the actuators based on proposed techniques. In conclusion, simulation and experimental results prove the correctness of the proposed algorithm. The percentage of heave and pitch reductions are more than 18% in different high speeds and bad sea conditions. And the results also verify the feasibility of NI CompactRIO embedded controller.
A ride control system (RCS) based linear quadratic regulator (LQR) and genetic algorithm (GA) design is presented, to reduce the heave, roll and pitch motion (three degrees of freedom motion (3 DOF motion)) of the wave piercing catamarans (WPC) in beam waves. A detailed 3 DOF ride control model which consists of the coupling and decoupling relationships between longitudinal and transverse motion is proposed for the WPC vessel. And the complex hydrodynamic coefficients and disturbances induced by beam waves are analyzed. Moreover, two stern flaps are designed for the system in the way of alternate flapping. In the controller design, the LQR method based on GA method is adopted to reduce the 3 DOF motion of the ship. Depending on the robust search mechanism and global optimum of GA, weighting parameters can be obtained to calculate the desired gain. Finally, the motion reduction and motion sickness incidence (MSI) results demonstrate the feasibility and effectiveness of the proposed controller, and the comfort of passengers and crews can also be improved.
29 December 2022 in Journal of Lightwave Technology
With the explosion of geo-distributed data, the huge treasures hidden in them are waiting to be explored to obtain valuable insights. This results in the need for an effective geo- distributed data analysis method. The traditional approach to geo-distributed data analytics is to gather all the required data into a single edge datacenter (edge DC) through one transmission and aggregation (centralized data aggregation). However, as the volume of data grows exponentially, the centralized data aggregation scheme becomes inefficient or infeasible due to the limitations of the computing and network resources. In this paper, we propose the geo-distributed data aggregation scheme in edge compute first networking (CFN) with joint consideration of computation and communication resources. The proposed scheme optimizes two objectives: the first is to minimize the job completion time (JCT) by selecting cluster centers, dividing clusters and provisioning lightpaths; the second objective is to reduce bandwidth consumption by reallocating routing and frequency slots based on JCT. To achieve the two objectives, we first formulate the optimization problem of multi-stage geo- distributed data aggregation as a linear programming (LP) model. To tackle the computational complexity issue of the LP model, a multi-stage geo-distributed data aggregation algorithm jointly with computation and communication resources (MGDD-CC) is proposed. Simulation results show that the proposed scheme can reduce JCT, alleviate the competition for bandwidth resources and is more suitable for scenarios with better data aggregation effects and larger quantities of geo-distributed data.
In order to reduce the offshore wind power operation and maintenance vessel motion induced by severe sea states, a suitable stabilizer with the ship based on linear quadratic regulator strategy is proposed in this paper. First of all, the dynamics of the ship motion model are established to study the longitudinal control system. The six degrees of freedom nonlinear motion model and nonlinear coupled longitudinal motion (heave and pitch) model are described in detail in this paper. Secondly, this work presents matching suitability between the T-foil and the operation and maintenance vessel. Therefore, the most suitable installation position and the optimum strut’s height of T-foil are determined by meshing the ship hull model, setting the water channel, and a series of corresponding computer fluid dynamic simulation. Following that, the linear quadratic regulator controller is studied with active longitudinal control system based on the suitable T-foil. Furthermore, a longitudinal control system is built, including free vessel module and the suitable T-foil stabilizer-based proposed controller module. Finally, the simulation results indicate that the designed T-foil and the longitudinal control system are feasible and effective to ensure the heave and pitch motion reduction based on the proposed controller.