EGRET#

EGRET - Scenario Object for interfacing with EGRET JSON system and simulation data.

@author: Micah Webb

class gat.scenariohandlers.egret.EGRETScenario(simulation_files=None, gen_area_map=None, load_area_map=None, line_rating_map=None, solution_data=None)#

Class for interfacing with EGRET JSON data.

Parameters:#

solution_data: path to solution data.

Returns:#

EGRETScenario

get_gen_area_map()#

Loads the generator bus map based on first json file

get_gen_tech_map()#

Loads the generator egret tech map based on first json file

get_generator_dataframe(egret_obj)#

Extracts the generator data from a parsed json file.

get_generator_map(egret_obj, gen_key)#

Creates a Generator - area/Technology map based on loaded json obj.

get_raw_generators()#

Loops through the json files and aggregates to a generator dataframe

list_simulation_files()#

Returns list of simulation files to parse. May need Regex if directory has multiple types of json files.