Giter VIP home page Giter VIP logo

gfm-lpnorm's Introduction

gfm-lpnorm Introduction

This is a custom version of the micot-general-fragility model (GFM) for the LPNORM project and is referred to as gfm-lpnorm. The support for this version of LPNORM will mingrate to the current GFM at a future date. Right now this is the only version of GFM we should be using in LPNORM.

Compiled JAR Installation Installation

gfm-lpnorm is used as a standalone, commmand line program. The compiled, runnable jar file is found in target/gfm-lpnorm.jar. See the section on usuage for instructions on how execute the command line program.

Maven Installation

gfm-lpnorm is distributed as Maven project. To install gfm-lpnorm as Maven project, follow these steps

  1. Download Apache Maven and unzip the package into a location of your choice.
  2. Update your PATH variable to point at the bin directory where the "mvn" executable is located
  3. Download and install Java 1.8 JDK (or later).
  4. Update JAVA_HOME to point at directory of your Java installation.
  5. Install a git tool
  6. Download the repository using the following command git clone https://github.com/lanl-ansi/micot-general-fragility.git
  7. Build and package the code using the command mvn -Dmaven.test.skip=true package from the top level directory of the git repository

Usage

The runnable jar file is executed with the command

java -jar gfm-lpnorm.jar

You call this JAR from the command line with the following flags

required arguments:
  -wf              path to the wind field Esri Ascii input file
  -r               path to the power system input file (RDT format)
  -o               path to the damage output file (RDT format)

optional arguments:
  -po              path to the poles output file
  -reo             path to the response estimator output file
  -feo             path to the fragility exposure output file
  -num             number of scenarios to generate in the damage output file (default is 1)

Continuous Integration

Build Status

codecov

gfm-lpnorm's People

Contributors

dpinney avatar rb004f avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gfm-lpnorm's Issues

Rename repository to gfm-lpnorm

Please see issue title. Goal is to reduce confusion with the other GFM out there.

Also please rename compiled jar to gfm-lpnorm.jar.

Need good outputs

Right now the model outputs:

  1. USER_PROVIDED_NAME is the full input to RDT
  2. RDT-to-Poles.json LOGGING FILE, estimate of where the poles are generated synthetically. 3. 3. 3. FRAGILITY_ResponseEstimators.json LOGGING FILE, shows where the actual damage.

Requested changes:

  1. Only generate logging files when they are requested.
  2. Let the user choose the logging file names. Multiple runs of the program = logging files clobber each other.

Readme updates

Need updates to:

  1. The real command line flags that are used, and

  2. Where to find the compiled JAR.

These have been marked with text in brackets in the readme.

Show disabled loads as part of GFM output

Is it possible to list the loads that were lost in the GFM output?

This would simplify post-run analysis.

If this isn't possible inside GFM, it's something that could be done elsewhere (i.e. by comparing damaged lines from GFM to source circuit model).

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.