Giter Site home page Giter Site logo

opendss-fncs's Introduction

opendss-fncs

Software container combining OpenDSS and FNCS

This project is intended to be used in conjunction with docker_dss and is an extension of that project to allow the containerization of OpenDSS with FNCS.

Building the software

The simplest way to build the software is to use either Podman or Docker and build images directly from the git repository.

With Podman

Building with Podman directly from the git repository requires only that Podman is installed, that there is a connection to the internet and that there is sufficient space on your machine to store the images (at the moment, this is about 2.9 GB, but all but 80.2 MB can be deleted after the build is complete if desired).

podman build https://github.com/beroset/docker_dss.git -t beroset/opendss && \
podman build https://github.com/beroset/opendss-fncs.git -t beroset/opendss-fncs

With Docker

Building with Docker directly from the git repository requires only that Docker is installed, that the Docker daemon is running, and that there is a connection to the internet and that there is sufficient space on your machine to store the images (at the moment, this is about 2.9 GB, but all but 80.2 MB can be deleted after the build is complete if desired).

docker build https://github.com/beroset/docker_dss.git -t beroset/opendss && \
docker build https://github.com/beroset/opendss-fncs.git -t beroset/opendss-fncs

Cleaning up

If you started with no Podman or Docker images and list the images (using podman images or docker images) after the build is complete, you will see something like this:

REPOSITORY                       TAG           IMAGE ID       CREATED          SIZE
localhost/beroset/opendss-fncs   latest        da7da33771cb   4 minutes ago    80.2 MB
<none>                           <none>        7abd9ab508a8   4 minutes ago    908 MB
localhost/beroset/opendss        latest        fa793f198e81   15 minutes ago   77.1 MB
<none>                           <none>        49af6d3cbb55   15 minutes ago   1.57 GB
docker.io/library/debian         buster-slim   e5aad4204d00   3 weeks ago      72.5 MB
docker.io/library/debian         buster        3de0e2c97e5c   3 weeks ago      119 MB

If you want to conserve space on your hard drive, all of the images except for the most recent one (localhost/beroset/opendss-fncs) could be removed. Alternatively, only the largest two, with tags of <none> could be deleted, returning about 2.5 GB of disk space. The only difference between the /beroset/opendss and /beroset/opendss-fncs images is that the latter also includes FNCS. That is, everything that /beroset/opendss can do can also be done with /beroset/opendss-fncs, so for maximum flexibility, one could always use the fncs version.

However, if you are planning to modify the containter files and rebuild the images, it may be helpful to leave the large intermediate images in place to speed the rebuild process.

opendss-fncs's People

Contributors

beroset avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yuanzy97

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.