The paper describes the simulation environment for the autonomous battery management system for drones called Droneport. First, the problem of battery management is briefly described, and specific experimental and commercial solutions are listed. Then the concept of the proposed Droneport system is described. The next section is fully dedicated to the description of the individual components of the simulation: simulation of the drone, Droneport, the outer environment, and the traffic controller. The function of the individual components is illustrated by the example of two drones performing a predefined mission.