Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pollution Monitoring Simulation

This project simulates pollution monitoring in Jakarta using OMNeT++.

How to Run the Simulation

Option 1: Using OMNeT++ GUI (Recommended)

  1. Open OMNeT++ IDE
  2. Import this project using File > Import > Existing Projects into Workspace
  3. Right-click on the project in Project Explorer
  4. Select "Run As" > "OMNeT++ Simulation"
  5. Choose the "General" configuration and click "Run"

Option 2: Command Line

To run the simulation from the command line, use:

cd /path/to/omnetpp-6.1
source setenv
cd samples/PollutionMonitoring
opp_run -m -u Qtenv -c General -n "src;."

Troubleshooting

If you encounter "network not found" error, make sure:

  1. The package names in the NED files are consistent with the directory structure
  2. You have the correct path set with the -n option

Key Features

  • Pollution monitoring with 4 categories (BAIK, SEDANG, TIDAK SEHAT, SANGAT TIDAK SEHAT)
  • CSMA-based wireless communication protocol
  • Simulates real-world sensor network for air quality monitoring

Generated Data Files

After running the simulation, check the following files in the simulations directory:

  • CSMA_pollution_data_0.csv - Contains sensor readings with pollution categories
  • CSMA_collision_data_0.csv - Records of network collisions

About

Simulating Pollution in DKI Jakarta using OMNET++ A C++ based software

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages