fixed code style in core/simulation.py