Based on http://sourceforge.net/projects/gridlab-d/ at r4534.  FNCS capabilities added.