Compilation simulation household electric fan program