Class RunLoadFlowTool

java.lang.Object
com.powsybl.loadflow.tools.RunLoadFlowTool
All Implemented Interfaces:
Tool

@AutoService(Tool.class) public class RunLoadFlowTool extends Object implements Tool
Author:
Christian Biasuzzi <[email protected]>
  • Constructor Details

    • RunLoadFlowTool

      public RunLoadFlowTool()
  • Method Details

    • getCommand

      public Command getCommand()
      Description copied from interface: Tool
      Get the command of the tool.
      Specified by:
      getCommand in interface Tool
    • run

      public void run(org.apache.commons.cli.CommandLine line, ToolRunningContext context) throws Exception
      Description copied from interface: Tool
      Run the tool.
      Specified by:
      run in interface Tool
      Parameters:
      line - the command line arguments
      context - tool execution context
      Throws:
      Exception - if the command fails