First time here? Check out the Help page!
1 | initial version |
Ruby isn't harder than Python to learn. I have been using Python for years, and when I picked up Ruby (for OpenStudio), I had no trouble making the switch. They look pretty similar.
As far as your questions goes, I'd say it depends on what you're trying to achieve. Generally speaking, your life will be easier in the openstudio ecosystem if you use ruby, for a variety of reason:
That being said, I am still an avid user of Python especially for visualization/post-processing, since Python has a ton of very useful modules for science / data manipulation / visualization, that ruby is lacking. Part of these I have explained in Time series visualization tools? if you're curious.
So I'd say that if you are a professional trying to use OpenStudio to model real world buildings, go Ruby. Even if you already know Python as a matter of fact.
Only if you're just using OpenStudio as one tool inside a much vaster ecosystem, for example to run a lot of parametric analysis and want to do heavy post processing etc, then perhaps Python is the better path.
2 | No.2 Revision |
Ruby isn't harder than Python to learn. I have been using Python for years, and when I picked up Ruby (for OpenStudio), I had no trouble making the switch. They look pretty similar.
As far as your questions goes, I'd say it depends on what you're trying to achieve. Generally speaking, your life will be easier in the openstudio ecosystem if you use ruby, for a variety of reason:
That being said, I am still an avid user of Python especially for visualization/post-processing, since Python has a ton of very useful modules for science / data manipulation / visualization, that ruby is lacking. Part of these I have explained in Time series visualization tools? if you're curious.
So I'd say that if you are a professional trying to use OpenStudio to model real world buildings, go Ruby. Even if you already know Python as a matter of fact.
Note that there are classes (online or in-person) that deal with OpenStudio scripting, you could start by looking at the Best Directory (disclaimer: I'm the owner of EffiBEM, one of the listed companies).
Only if you're just using OpenStudio as one tool inside a much vaster ecosystem, for example to run a lot of parametric analysis and want to do heavy post processing etc, then perhaps Python is the better path.