This program was created to complete the IF2250 Software Engineering Implementation Task. This program has two main features: Estimator and Simulator. The Estimator feature is used to calculate the estimated cost of electricity consumption. This feature requests input data for electrical devices and an estimated duration of use for these devices. The Simulator feature is used to simulate the electrical devices in a house. This feature requests input data for electrical devices, circuit breakers, and rooms. After that, the program will simulate whether an electrical overload occurs or not if the electrical devices are turned on simultaneously.
- Clone repository
git clone "https://gitlab.informatika.org/Jimly-Firdaus/watt-de-house.git"
-
Go into the directory in which the repo is cloned
-
Enter src
cd src
- Run the program
python main.py
-
Figure 1. Data Input Display
-
Figure 2. Simulator Display
-
Figure 3. Estimator Display
-
Figure 4. Room Display
-
Electrical Device Module
This table is used to store information regarding any electrical devices that are used in the program.
Attribute | Constraint |
---|---|
id | Integer, Primary Key |
status | Integer |
nama | Text |
daya | Real |
arus | Real |
tegangan | Real |
nama_ruangan | Text |
durasi | Integer |
This table is used to store the rooms in the house frame.
Attribute | Constraint |
---|---|
id | Integer, Primary Key |
nama_ruangan | Text |
circuit_breaker | Integer |
circuit_breaker_name | Text |
threshold | Real |
This table is used to show the relation between the room id and the device id.
Attribute | Constraint |
---|---|
id_ruangan | Integer |
id_perangkat_listrik | Integer |
Name (NIM) | Task |
---|---|
Wilson Tansil (13521054) | Simulator, GUI |
Bill Clinton (13521064) | Electrical Device, GUI |
Jimly Firdaus (13521102) | Data Input, GUI |
Ulung Adi Putra (13521122) | Estimator, GUI |
Muhammad Zaki Amanullah (13521146) | Room, GUI |