elecsim.model package

Submodules

elecsim.model.world module

class elecsim.model.world.World(initialization_year, scenario_file=None, fitting_params=None, long_term_fitting_params=None, future_price_uncertainty_m=None, future_price_uncertainty_c=None, carbon_price_scenario=None, demand_change=None, demand_distribution=None, number_of_steps=32, total_demand=None, number_of_agents=None, market_time_splices=1, data_folder=None, time_run=False, nuclear_subsidy=None, highest_demand=None, log_level='warning', client_rl=None, distribution_name=None, dropbox=None, gencos_rl=[], write_data_to_file=True, rl_port_number=9920)[source]

Bases: mesa.model.Model

Model for the electricity landscape world

clear_all_bids()[source]
create_data_loggers(data_folder)[source]
delete_old_bids()[source]
dismantle_old_plants()[source]

Remove plants that are past their lifetime agent from each agent from their plant list

dismantle_unprofitable_plants()[source]
filter_plants_with_no_income(plants)[source]
static get_accepted_bid_capacity(model, plant_type)[source]
static get_accepted_bid_capacity_per_segment_hour(model)[source]
static get_accepted_bids(gencos, plant_type=None)[source]
static get_all_plants(model)[source]
static get_capacity_of_plants(model, plant_type)[source]
static get_carbon_emitted(model)[source]
static get_current_carbon_tax(model)[source]
static get_electricity_cost(model)[source]
static get_genco_wealth(model)[source]
get_gencos()[source]
get_profitable_plants(plants)[source]
get_running_plants(plants)[source]
initialize_gencos(financial_data, plant_data, gencos_rl)[source]
Creates generation company agents based on financial data and power plants owned. Estimates cost parameters
of each power plant if data not for power plant not available.
Parameters:
  • financial_data – Data containing information about generation company’s financial status
  • plant_data – Data containing information about generation company’s plants owned, start year and name.
operate_constructed_plants(minimum_operation_year=2018)[source]
override_carbon_scenario(carbon_price_scenario)[source]
override_demand_change(demand_change)[source]
override_highest_demand(highest_demand)[source]
override_total_demand(total_demand, number_of_agents=None)[source]
overwrite_scenario_file(scenario_file)[source]
set_log_level(log_level)[source]
settle_gencos_financials()[source]
step(carbon_price=None)[source]

Advance model by one step

stratify_data(demand)[source]
write_scenario_data()[source]
write_timing_results(end, time_elapased)[source]
elecsim.model.world.logger = <Logger elecsim.model.world (WARNING)>

Model.py: Model for the electricity landscape world

Module contents