TechnoEconomicDataset

Overview

TechnoEconomicDataset provides structured techno-economic data handling for model attributes.

Use Cases

  • Store and process techno-economic assumptions.

  • Supply validated values to technology attribute pipelines.

Examples

from zen_creator import TechnoEconomicDataset

# Typically extended in project-specific implementations.
class MyTechnoEconomicDataset(TechnoEconomicDataset):
    pass

Summary

zen_creator.TechnoEconomicDataset.__init__

Initialize a Dataset instance.

Constructors

TechnoEconomicDataset.__init__(source_path: Path | str)

Initialize a Dataset instance.

Parameters:

source_path (str | Path | None) – Path to the source data directory.

Member Reference

class zen_creator.TechnoEconomicDataset(*args: Any, **kwargs: Any)

Bases: Dataset[T], Generic[T]

Dataset class for techno-economic source data.

abstract get_construction_time(technology: str) DataFrame

Method to get the construction time of a technology.

abstract get_cost_data(technology: str, variable: str, target_year: int) DataFrame

Method to get the finance data of a technology.

abstract get_efficiency(technology: str) DataFrame

Method to get the efficiency of a technology.

abstract get_lifetime(technology: str) DataFrame

Method to get the lifetime of a technology.

static get_units(unit, is_ccs=False)

returns money, energy and power unit.

static get_years() list[int]

Get the list of years for techno-economic data.

abstract property money_year_source: int
name: str = 'techno_economic_dataset'
rename_index(df: DataFrame | Series, rename_map: dict[str, str | tuple[str, ...]]) DataFrame

Rename dataframe index according to a mapping using a vectorized approach.

Supports:

old_id -> new_id old_id -> (new_id1, new_id2, …)

Rows are duplicated if multiple new IDs are assigned.

set_available_technologies(finance: DataFrame | None = None, efficiency: DataFrame | None = None, lifetime: DataFrame | None = None, construction_time: DataFrame | None = None)

Set the available technologies for the data source.

abstract property unit: str