Issue263 add borefield model

Here is the borefield model.

I reverted all the unwilling changes that happened on the Buildings models. I hope I did it correctly.

Any comments or questions are welcome.
I don't understand your question. The file erf.c should be installed by C.
On Linux Ubuntu 14.04, the following works:
git clone -b issue263_addBorefieldModel
https://github.com/damienpicard/modelica-buildings.git

Open dymola, then run:
simulateModel("Buildings.Fluid.HeatExchangers.Borefield.BaseClasses.GroundHX.BaseClasses.Examples.ierf",
method="dassl", resultFile="ierf");

Hence, erf.c can be found. Does this not work on Windows?

Michael


On Thu, Sep 25, 2014 at 2:41 AM, Damien Picard <notifications@github.com>
wrote:

> In
> Buildings/Fluid/HeatExchangers/Borefield/BaseClasses/GroundHX/BaseClasses/erf.mo:
>
> > @@ -0,0 +1,21 @@
> > +within Buildings.Fluid.HeatExchangers.Borefield.BaseClasses.GroundHX.BaseClasses;
> > +function erf "Error function, using the external c-function"
> > +  extends Modelica.Math.Nonlinear.Interfaces.partialScalarFunction;
> > +
> > +external"C" y = erf(u);
> > +  annotation (
> > +    Include="#include <erf.c>",
>
> From where? I didn't find any error function in the standard library.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lbl-srg/modelica-buildings/pull/272/files#r18023075>.
>