Yamshid
2014-Jul-30 08:42 UTC
[Rd] Interface between R and a Open Load Flow tool (Gridlabd or OpenDSS)
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.
Tom Short
2014-Jul-31 21:41 UTC
[Rd] Interface between R and a Open Load Flow tool (Gridlabd or OpenDSS)
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.FarhatQuinones at 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 at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel