pypv


Namepypv JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/patrickpasquini/PyPv.git
Summarypypv is a state-of-the-art Python library designed to empower engineers and developers in the field of solar energy. This library simplifies the use of complex physical models, making it easier to calculate key solar parameters and optimize solar energy systems.
upload_time2024-02-26 20:27:51
maintainer
docs_urlNone
authorPatrick Pasquini
requires_python>=3.11
license
keywords photovoltaic pv panel pv inverter mppt pv-calculator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
    <a href="https://github.com/patrickpasquini/PyPv" target="_blank">
      <img src="./docs/assets/logo.png" alt="PyPv Logo">
    </a>
</div>

<div align="center">
    <a href="https://pypi.org/project/pypv/" target="_blank">
      <img src="https://img.shields.io/pypi/v/pypv" alt="PyPv Version">
    </a>
    <a href="https://pypi.org/project/pypv/" target="_blank">
      <img src="https://img.shields.io/badge/Python-3.11-blue" alt="Python Version">
    </a>
    <!-- <a href="LINK_TO_YOUR_COVERAGE_REPORT" target="_blank">
      <img src="https://img.shields.io/endpoint?url=URL_TO_YOUR_COVERAGE_BADGE_JSON&logo=pytest" alt="Coverage">
    </a> -->
    <a href="https://pepy.tech/project/pypv" target="_blank">
      <img src="https://static.pepy.tech/badge/pypv" alt="Downloads">
    </a>
</div>

---

**Documentation**: Building...

**Source Code**: <a href="https://github.com/patrickpasquini/PyPv" target="_blank">https://github.com/patrickpasquini/PyPv</a>

---

## Installation

You can install `pypv` using pip:
```bash
pip install pypv
```

## What is it?

**pypv** is a state-of-the-art Python library designed to empower engineers and developers in the field of solar energy. This library simplifies the use of complex physical models, making it easier to calculate key solar parameters and optimize solar energy systems. 

## Key Features

Here's a simple example of how to use the `calculate_pv_system` method:

```python
from pypv import PvSystem

# Config module and inverter
pv_module = PvModule(
    p_max=545,
    vmp=41.8,
    imp=13.09,
    voc=49.65,
    isc=13.92,
    efficiency=21.1,
    p_max_coefficient=-0.35,
    voc_coefficient=-0.27,
    isc_coefficient=0.048,
)

pv_inverter = PvInverter(
    start_voltage=90,
    max_voltage=600,
    nominal_voltage=360,
    nominal_power=5,
    efficiency=98,
    max_pv_power=6.5,
    MPPTs=[
        MPPT(min_voltage=90, max_voltage=560, isc=15, dc_inputs=1),
        MPPT(min_voltage=90, max_voltage=560, isc=15, dc_inputs=1),
    ],
)

# Creating an instance of PvSystem
pv_system = PvSystem(pv_module=pv_module, pv_inverter=pv_inverter, target_power=6, max_temperature=75, min_temperature=0)
pv_system.calculate()

# Displaying the results
PvSystem(inverter_quantity=2, ROS=0.8333333333333334, layouts=[Layout(line_quantity=2, modules_per_line=6), Layout(line_quantity=2, modules_per_line=5)])
```


## Contributing

We warmly welcome contributions to **pypv** Whether you're fixing a bug, adding a feature, or improving documentation, your help is invaluable.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/patrickpasquini/PyPv.git",
    "name": "pypv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "",
    "keywords": "photovoltaic,pv panel,pv inverter,mppt,pv-calculator",
    "author": "Patrick Pasquini",
    "author_email": "contatopasquini@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/03/bff036a53e086020da6d2cda6efd91ee161b6511f36afcce7bee439e4893/pypv-0.3.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n    <a href=\"https://github.com/patrickpasquini/PyPv\" target=\"_blank\">\n      <img src=\"./docs/assets/logo.png\" alt=\"PyPv Logo\">\n    </a>\n</div>\n\n<div align=\"center\">\n    <a href=\"https://pypi.org/project/pypv/\" target=\"_blank\">\n      <img src=\"https://img.shields.io/pypi/v/pypv\" alt=\"PyPv Version\">\n    </a>\n    <a href=\"https://pypi.org/project/pypv/\" target=\"_blank\">\n      <img src=\"https://img.shields.io/badge/Python-3.11-blue\" alt=\"Python Version\">\n    </a>\n    <!-- <a href=\"LINK_TO_YOUR_COVERAGE_REPORT\" target=\"_blank\">\n      <img src=\"https://img.shields.io/endpoint?url=URL_TO_YOUR_COVERAGE_BADGE_JSON&logo=pytest\" alt=\"Coverage\">\n    </a> -->\n    <a href=\"https://pepy.tech/project/pypv\" target=\"_blank\">\n      <img src=\"https://static.pepy.tech/badge/pypv\" alt=\"Downloads\">\n    </a>\n</div>\n\n---\n\n**Documentation**: Building...\n\n**Source Code**: <a href=\"https://github.com/patrickpasquini/PyPv\" target=\"_blank\">https://github.com/patrickpasquini/PyPv</a>\n\n---\n\n## Installation\n\nYou can install `pypv` using pip:\n```bash\npip install pypv\n```\n\n## What is it?\n\n**pypv** is a state-of-the-art Python library designed to empower engineers and developers in the field of solar energy. This library simplifies the use of complex physical models, making it easier to calculate key solar parameters and optimize solar energy systems. \n\n## Key Features\n\nHere's a simple example of how to use the `calculate_pv_system` method:\n\n```python\nfrom pypv import PvSystem\n\n# Config module and inverter\npv_module = PvModule(\n    p_max=545,\n    vmp=41.8,\n    imp=13.09,\n    voc=49.65,\n    isc=13.92,\n    efficiency=21.1,\n    p_max_coefficient=-0.35,\n    voc_coefficient=-0.27,\n    isc_coefficient=0.048,\n)\n\npv_inverter = PvInverter(\n    start_voltage=90,\n    max_voltage=600,\n    nominal_voltage=360,\n    nominal_power=5,\n    efficiency=98,\n    max_pv_power=6.5,\n    MPPTs=[\n        MPPT(min_voltage=90, max_voltage=560, isc=15, dc_inputs=1),\n        MPPT(min_voltage=90, max_voltage=560, isc=15, dc_inputs=1),\n    ],\n)\n\n# Creating an instance of PvSystem\npv_system = PvSystem(pv_module=pv_module, pv_inverter=pv_inverter, target_power=6, max_temperature=75, min_temperature=0)\npv_system.calculate()\n\n# Displaying the results\nPvSystem(inverter_quantity=2, ROS=0.8333333333333334, layouts=[Layout(line_quantity=2, modules_per_line=6), Layout(line_quantity=2, modules_per_line=5)])\n```\n\n\n## Contributing\n\nWe warmly welcome contributions to **pypv** Whether you're fixing a bug, adding a feature, or improving documentation, your help is invaluable.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "pypv is a state-of-the-art Python library designed to empower engineers and developers in the field of solar energy. This library simplifies the use of complex physical models, making it easier to calculate key solar parameters and optimize solar energy systems.",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/patrickpasquini/PyPv.git"
    },
    "split_keywords": [
        "photovoltaic",
        "pv panel",
        "pv inverter",
        "mppt",
        "pv-calculator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fc274b08ebe77eedfc62715cbaa83a4a10e9de63cbd2ded8255c3b7ad6ec616",
                "md5": "c311e04bd5ed2c13e4314dc5d4082781",
                "sha256": "7bb1299c38d00ca99dcb81fcf91a535d3a2ed762373dac9ee9554d4eda815277"
            },
            "downloads": -1,
            "filename": "pypv-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c311e04bd5ed2c13e4314dc5d4082781",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 9829,
            "upload_time": "2024-02-26T20:27:50",
            "upload_time_iso_8601": "2024-02-26T20:27:50.582299Z",
            "url": "https://files.pythonhosted.org/packages/5f/c2/74b08ebe77eedfc62715cbaa83a4a10e9de63cbd2ded8255c3b7ad6ec616/pypv-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b803bff036a53e086020da6d2cda6efd91ee161b6511f36afcce7bee439e4893",
                "md5": "1d185b1d9760f99631e4edca3d5fa23d",
                "sha256": "1a5a46daaa6316ab9989411db1a6e6afb8cac4962b5708b38d71b2dcee84b14e"
            },
            "downloads": -1,
            "filename": "pypv-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1d185b1d9760f99631e4edca3d5fa23d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 9401,
            "upload_time": "2024-02-26T20:27:51",
            "upload_time_iso_8601": "2024-02-26T20:27:51.770092Z",
            "url": "https://files.pythonhosted.org/packages/b8/03/bff036a53e086020da6d2cda6efd91ee161b6511f36afcce7bee439e4893/pypv-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-26 20:27:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "patrickpasquini",
    "github_project": "PyPv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pypv"
}
        
Elapsed time: 1.21843s