This paper proposes a short-term electric load forecasting method combining convolutional neural networks and gated recurrent units with an attention mechanism. By integrating CNNs and GRUs, the method can fully leverage the strengths of CNNs in feature extraction and the advantages of GRUs in sequence modeling, enabling the model to comprehend signal data more comprehensively and effectively extract features from sequential data. The introduction of the attention mechanism allows the traditional model to dynamically focus on important parts of the input data while ignoring the unimportant parts. This capability enables the model to utilize input information more efficiently, thereby enhancing model performance. This paper applies the proposed model to a dataset comprising regional electric load and meteorological data for experimentation. The results show that compared with other common models, the proposed model effectively reduces the mean absolute error and root mean square error (121.51 and 263.43, respectively) and accurately predicts the short-term change in regional power load.
Current energy-saving lighting control algorithms often face the dilemma of local optimality, which limits the energy-saving potential and comfort improvement of indoor lighting systems. The control parameters of the lighting system are optimized using a genetic simulated annealing algorithm to achieve the global optimal solution and enhance energy-saving efficacy in indoor lighting. The local search ability of the algorithm is enhanced by simulated annealing processing of excellent individuals after genetic operation. The genetic probability is adaptively adjusted according to the number of iterations and the fitness of the population, so that the algorithm enriches the population diversity in the early stage and avoids the “premature” convergence of the algorithm. A lamp illuminance model based on an artificial neural network and an indoor natural illuminance model based on a workbench are proposed to evaluate the lighting comfort, which provides a basis for constructing the fitness function of the optimization algorithm. Through the simulation experiment, the genetic simulated annealing algorithm is applied to the lighting scene introduced in this paper and compared with the traditional particle swarm optimization algorithm and genetic algorithm, the lighting energy saving performance is significantly improved.