semvec/pypi-packages huggingface dataset:
pyflow-acdc 0.4.0
A python-based tool for the design and analysis of hybrid AC/DC grids
Requires Python: >=3.9

<img src="docs/images/logo_dark.svg" align="right" width="200px">

# PyFlow ACDC
A python-based tool for the design and analysis of hybrid AC/DC grids


PyFlow ACDC is a program worked on by ADOreD Project 

This project has received funding from the European Union’s  Horizon Europe 
Research and Innovation programme under the Marie Skłodowska-Curie grant 
agreement No 101073554.

## Important

This project is experimental and under active development. Issue reports and contributions are very welcome.

## Installation

### For Users
To run examples, download the folder to your repository including the csv folders.

### For Developers
#### Initial Setup
1. Install Git if you haven't already:
   ```bash
   # For Ubuntu/Debian
   sudo apt-get install git
   # For Windows: Download from https://git-scm.com/download/win
   ```

2. Clone the repository:
```bash
git clone https://github.com/BernardoCV/pyflow_acdc.git
cd pyflow_acdc
```

3. Install in development mode:
```bash
pip install -e .
```
This installs the package in "editable" mode, allowing you to modify the code without reinstalling.

#### Making Changes

1. Create a new branch for your changes:
```bash
git checkout -b new-branch-name
git push origin new-branch-name
```

2. To push your changes to the remote repository:
```bash
git add .
git commit -m "Description of your changes"
git pull origin new-branch-name
git push origin new-branch-name
```

3. To pull the latest changes from the remote repository:
```bash
git pull origin main
```

To merge your changes into the main branch please contact the repository owner.

For mapping you will need to install the following packages:
```bash
pip install folium
```

For OPF you will need to install the following packages:
```bash

pip install pyomo
conda install -c conda-forge ipopt

```

**Note:** `ipopt` is not available on PyPI and must be installed via conda-forge.

For OPF run in Linux for the TEP:
```bash

sudo apt update
sudo apt install coinor-libbonmin-dev
conda install -c conda-forge ipopt
conda install -c conda-forge coin-or-bonmin

```


For Dash you will need to install the following packages:
```bash
pip install dash

```
## Test

```bash
pyflow-acdc-test       
```
Flags
```bash      
--quick      # Quick tests only
--tep        #TEP tests only


--show-output # All tests with output


```
## Documentation
Online documentation can be found at:

https://pyflow-acdc.readthedocs.io/

To build the latest documentation of a branch, build it locally.

To build the documentation:
```bash
cd docs
pip install -r requirements.txt
.\make html
```

The documentation will be available in `docs/_build/html/index.html`
pycrc 0.11.0
A free, easy to use Cyclic Redundancy Check source code generator for C/C++
Requires Python: >=3.8

pycrc
=====

[pycrc](https://pycrc.org) is a free, easy to use Cyclic Redundancy Check (CRC)
calculator and C source code generator.


System Requirements
-------------------

Python 3.8 or newer is required to run pycrc.
The last version compatible with Python 2 is v0.9.x.

Running pycrc
-------------

This program doesn't need to be installed to be run. The script can be
executed from the source directory.
Simply call the python interpreter with the script as parameter:

    python3 src/pycrc.py [options]

Installation
------------

Install pycrc (if required) using pip:

    python3 -m pip install pycrc

or apt (on Debian 13 and later, Ubuntu 23.10 and later, and
derivatives):

    sudo apt install pycrc

Either of these will install a `pycrc` binary in the path.


Getting help
------------

If you are new to pycrc and want to generate C code, start with
[the tutorial](https://pycrc.org/tutorial.html).

The [pycrc manual page](https://pycrc.org/pycrc.html) explains the command line
options in some detail and also gives some more examples how to use pycrc.

If you have found a bug in pycrc or want to request a feature please take the
time and submit it to the
[issue tracker](https://github.com/tpircher/pycrc/issues).
Thanks for your help.

Also see the [frequently asked questions](https://pycrc.org/faq.html).


Feedback
--------

If you like pycrc, let me know and drop me a note. If you don't like pycrc let
me know what you don't like and why.
If you want some idea how to say thanks for this software, please have a look
[here](https://www.tty1.net/say-thanks_en.html).


Copyright of the generated source code
--------------------------------------

The MIT licence allows commercial use of the source and the output of the
program. But since I got asked on occasion whether the generated code is
encumbered by the copyright of the author, I give my view on this:

The code generated by pycrc is not considered a substantial portion of the
software, therefore the licence does not cover the generated code; the
author of pycrc will not claim any copyright on the generated code.