pypsa.set_option#
- pypsa.set_option(option_name: str, value: Any) None#
Set value for option
- Parameters:
option_name (str) – The name of the option in the form “category.option_name”
value (Any) – The value to set
- Return type:
None
See also
get_optionGet value for option
describe_optionsPrint documentation for all options
Examples
>>> import pypsa >>> pypsa.set_option("warnings.components_store_iter", False)
or
>>> pypsa.options.warnings.components_store_iter = False