01OpenStudio Today

Two schemas and two ways to represent a building model

OpenStudio exposes a typed Model API backed by OpenStudio.idd. The Forward Translator converts that model to an EnergyPlus IDF.

E+
Simulation engine

EnergyPlus

schema → text
Input schema Energy+.idd
858 object types

Objects, fields, units, choices, defaults, and references

defines
Input model
.idf text
Building,
  Example Office,
  0.0,         !- North Axis
  Suburbs;     !- Terrain

The text file is the simulation payload.

OS
Modeling platform

OpenStudio

schema → objects
Model schema OpenStudio.idd
563 object types

A similar—but independently designed—set of model records

backs
Primary interface
Model API
model = OpenStudio::Model::Model.new
building = model.getBuilding

Typed classes, object relationships, and Model helper methods

.osm text persists the model
Work here OpenStudio Model
Forward Translator
Generate EnergyPlus IDF
Run EnergyPlus

The Forward Translator converts the OpenStudio Model to EnergyPlus IDF.