1) Add a "valid_to" ability to the model. Currently, it re-synchronizes with Matlab every time there is a new iteration or sync call...this can be a massive transfer of data that's not necessary and slows the simulation. Suggest a "valid_to" feature, maybe be making the Matlab link an "object", that disconnects Matlab and GLD for a given amount of time.
2) A list / grouping function would be handy, i.e., I want the cooling setpoint for every house on groupid feeder1. This will be helpful for global optimization scenarios.
3) Convert the current GLM syntax to something more inline with other GLM syntax. Specifically, the Matlab link is looking for a single line of code up to 1024 characters long, without carriage returns. Suggest making it more flexible, maybe use object syntax {} to define start and finish of code.
4) Currently debug or display options in the Matlab code do not get displayed, i.e., passed from the Matlab code out to the command line. Makes it very difficult to debug. I imagine this is a setting in activating the Matlab command window, but unsure.
Item (1) can be implemented by add the following variables to '''glxlink''' in core/link.h:
Add the following declaration at the top of glxmatlab/matlab.cpp:
Add the following into the if-else-if sequence in '''matlab_settag''' in glxmatlab/matlab.cpp:
Add the following to the end of '''glx_init''':
Add the following to '''glx_sync''' in glxmatlab/matlab.cpp before matlab_exec() call:
Diff:
valid_to has been successfully added to trunk in r5360. Has any work been done on tasks 2-4? If not then we can don't have to do a diff on this ticket. otherwise we will.
Items 2-4 have not been addressed as far as I know.
Thanks Dave. I'll mark the branch for deletion. We'll keep the ticket open of course.
Postponing to future milestone.