This paper describes the design of a system for wildfire monitoring incorporating wireless sensors. A wireless sensor network (WSN) is a complex system. In complex systems, multiple aspects interact and influence each other. A vast number of entities are present in the system. Traditional modelling and simulation techniques fail to capture interactions between loosely coupled aspects of a complex system. This paper also describes a modelling approach of the mobile WSN based on Holonic MultiAgent paradigm (Holonic Multi-Agent Systems (HMAS)). The holonic model has the characteristics of scalability and robustness. The approach of modelling used is organizational and it uses four basic concepts: Role, Interaction, Organization and Capacity. This paper mainly presents the formulation problem of fire detection. An application is made to the patrolling task and the detection and avoidance of the obstacles during moving of the mobile sensor.