Merge redundant objects into one
merge_object(idf, class)
idf | An eplusr::Idf object |
---|---|
class | A character vector of class names in current eplusr::Idf. If
|
The modified object itself, invisibly
Redundant objects here refer to objects that have different names but all other field values are the same.
merge_object()
will only keep the first object and remove all redundant
objects. The field value references are handled automatically, i.e. all
field values that originally refer to the redundant objects will be
redirected to the object that is kept.
if (FALSE) { merge_object(idf, "ScheduleTypeLimits") }