ConstantComponentSplitterConfig#
- class openstef_models.models.component_splitting.constant_component_splitter.ConstantComponentSplitterConfig(*, source_column: str = 'load', components: list[EnergyComponentType] = [EnergyComponentType.WIND, EnergyComponentType.SOLAR, EnergyComponentType.OTHER], component_ratios: dict[EnergyComponentType, float])[source]
Bases:
ComponentSplitterConfigConfiguration for constant component splitter.
Defines fixed ratios for splitting energy data into components. The ratios must sum to 1.0 and represent the known distribution of energy sources.
- Parameters:
source_column (
str)components (
list[EnergyComponentType])component_ratios (
dict[EnergyComponentType,float])
- component_ratios: dict[EnergyComponentType, float]
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].