def _add_unconnected_var(self, pathname, meta):
        if 'val' in meta:
            val = meta['val']
        elif 'shape' in meta:
            shape = meta['shape']
            val = numpy.zeros(shape)
        else:
            raise RuntimeError("Unconnected param '%s' has no specified val or shape" %
                               pathname)

        self._dat[self._sysdata._scoped_abs_name(pathname)] = \
                 Accessor(self, None, val, meta, self._probdata, False,
                          dangling=True)
Add an entry to this vecwrapper for the given unconnected variable so the
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/vec_wrapper.py/TgtVecWrapper._add_unconnected_var