Revision history  [back]

Those are unique objects in OpenStudio, so you create them with a get method on the Model class. You can remove them like any other object:

model = OpenStudio::Model::Model.new
puts model

lccp = model.getLifeCycleCostParameters
sc = model.getSimulationControl
puts model

lccp.remove
sc.remove
puts model