def create(rps_schedule):
if len(rps_schedule) > <NUM_LIT:1>:<EOL><INDENT>lp = Composite(<EOL>[StepFactory.produce(step_config) for step_config in rps_schedule])<EOL><DEDENT>else:<EOL><INDENT>lp = StepFactory.produce(rps_schedule[<NUM_LIT:0>])<EOL><DEDENT>info.status.publish('<STR_LIT>', lp.get_duration() / <NUM_LIT:1000>)<EOL>info.status.publish('<STR_LIT>', lp.get_rps_list())<EOL>info.status.lp_len = len(lp)<EOL>return lp<EOL>
Create Load Plan as defined in schedule. Publish info about its duration.