First time here? Check out the Help page!
answered 2016-04-29 09:35:34 -0600
Try changing your workflow to this:
wf = OpenStudio::Runmanager::Workflow.new("modeltoidf->expandobjects->energypluspreprocess->energyplus")