Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
ComputationRunner Class Reference

#include <computation_runner.h>

Public Types

using Handler = std::function< void(const JSON &, Network &, const JSON &simulationConfig)>
 

Public Member Functions

 ComputationRunner (bool plottingEnabled=true)
 
int runAll (const JSON &sim, Network &network, const JSON &simulationConfig) const
 

Member Typedef Documentation

◆ Handler

using ComputationRunner::Handler = std::function<void(const JSON&, Network&, const JSON& simulationConfig)>

Constructor & Destructor Documentation

◆ ComputationRunner()

ComputationRunner::ComputationRunner ( bool  plottingEnabled = true)
explicit

Member Function Documentation

◆ runAll()

int ComputationRunner::runAll ( const JSON sim,
Network network,
const JSON simulationConfig 
) const
Returns
Number of computation steps that failed or used an unknown type.

Referenced by SimulationBuilder::runComputationsWithStatus().


The documentation for this class was generated from the following files: