https://github.com/PyPSA/PyPSA
Raw File
Tip revision: 82d6493769af64523267a27df3dd0b636e2ca6af authored by Fabian on 02 April 2024, 05:59:41 UTC
components: ensure buses come first in merge function
Tip revision: 82d6493
__init__.py
# -*- coding: utf-8 -*-
"""
Python for Power Systems Analysis (PyPSA)

Energy system modelling library.
"""

import sys

from pypsa import (
    clustering,
    components,
    contingency,
    descriptors,
    examples,
    geo,
    io,
    linopf,
    linopt,
    optimization,
    pf,
    plot,
    statistics,
)
from pypsa.components import Network, SubNetwork

if sys.version_info < (3, 12):
    from pypsa import opf, opt

__version__ = "0.27.1"

__author__ = (
    "PyPSA Developers, see https://pypsa.readthedocs.io/en/latest/developers.html"
)
__copyright__ = (
    "Copyright 2015-2023 PyPSA Developers, see https://pypsa.readthedocs.io/en/latest/developers.html, "
    "MIT License"
)
back to top