pypsa.get_option#
- pypsa.get_option(path: str) Any#
Get the value of an option at the specified path.
- Parameters:
path (str) – Path to the option. Must be in the format “category.option_name” or “category.subcategory.option_name”
- Returns:
The value of the option.
- Return type:
Any
Examples
>>> pypsa.options.get_option("params.statistics.drop_zero") True >>> pypsa.options.get_option("params.statistics.nice_names") True