How to add pip packages/Ruby gems to a OpenStudio workflow (.osw)

asked 2025-11-13 18:55:48 -0600

antonszilasi's avatar

updated 2025-11-13 19:02:28 -0600

Hello unmet hours community,

I am in the process of writing some python measures which are intended to work in a OpenStudio workflow (.osw), I came across this measure from PNNL

the measure uses the pip package cooper by importing it in measure.rb like so:

import copper as cp 
import typing

However by default the Openstudio cli the command

openstudio run --workflow

does not come with this pip package preloaded, so how can I load pip packages/ or Ruby gems into the OpenStudio cli?

Thank you!

edit retag flag offensive close merge delete