added simulationcode in test.py, some more brite model