Novel simulation software for a hybrid system emulation test rig