elecsim.agents.generation_company package

Submodules

elecsim.agents.generation_company.gen_co module

class elecsim.agents.generation_company.gen_co.GenCo(unique_id, model, name, difference_in_discount_rate, look_back_period, plants=None, money=5000000, rl_bidding=False)[source]

Bases: mesa.agent.Agent

calculate_bids(segment_hour, predict=False, actions=None)[source]

Function to generate the bids for each of the power plants owned by the generating company. The bids submitted are the fixed costs divided by lifetime of plant plus yearly variable costs plus a 10% margin :param segment_hour: Number of hours in which the current segment is required :param segment_demand: Electricity consumption required for the specified number of hours :return: Bids returned for the available plants at the specified segment hour

create_bid[source]
delete_old_bids()[source]
dismantle_old_plants()[source]

Remove plants that are past their lifetime agent from plant list

forecast_attribute_price(fuel_type)[source]
forecast_demand_change()[source]
invest()[source]
invest_RL(action)[source]
purchase_coal()[source]
purchase_fuel()[source]
purchase_gas()[source]
settle_accounts()[source]
step()[source]

A single step of the agent.

elecsim.agents.generation_company.gen_co.get_renewable_availability[source]
elecsim.agents.generation_company.gen_co.logger = <Logger elecsim.agents.generation_company.gen_co (WARNING)>

gen_co.py: Agent which represents a generation company

Module contents