

![0_image_0.png](0_image_0.png)

boundaries of the house such as different rooms, doors, windows and etc. The user also can load an image of top view plan of a house as the house plan. 

After designing the house plan user should place each home appliance in their positions as they placed is in real house so user can distinguish them easily for crating different tasks in different objects. User can design the most real model of the real house by using this capability of the proposed simulator. B. Supporting all kinds of sensors and home *appliances* Using different types of sensors and actuators for getting and setting status of each device is an inseparable part of every smart house projects. Many of these sensors are too expensive and some of them have various kinds with different futures of a certain type. 

As technology is improving so fast, it's obvious that every day a new kind of sensors, actuators and home appliances will emerge, so the ability of supporting any kind of sensors and actuators is an important future for a smart house simulator. 

This simulator provides the possibility of creating a virtual model of any kind of cutting-edge sensors and devices with defining all of their details like the kind of data that each sensor can sense (Fig. 3). 

As it is shown in this figure, first user should enter a name for the considered sensor and then select the data format of it. Data format is the format of the considered sensor that each sensor uses it for demonstrating the status of environment. We have considered 3 data format for sensors contains "Numeral", "Point" and "Multi States", because almost all the sensors data format can be in one of these kinds of data. For example light sensor data format is multi state and it means this sensor use for example two state of "On" and "Off" for showing the light status of environments. 

The data format of each sensor can be defined via this form, so that every kind of sensors will all details can be simulated and have a very close model of each sensor in order to have an optimal simulation of smart houses. 

For example a light sensor demonstrate the level of light by describing it in 3 level of light, dim and dark; but a temperature sensor show the temperature of an environment in range of numbers or a temperature sensor demonstrates the temperature status of the environments in a range of number, so user should choose the numeral data format for this kind of sensor. 

So there is no limitation for using any kind of off the shelf equipment for simulating a virtual smart house environment as well and user can add any number and kind of sensors and home appliances in the simulator. Fig. 4 illustrates the Windows Form which handles adding any virtual model of devices to the simulator. Then user should assign related sensors to each device and choose the devices icon to be shown in designed house environment. 