Instead of add_str, I would recommend making changes using the python bindings for the OpenStudio SDK.
@chris posted an example on the 1.4.0 release post.
Ladybug Tools for Grasshopper 1.4.0 Release - announcements / releases - Ladybug Tools | Forum