Choosing the right ratings for the inverter and its battery to be used at home is not that easy. There are many parameters that you need to know before buying an inverter, such as load requirement, size of the inverter, back-up time, size of battery, etc. Presented here is a program in Python that helps you select the right inverter based on some common parameters. This article also describes how to create a standalone application so that you can run the program without Python software, if needed.
Python is a high-level programming language with rich syntax. There are lots of packages available for Python. We used wxpython package for graphical user interface (GUI).
First you need to install Python; we installed its 2.7.6 version. You can download it from the link https://www.python.org/. Then you need to install wxpython package. you can get wxPython3.0-win32-py27 for 32-bit Python 2.7 version or wxPython3.0-win64-py27 for 64-bit Python 2.7 version from here.
To run the application, just right click on inverterApplication.py file, select Edit with IDLE option and press F5 key on the keyboard. You will see the default program output window as shown in Fig. 1.
There are 20 edit boxes on left side of the screen for entering wattages of different electrical loads that you may like to connect to the inverter. You can enter the number of appliances corresponding to each load under Nos column. By default, power factor is 0.7, battery is 12V and back-up time is 3 hours. You can change these parameters as per your requirement.
Most people do not know the wattage of their electrical loads. So, the screen has a reference table on right hand side bottom showing the wattages of some common electrical loads.
Let us assume, you have three tubelights (40W each), three ceiling fans (70W each), one TV that consumes 120W and a laptop that consumes 100W. The total power required would be (3×40 + 3×70 + 1×120 + 1×100) = 550 watts.
Calculating inverter capacity. Normally, the inverters are available with VA (voltage x ampere) ratings. To know the VA rating of an inverter, you also need to know the power factor of the inverter. Assuming, the power factor is 0.7, which is true in most cases, the required VA of your inverter can be obtained by dividing the total power by power factor as follows:
VA = Total power/Power factor = 550W/0.7 = 785.7VA
But 785.7VA is not a standard rating for any inverter available in the market. So you should select an inverter having a rating of next higher available value, such as 800VA.
Calculating battery capacity. The next step is to decide which battery to buy. The type and capacity of battery would depend on the back-up time you require. A domestic inverter normally uses a 12V battery, but the batteries have different ampere-hour (Ah) ratings. If you want an inverter battery that gives three-hour back-up time, you can calculate the battery capacity requirement as follows:
Battery capacity = (Total power × Back-up time)/Battery volts
In this case,
Battery capacity = (550 × 3)/12 = 137.5Ah
Here Ah stands for ampere-hours.
But again, 137.5Ah is not a standard rating for the batteries available in the market. So, again, you should buy a standard battery with ratings slightly higher than this value, such as battery with 12V, 140Ah rating. The program output for this example is shown in Fig. 2.