Many thanks! 2015-07-24 23:24 GMT+08:00 Ray Zimmerman <[email protected]>:
> There is no problem with using direct specification to supply a vector > rhat, with different shift for each nodal voltage. Simply define N so that > r is the vector of bus voltages, then rhat can be the corresponding shifts. > > Ray > > > > On Jul 24, 2015, at 11:06 AM, 陈春宇 <[email protected]> wrote: > > > > Hi everyone, > > > > I referred to Section 7.1 Direct Specification and 7.2 Callback > Functions and have a problem regarding user-defined cost function. In my > case, I doesn't need new variables, simply a set of nodal voltage. And I > want to regulate them as close as to a set of values(each nodal volatge > corresponds to different value). In Direct Specification method, rhat is > used as the shift for all the variables. But I need different shifts. Is > there some way I can use or should I use Callback Functions? Thanks very > much! > > > > Best Regards > > > >
