It's certainly possible. The best approach depends mainly on how tightly you need to bind to input and output data and how much of the internals you need to access. Here are a couple of approaches that I've used with OpenDSS:
* Batch mode -- Generate inputs, run OpenDSS (or Gridlab-D), then read the text outputs. * COM interface -- Under windows, you can access OpenDSS via a COM interface. I think the OpenDSS website has examples of doing this from Python and Matlab. It's similar under R. Beyond that, there should be more direct ways to interface to either. On Wed, Jul 30, 2014 at 4:42 AM, Yamshid <yamshid.farhatquino...@bkw.ch> wrote: > Dear all, > > I want to know if it would be possible to have an interface between R and an > electrical load flow tool. > It would be interesting with Gridlab-D, an open-source tool that works in > C++. > > The idea is that we can develop a R programm that internally calls Gridlab-D > and process directly the results (also able to develop internal loops). > > In case that is not possible yet. Would someone be interested into develop > this interface together? > > Thank you. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Interface-between-R-and-a-Open-Load-Flow-tool-Gridlabd-or-OpenDSS-tp4694752.html > Sent from the R devel mailing list archive at Nabble.com. > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel