pypsa.get_option#
- pypsa.get_option(option_name: str) Any#
Get value for option
- Parameters:
option_name (str) – The name of the option in the form “category.option_name”
- Returns:
The value of the option
- Return type:
Any
See also
set_optionSet value for option
describe_optionsPrint documentation for all options
Examples
>>> import pypsa >>> pypsa.get_option("warnings.components_store_iter") True
or
>>> pypsa.options.warnings.components_store_iter True