Under the guidance of DBC theory, a new architecture, called Integration Testing Architecture for Contract-Based System (ITACBS) is proposed in this paper. The ITACBS fully considers the characteristics of the component software, using the component interface of the contract document to describe the behavior of the system components.The aim of the ITACBS is to found the error between the components and the paste code and to achieve Integration Testing by monitoring and inspection contract. Compared with traditional method for packaging component,the method which used the ITACBS overcomes the non–state tracking of components caused by the unknown source.Test results show that the component wrapper can provide better testbility than other methods.
The Vehicle Routing Problem (VRP) is an important problem occurring in many distribution systems, which is also defined as a family of different versions such as the Capacitated Vehicle Routing Problem (CVRP) and the Vehicle Routing Problem with Time Windows (VRPTW). The Ant Colony Optimization (ACO) is a metaheuristic for combinatorial optimization problems. Given the ACO inadequacy, the vehicle routing optimization model is improved and the transfer of the algorithm in corresponding rules and the trajectory updated regulations is reset in this paper, which is called the Improved Ant Colony Optimization (I-ACO). Compared to the calculated results with genetic algorithm (GA) and particle swarm optimization (PSO), the correctness of the model and algorithm is verified. Experimental results show that the I-ACO can quickly and effectively obtain the optimal solution of VRFTW.
The grid connection of distributed power sources will greatly change the initial electrical state of the system. Therefore, it is necessary to do scientific research on the impact of grid connection of distributed power sources and take appropriate measures to improve system stability. Two evaluation indexes of average voltage change rate and average voltage fluctuation rate are established to describe the impact of different distributed power grids on voltage. The IEEE 33-node power distribution network is used as a model. The distributed power source is connected to the power distribution network with different capacities and different locations. Based on the calculation results of the power flow, the voltage distribution diagrams of the system under different states are drawn, and a comprehensive analysis is performed according to the formulated quantitative indicators. A genetic algorithm was used to search for the optimal reactive power output of a single power supply connected to the grid.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.