Continuously changing electricity demand and intermittent renewable energy sources pose challenges to the operation of power systems. An alternative to reinforcing the grid infrastructure is to deploy and manage distributed energy storage systems. In this work, a micro-energy market is proposed for smart domestic energy trading in the low-voltage distribution systems in the context of high penetration of photovoltaic systems and battery energy storage systems. In addition, a micro-balancing market is proposed to address the congestions due to unforeseen energy imbalance.Centralised and decentralised management strategies are simulated in real time, based on generation and demand forecasts. In addition, electric vehicles are also simulated as potential storage solutions to improve grid operation. A techno-economic evaluation informs key stakeholders, in particular grid operators on strategies for a sustainable implementation of the proposed strategies. The results show that the micro-energy market reduces the energy cost for all grid users by 4.1-20.2%, depending on their configuration. In addition, voltage deviation, peak electricity demand and reverse power flow have been reduced by 12.8%, 7.7% and 85.6% respectively, with the proposed management strategies. The micro-balancing market has been demonstrated to keep the voltage profile and thermal characteristic within the set limit in case of contingency. KEY WORDS Micro energy market, Micro balancing market, Centralised and decentralised energy management, Real-time optimisation HIGHLIGHTS -Micro energy market reduced user's electricity cost -Micro balancing market solved the network contingency -Micro markets reduced voltage deviation, peak demand and reverse power flow -The system operator benefitted from the decentralised management of batteries -Decentralised management provided optimal grid operation and benefit of users Nomenclature ANN BAU Artificial neural network Business as usual BESS Battery energy storage system