Renewable energies represent one of the most promising and eco-friendly solutions for energy generation, which guarantees the sustainable development of society. Compared to fuel-based generators, the photovoltaic/Battery (PV/B) system is more suitable to supply domestic loads in sunny, isolated regions. However, given weather disturbances, a storage element is required so as to ensure the load supply autonomy. This work proposes an energy flow scheduling algorithm for a PV/B chalet installation in order to guarantee continuous supply of loads. The aim consists in the satisfaction of the loads demand, the maximization of the PV generation use, the limitation of the battery access time, and the battery protection against deep/over charge. The Timed Hybrid Petri Net (THPN) formalism is used to model the system operation considering the classification of loads into two priority levels. The developed algorithm computes several starting operation times of the secondary load, then selects the optimal one in order to satisfy the criteria cited above and guarantee continuous supply of the primary load. A comparative study of the calculated starting operation times demonstrates the efficiency of the optimal solution for a best PV/B power exploitation with a maximum battery lifetime and safety. The lost PV energy is nearly 26% with respect to an appropriate range of the battery State of Charge (SoC) from 100% to 21.76%. Such evaluation offers the opportunity to users to install more loads operating only during daylight in order to consume the PV lost energy.