For the operation of the microgrid system, it must de-energize from utility grid when the system meets fault conditions due to the safety and stability reasons. Meanwhile, it also need to guarantee continued power supply for the remaining facilities in microgrid. To achieve this operation task, inverters with grid-forming control are considered as mature solutions in recent years. In this paper, a microgrid system with a 30kVA and a 5kVA grid-forming inverters that integrated in two energy storage systems are modelling and the droop control with virtual impedances are designed for the inverters to operate in off-grid state. MATLAB/Simulink is implemented to carry out the power sharing simulation for the validation of the performance of proposed microgrid and grid-forming inverters models.