fill_etrago_gen
- class Egon_etrago_gen(dependencies)[source]
Bases:
egon.data.datasets.DatasetGroup generators based on Scenario, carrier and bus. Marginal costs are assigned to generators without this data. Grouped generators are sent to the egon_etrago_generator table and a timeseries is assigned to the weather dependent ones.
- Dependencies
- Resulting tables
grid.egon_etrago_generatoris extendedgrid.egon_etrago_generator_timeseriesis filled
- name: str = 'etrago_generators'
- version: str = '0.0.8'
- set_timeseries(power_plants, renew_feedin)[source]
Create a function to calculate the feed-in timeseries for power plants.
- Parameters
power_plants (DataFrame) – A DataFrame containing information about power plants, including their bus IDs, carriers, weather cell IDs, and electrical capacities.
renew_feedin (DataFrame) – A DataFrame containing feed-in values for different carriers and weather cell IDs.
- Returns
function – A function that takes a power plant object and returns its feed-in value based on either its direct weather cell ID or the aggregated feed-in of all power plants connected to the same bus and having the same carrier.