This is an example concept that show IoT type of sensors and actuators can be scheduled automatically based on parameters and constraints specified by the system designer. The schedule load distribution is optimized by using the Linear Programming method.
- Assuming Python 3 programming environment already configured by the user; execute
pip install pulp
on Windows with administrative right orsudo pip install pulp
on Linux.
- Execute
smartfarm_problem.py
, the result will change based on randomized weather forecast.
For generalized example, check the ./modules/linear_programming.py and ./modules/random_generator.py to see the Python modules implementation.
This work was partially supported by Interface Corporation, Japan.