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.
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.
gfm-lpnorm is distributed as Maven project. To install gfm-lpnorm as Maven project, follow these steps
- Download Apache Maven and unzip the package into a location of your choice.
- Update your PATH variable to point at the bin directory where the "mvn" executable is located
- Download and install Java 1.8 JDK (or later).
- Update JAVA_HOME to point at directory of your Java installation.
- Install a git tool
- Download the repository using the following command
git clone https://github.com/lanl-ansi/micot-general-fragility.git
- Build and package the code using the command
mvn -Dmaven.test.skip=true package
from the top level directory of the git repository
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)