From tshort.rlists at gmail.com  Thu Jul 31 23:41:44 2014
From: tshort.rlists at gmail.com (Tom Short)
Date: Thu, 31 Jul 2014 17:41:44 -0400
Subject: [Rd] Interface between R and a Open Load Flow tool (Gridlabd or
	OpenDSS)
In-Reply-To: <1406709758530-4694752.post@n4.nabble.com>
References: <1406709758530-4694752.post@n4.nabble.com>
Message-ID: <CA+o9du2OKef=W+AKwMGrFhLJjMmg9_vDacEiRJ+2M___c+tQDw@mail.gmail.com>

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



[Rd] Interface between R and a Open Load Flow tool (Gridlabd or OpenDSS)
Tom Short