LightSim2Grid


NameLightSim2Grid JSON
Version 0.10.0 PyPI version JSON
download
home_pagehttps://github.com/grid2op/lightsim2grid/
SummaryLightSim2Grid implements a c++ backend targeting the Grid2Op platform.
upload_time2024-12-17 10:35:30
maintainerNone
docs_urlNone
authorBenjamin Donnot
requires_pythonNone
licenseMPL 2.0
keywords pandapower powergrid simulator klu eigen c++
VCS
bugtrack_url
requirements wheel pybind11 numpy pandapower
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LightSim2Grid
Provide a fast backend for grid2op using c++ KLU and Eigen librairies. Its primary goal is to serve as a fast
backend for the grid2op platform, used primarily as a testbed platform for sequential decision making in
the world of power system.

See the [Disclaimer](DISCLAIMER.md) to have a more detailed view on what is and what is not this package. For example
this package should not be used for detailed power system computations or simulations.

*   [1 Usage](#Usage)
    *   [1.1. As a grid2op backend (preferred method)](#1-as-a-grid2op-backend-preferred-method)
    *   [1.2. replacement of pandapower "newtonpf" method (advanced method)](#2-replacement-of-pandapower-newtonpf-method-advanced-method)
*   [2 Installation (from pypi official repository, recommended)](#Installation-from-pypi-official-repository-recommended)
*   [3 Installation (from source, for more advanced user)](#Installation-from-source-for-more-advanced-user)
*   [4. Benchmarks](#Benchmarks)
*   [5. Philosophy](#Philosophy)
*   [6. Miscellaneous](#Miscellaneous)
    * [6.1 Customization of the compilation](#Customization-of-the-compilation)
    * [6.2 Profile the code](#Profile-the-code)
    * [6.3 Local testing](#Local-testing)
    * [6.4 Tests performed automatically](#Tests-performed-automatically)
    * [5.5 Known issues](#Known-issues)


## Usage
Once installed (don't forget, if you used the optional virtual env
above you need to load it with `source venv/bin/activate`) you can
use it as any python package.

### 1. As a grid2op backend (preferred method)
This functionality requires you to have grid2op installed, with at least version 0.7.0. You can install it with

```commandline
pip install grid2op>=1.6.4
```

Then you can use a LightSimBackend instead of the default PandapowerBackend this way:

```python3
import grid2op
from lightsim2grid import LightSimBackend
env_name = "l2rpn_case14_sandbox"  # or any other name.
env = grid2op.make(env_name, backend=LightSimBackend())

# do regular computation as you would with grid2op
```
And you are good to go.

### 2. replacement of pandapower "newtonpf" method (advanced method)
It is also possible to use directly the "solver" part of lightsim2grid.

Suppose you somehow get:
- `Ybus` the admittance matrix of your powersystem, for example given by pandapower
  (will be converted to a scipy `sparse.csc_matrix` )
- `V0` the (complex) voltage vector at each bus, for example given by pandapower
- `Sbus` the (complex) power absorb at each bus, for example as given by pandapower
- `ref` Ids of the slack buses (added in version 0.5.6 to match recent pandapower changes)
- `pv` list of PV buses
- `pq` list of PQ buses
- `ppci` a ppc internal pandapower test case (or dictionary, is used to retrieve the coefficients associated to each slack bus)
- `options` list of pandapower "options" (or dictionary with keys `max_iteration` and `tolerance_mva`)

You can define replace the `newtonpf` function of `pandapower.pandapower.newtonpf` function with the following
piece of code:
```python
from lightsim2grid.newtonpf import newtonpf
V, converged, iterations, J = newtonpf(Ybus, V, Sbus, ref, weights, pv, pq, ppci, options)
```

This function uses the KLU algorithm (when available) and a c++ implementation of a Newton solver for speed.

## Installation (from pypi official repository, recommended)

Since version 0.5.3, lightsim2grid is can be installed like most python packages, with a call to:
`python -m pip install lightsim2grid`

It includes faster grid2op backend and the `SuiteSparse` faster `KLU` solver, even on windows. This is definitely the 
easiest method to install lightsim2grid on your system and have it running.

Note though that these packages have been compiled on a different platform that the one you are using. You might still
get some benefit (in terms of performances) to install it from your on your machine with the proper compilations flags (
see section [6.1 Customization of the compilation](#Customization-of-the-compilation) for more information)

Pypi packages are available for linux (`x86_64` cpu architecture), windows (`x86_64` cpu architecture) and macos (`x86_64` cpu architecture) with python versions: 

- 3.7
- 3.8
- 3.9
- 3.10 (lightsim2grid >= 0.6.1)
- 3.11 (lightsim2grid >= 0.7.1)
- 3.12 (lightsim2grid >= 0.7.5)
- 3.13 (lightsim2grid >= 0.9.2.post2)


As from version 0.8.2, we also distribute windows `arm64` and macos `arm64` binaries of lightsim2grid that can be installed
directly with pip too (requires python >= 3.8 for macos and python >= 3.9 for windows). We do not currently produce `arm64` (`aarch64`) linux binaries because it takes too long to build. If you really want them, let us know and we'll see what we can do.


**NB** on some version of MacOs (thanks Apple !), especially the one using M1 or M2 chip, lightsim2grid is only available
on pypi starting from version 0.7.3 We attempted to deliver arm64 lightsim2grid version but we could not test them. So if you 
want a reliable working and tested version of lightsim2grid on newest version of macos (with M1 or M2 chips for example) please
use lightsim2grid >= 0.8.2

**NB** we do not currently build any 32 bits lightsim2grid libraries.

## Installation (from source, for more advanced user)

See the official documentation at [Install from source](https://lightsim2grid.readthedocs.io/en/latest/install_from_source.html) for more information

## Benchmarks

Lightsim2grid is significantly faster than pandapower when used with grid2op for all kind of environment size (sometimes 
more than 30x faster - making 30 steps while pandapower makes one).


If you prefer to use the dedicated lightsim2grid `SecurityAnalysis` or `TimeSerie` classes you can even expect another 10-20x
speed ups compared to grid2op with lightsim2grid (sometimes more than 300x faster than grid2op with pandapower). 

For more information (including the exact way to reproduce these results, as well as the computer used), you can consult the dedicated [Benchmarks](https://lightsim2grid.readthedocs.io/en/latest/benchmarks.html) page on the documentation.

## Philosophy
Lightsim2grid aims at providing a somewhat efficient (in terms of computation speed) backend targeting the 
grid2op platform.

It provides a c++ api, compatible with grid2op that is able to compute flows (and voltages and reactive power) from
a given grid. This grid can be modified according to grid2op mechanism (see more information in the [official
grid2Op documentation](https://grid2op.readthedocs.io/en/latest/index.html) ).

This code do not aim at providing state of the art solver in term of performances nor in terms of realism in the
modeling of power system elements (*eg* loads, generators, powerlines, transformers, etc.).

Lightsim2grid codebase is "organized" in 4 different parts:

1) modify the elements (*eg* disconnecting a powerline or changing the voltage magnitude setpoint of a 
   generator, or any other action made possible by grid2op)
2) generate the `Ybus` (sparse) complex admitance matrix and `Sbus` complex injection vector from the state of the
   powergrid (*eg* physical properties of each elements, which elements are in service, which power is produce at 
   each generators and consumed at each loads, what is the grid topology etc.)
3) solving for the complex voltage `V` (and part of the `Sbus` vector) the equation `V.(Ybus.V)* = Sbus` with the 
   "standard" "powerflow constraints"
   (*eg* the voltage magnitude of `V` is set at given components, and on other it's the imaginary part of `Sbus`)
4) computes the active power, reactive power, flow on powerllines etc. from the `V` and `Sbus` complex vectors computed
   at step 3).

Step 1, 2 and 4 are done in the [GridModel](https://lightsim2grid.readthedocs.io/en/latest/gridmodel.html#lightsim2grid.gridmodel.GridModel) class.

Step 3 is performed thanks to a "powerflow solver".

### Using a custom powerflow solver
For now some basic "solver" (*eg* the program that performs points `3.` above) are available, based on the
Gauss Seidel or the Newton-Raphson methods to perform "powerflows". 

Nothing prevents any other "solver" to be used with lightsim2grid and thus with grid2op. For this, you simply need to
implement, in c++ a "lightsim2grid solver" which mainly consists in defining a function:
```c
bool compute_pf(const Eigen::SparseMatrix<cplx_type> & Ybus,  // the admittance matrix
                CplxVect & V,  // store the results of the powerflow and the Vinit !
                const CplxVect & Sbus,  // the injection vector
                const Eigen::VectorXi & ref,  // bus id participating to the distributed slack
                const RealVect & slack_weights,  // slack weights for each bus
                const Eigen::VectorXi & pv,  // (might be ignored) index of the components of Sbus should be computed
                const Eigen::VectorXi & pq,  // (might be ignored) index of the components of |V| should be computed
                int max_iter,  // maximum number of iteration (might be ignored)
                real_type tol  // solver tolerance 
                );
```

The types used are:

- `real_type`: double => type representing the real number
- `cplx_type` :  std::complex<real_type> => type representing the complex number
- `CplxVect` : Eigen::Matrix<cplx_type, Eigen::Dynamic, 1> => type representing a vector of complex numbers
- `RealVect` : Eigen::Matrix<real_type, Eigen::Dynamic, 1> => type representing a vector of real numbers
- `Eigen::VectorXi` => represents a vector of integer
- `Eigen::SparseMatrix<cplx_type>` => represents a sparse matrix

See for example [BaseNRSolver](./src/BaseNRSolver.h) for the implementation of a Newton Raphson solver (it requires some "linear solvers", more details about that are given in the section bellow)

Any contribution in this area is more than welcome.

**NB** For now the "solver" only uses these above information to perform the powerflow. If a more
"in depth" solution needs to be implemented, let us know with a github issue. For example, it could be totally fine that a proposed "solver" uses direct information about the elements (powerline, topology etc.) of the grid in order to perform some powerflow.

**NB** It is not mandatory to "embed" all the code of the solver in lightsim2grid. Thanks to different customization, 
it is perfectly possible to install a given "lightsim solver" only if certain conditions are met. For example, on
windows based machine, the SuiteSparse library cannot be easily compiled, and the KLUSolver is then not available.

**NB** It would be totally fine if some "lightsim2grid" solvers are available only if some packages are installed on the
machine for example.

### Using custom linear solvers to solve powerflows

In lightsim2grid (c++ part) it is also possible, thanks to the use of "template meta programming" to
not recode the Newton Raphson algorithm (or the DC powerflow algorithm) and to leverage the 
use of a linear solver.

A "linear solver" is anything that can implement 3 basic functions:

- `initialize(const Eigen::SparseMatrix<real_type> & J)` : initialize the solver and prepare it to solve for linear systems `J.x = b` (usually called once per powerflow)
- `ErrorType solve(const Eigen::SparseMatrix<real_type> & J, RealVect & b, bool has_just_been_inialized)`: effectively solves `J.x = b` (usually called multiple times per powerflow)
- `ErrorType reset()`: clear the state of the solver (usually performed at the end of a powerflow
  to reset the state to a "blank" / "as if it was just initialized" state)

Some example are given in the c++ code "KLUSolver.h", "SparLUSolver.h" and "NICSLU.h"

This usage usually takes approximately around 20 / 30 lines of c++ code (not counting the comments, and boiler code for exception handling for example).

## Citing

If you use this package in one of your work, please cite:
```
@misc{lightsim2grid,
    author = {B. Donnot},
    title = {{Lightsim2grid - A c++ backend targeting the Grid2Op platform. }},
    year = {2020},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://GitHub.com/Grid2Op/lightsim2grid}},
}
```

## Miscellaneous

### Customization of the compilation
#### Enable NICSLU
For that, you need to declare the environment variables `PATH_NICSLU` that points to a valid installation of
the NICSLU package (see https://github.com/chenxm1986/nicslu). 
For example: `export PATH_NICSLU=/home/user/Documents/nicslu/nicslu202103`

#### Enable CKTSO
For that, you need to declare the environment variables `PATH_CKTSO` that points to a valid installation of
the NICSLU package (see https://github.com/chenxm1986/cktso). 
For example: `export PATH_NICSLU=/home/user/Documents/cktso`

#### Enable 03 optimization
By default, at least on ubuntu, only the "-O2" compiler flags is used. To use the O3 optimization flag, you need
to specify the `__O3_OPTIM` environment variable: `set __O3_OPTIM=1` (or `$Env:__O3_OPTIM=1` in powershell) before the compilation (so before
`python3 setup.py build` or `python -m pip install -e .`)

This compilation argument will increase the compilation time, but will make the package faster.

#### Enable "-march=native" optimization
By default, for portability, we do not compile with `-march=native` flags. This lead to some error on some platform.
If you want to further improve the performances.

You can `set __COMPILE_MARCHNATIVE=1` to enable it before the compilation (so before
`python3 setup.py build` or `python -m pip install -e .`)

### Profile the code
This is a work in progress for now. And it is far from perfect, and probably only work on linux.

See https://github.com/xflash96/pybind11_package_example/blob/main/tutorial.md#perf for more details.

```commandline
cd benchmarks
perf record ./test_profile.py
perf report
```

### Local testing
And some official tests, to make sure the solver returns the same results as pandapower
are performed in "lightsim2grid/tests"
```bash
cd lightsim2grid/tests
python -m unittest discover
```

This tests ensure that the results given by this simulator are consistent with the one given by pandapower when
using the Newton-Raphson algorithm, with a single slack bus, without enforcing q limits on the generators etc.

**NB** to run these tests you need to install grid2op from source otherwise all the test of the LightSim2gridBackend 
will fail. In order to do so you can do:
```
git clone https://github.com/Grid2Op/grid2op.git
cd Grid2Op
pip3 install -U -e .
cd ..
```
### Tests performed automatically

Some tests are performed automatically on standard platform each time modifications are made in the lightsim2grid code.

These tests include, for now, compilation on gcc (version 8, 12 and 13) and clang (version 11, 16 and 17).

**NB** Intermediate versions of clang and gcc (*eg* gcc 9 or clang 12) are not tested regularly, but lightsim2grid used to work on these. 
We suppose that if it works on *eg* clang 10 and clang 14 then it compiles also on all intermediate versions.

**NB** Package might work (we never tested it) on earlier version of these compilers. 
The only "real" requirement for lightsim2grid is to have a compiler supporting c++11
(at least).

### Known issues

#### Storage units
There are discrepency in the handling of storage units, when the are not asked to produce / consume anything (setpoint
is 0.) between pandapower and lightsim2grid only in the case where the storage unit is alone on its bus.

Pandapower does not detect it and the episode can continue. On the other side, lightsim2grid detects it and raise an
error because in that case the grid is not connex anymore (which is the desired behaviour).

#### Compilation issue

On the clang compiler (default one on MacOS computer) it is sometime require to downgrade the pybind11 version
to 2.6.2 to install the package.

You can downgrade pybind11 with: `python -m pip install -U pybind11==2.6.2`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/grid2op/lightsim2grid/",
    "name": "LightSim2Grid",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pandapower powergrid simulator KLU Eigen c++",
    "author": "Benjamin Donnot",
    "author_email": "benjamin.donnot@rte-france.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/79/8624f8f14b1a5ad44c8fb9128c75bac2884a4eea9e3dd4ff6ae8b892baac/lightsim2grid-0.10.0.tar.gz",
    "platform": "Windows",
    "description": "# LightSim2Grid\nProvide a fast backend for grid2op using c++ KLU and Eigen librairies. Its primary goal is to serve as a fast\nbackend for the grid2op platform, used primarily as a testbed platform for sequential decision making in\nthe world of power system.\n\nSee the [Disclaimer](DISCLAIMER.md) to have a more detailed view on what is and what is not this package. For example\nthis package should not be used for detailed power system computations or simulations.\n\n*   [1 Usage](#Usage)\n    *   [1.1. As a grid2op backend (preferred method)](#1-as-a-grid2op-backend-preferred-method)\n    *   [1.2. replacement of pandapower \"newtonpf\" method (advanced method)](#2-replacement-of-pandapower-newtonpf-method-advanced-method)\n*   [2 Installation (from pypi official repository, recommended)](#Installation-from-pypi-official-repository-recommended)\n*   [3 Installation (from source, for more advanced user)](#Installation-from-source-for-more-advanced-user)\n*   [4. Benchmarks](#Benchmarks)\n*   [5. Philosophy](#Philosophy)\n*   [6. Miscellaneous](#Miscellaneous)\n    * [6.1 Customization of the compilation](#Customization-of-the-compilation)\n    * [6.2 Profile the code](#Profile-the-code)\n    * [6.3 Local testing](#Local-testing)\n    * [6.4 Tests performed automatically](#Tests-performed-automatically)\n    * [5.5 Known issues](#Known-issues)\n\n\n## Usage\nOnce installed (don't forget, if you used the optional virtual env\nabove you need to load it with `source venv/bin/activate`) you can\nuse it as any python package.\n\n### 1. As a grid2op backend (preferred method)\nThis functionality requires you to have grid2op installed, with at least version 0.7.0. You can install it with\n\n```commandline\npip install grid2op>=1.6.4\n```\n\nThen you can use a LightSimBackend instead of the default PandapowerBackend this way:\n\n```python3\nimport grid2op\nfrom lightsim2grid import LightSimBackend\nenv_name = \"l2rpn_case14_sandbox\"  # or any other name.\nenv = grid2op.make(env_name, backend=LightSimBackend())\n\n# do regular computation as you would with grid2op\n```\nAnd you are good to go.\n\n### 2. replacement of pandapower \"newtonpf\" method (advanced method)\nIt is also possible to use directly the \"solver\" part of lightsim2grid.\n\nSuppose you somehow get:\n- `Ybus` the admittance matrix of your powersystem, for example given by pandapower\n  (will be converted to a scipy `sparse.csc_matrix` )\n- `V0` the (complex) voltage vector at each bus, for example given by pandapower\n- `Sbus` the (complex) power absorb at each bus, for example as given by pandapower\n- `ref` Ids of the slack buses (added in version 0.5.6 to match recent pandapower changes)\n- `pv` list of PV buses\n- `pq` list of PQ buses\n- `ppci` a ppc internal pandapower test case (or dictionary, is used to retrieve the coefficients associated to each slack bus)\n- `options` list of pandapower \"options\" (or dictionary with keys `max_iteration` and `tolerance_mva`)\n\nYou can define replace the `newtonpf` function of `pandapower.pandapower.newtonpf` function with the following\npiece of code:\n```python\nfrom lightsim2grid.newtonpf import newtonpf\nV, converged, iterations, J = newtonpf(Ybus, V, Sbus, ref, weights, pv, pq, ppci, options)\n```\n\nThis function uses the KLU algorithm (when available) and a c++ implementation of a Newton solver for speed.\n\n## Installation (from pypi official repository, recommended)\n\nSince version 0.5.3, lightsim2grid is can be installed like most python packages, with a call to:\n`python -m pip install lightsim2grid`\n\nIt includes faster grid2op backend and the `SuiteSparse` faster `KLU` solver, even on windows. This is definitely the \neasiest method to install lightsim2grid on your system and have it running.\n\nNote though that these packages have been compiled on a different platform that the one you are using. You might still\nget some benefit (in terms of performances) to install it from your on your machine with the proper compilations flags (\nsee section [6.1 Customization of the compilation](#Customization-of-the-compilation) for more information)\n\nPypi packages are available for linux (`x86_64` cpu architecture), windows (`x86_64` cpu architecture) and macos (`x86_64` cpu architecture) with python versions: \n\n- 3.7\n- 3.8\n- 3.9\n- 3.10 (lightsim2grid >= 0.6.1)\n- 3.11 (lightsim2grid >= 0.7.1)\n- 3.12 (lightsim2grid >= 0.7.5)\n- 3.13 (lightsim2grid >= 0.9.2.post2)\n\n\nAs from version 0.8.2, we also distribute windows `arm64` and macos `arm64` binaries of lightsim2grid that can be installed\ndirectly with pip too (requires python >= 3.8 for macos and python >= 3.9 for windows). We do not currently produce `arm64` (`aarch64`) linux binaries because it takes too long to build. If you really want them, let us know and we'll see what we can do.\n\n\n**NB** on some version of MacOs (thanks Apple !), especially the one using M1 or M2 chip, lightsim2grid is only available\non pypi starting from version 0.7.3 We attempted to deliver arm64 lightsim2grid version but we could not test them. So if you \nwant a reliable working and tested version of lightsim2grid on newest version of macos (with M1 or M2 chips for example) please\nuse lightsim2grid >= 0.8.2\n\n**NB** we do not currently build any 32 bits lightsim2grid libraries.\n\n## Installation (from source, for more advanced user)\n\nSee the official documentation at [Install from source](https://lightsim2grid.readthedocs.io/en/latest/install_from_source.html) for more information\n\n## Benchmarks\n\nLightsim2grid is significantly faster than pandapower when used with grid2op for all kind of environment size (sometimes \nmore than 30x faster - making 30 steps while pandapower makes one).\n\n\nIf you prefer to use the dedicated lightsim2grid `SecurityAnalysis` or `TimeSerie` classes you can even expect another 10-20x\nspeed ups compared to grid2op with lightsim2grid (sometimes more than 300x faster than grid2op with pandapower). \n\nFor more information (including the exact way to reproduce these results, as well as the computer used), you can consult the dedicated [Benchmarks](https://lightsim2grid.readthedocs.io/en/latest/benchmarks.html) page on the documentation.\n\n## Philosophy\nLightsim2grid aims at providing a somewhat efficient (in terms of computation speed) backend targeting the \ngrid2op platform.\n\nIt provides a c++ api, compatible with grid2op that is able to compute flows (and voltages and reactive power) from\na given grid. This grid can be modified according to grid2op mechanism (see more information in the [official\ngrid2Op documentation](https://grid2op.readthedocs.io/en/latest/index.html) ).\n\nThis code do not aim at providing state of the art solver in term of performances nor in terms of realism in the\nmodeling of power system elements (*eg* loads, generators, powerlines, transformers, etc.).\n\nLightsim2grid codebase is \"organized\" in 4 different parts:\n\n1) modify the elements (*eg* disconnecting a powerline or changing the voltage magnitude setpoint of a \n   generator, or any other action made possible by grid2op)\n2) generate the `Ybus` (sparse) complex admitance matrix and `Sbus` complex injection vector from the state of the\n   powergrid (*eg* physical properties of each elements, which elements are in service, which power is produce at \n   each generators and consumed at each loads, what is the grid topology etc.)\n3) solving for the complex voltage `V` (and part of the `Sbus` vector) the equation `V.(Ybus.V)* = Sbus` with the \n   \"standard\" \"powerflow constraints\"\n   (*eg* the voltage magnitude of `V` is set at given components, and on other it's the imaginary part of `Sbus`)\n4) computes the active power, reactive power, flow on powerllines etc. from the `V` and `Sbus` complex vectors computed\n   at step 3).\n\nStep 1, 2 and 4 are done in the [GridModel](https://lightsim2grid.readthedocs.io/en/latest/gridmodel.html#lightsim2grid.gridmodel.GridModel) class.\n\nStep 3 is performed thanks to a \"powerflow solver\".\n\n### Using a custom powerflow solver\nFor now some basic \"solver\" (*eg* the program that performs points `3.` above) are available, based on the\nGauss Seidel or the Newton-Raphson methods to perform \"powerflows\". \n\nNothing prevents any other \"solver\" to be used with lightsim2grid and thus with grid2op. For this, you simply need to\nimplement, in c++ a \"lightsim2grid solver\" which mainly consists in defining a function:\n```c\nbool compute_pf(const Eigen::SparseMatrix<cplx_type> & Ybus,  // the admittance matrix\n                CplxVect & V,  // store the results of the powerflow and the Vinit !\n                const CplxVect & Sbus,  // the injection vector\n                const Eigen::VectorXi & ref,  // bus id participating to the distributed slack\n                const RealVect & slack_weights,  // slack weights for each bus\n                const Eigen::VectorXi & pv,  // (might be ignored) index of the components of Sbus should be computed\n                const Eigen::VectorXi & pq,  // (might be ignored) index of the components of |V| should be computed\n                int max_iter,  // maximum number of iteration (might be ignored)\n                real_type tol  // solver tolerance \n                );\n```\n\nThe types used are:\n\n- `real_type`: double => type representing the real number\n- `cplx_type` :  std::complex<real_type> => type representing the complex number\n- `CplxVect` : Eigen::Matrix<cplx_type, Eigen::Dynamic, 1> => type representing a vector of complex numbers\n- `RealVect` : Eigen::Matrix<real_type, Eigen::Dynamic, 1> => type representing a vector of real numbers\n- `Eigen::VectorXi` => represents a vector of integer\n- `Eigen::SparseMatrix<cplx_type>` => represents a sparse matrix\n\nSee for example [BaseNRSolver](./src/BaseNRSolver.h) for the implementation of a Newton Raphson solver (it requires some \"linear solvers\", more details about that are given in the section bellow)\n\nAny contribution in this area is more than welcome.\n\n**NB** For now the \"solver\" only uses these above information to perform the powerflow. If a more\n\"in depth\" solution needs to be implemented, let us know with a github issue. For example, it could be totally fine that a proposed \"solver\" uses direct information about the elements (powerline, topology etc.) of the grid in order to perform some powerflow.\n\n**NB** It is not mandatory to \"embed\" all the code of the solver in lightsim2grid. Thanks to different customization, \nit is perfectly possible to install a given \"lightsim solver\" only if certain conditions are met. For example, on\nwindows based machine, the SuiteSparse library cannot be easily compiled, and the KLUSolver is then not available.\n\n**NB** It would be totally fine if some \"lightsim2grid\" solvers are available only if some packages are installed on the\nmachine for example.\n\n### Using custom linear solvers to solve powerflows\n\nIn lightsim2grid (c++ part) it is also possible, thanks to the use of \"template meta programming\" to\nnot recode the Newton Raphson algorithm (or the DC powerflow algorithm) and to leverage the \nuse of a linear solver.\n\nA \"linear solver\" is anything that can implement 3 basic functions:\n\n- `initialize(const Eigen::SparseMatrix<real_type> & J)` : initialize the solver and prepare it to solve for linear systems `J.x = b` (usually called once per powerflow)\n- `ErrorType solve(const Eigen::SparseMatrix<real_type> & J, RealVect & b, bool has_just_been_inialized)`: effectively solves `J.x = b` (usually called multiple times per powerflow)\n- `ErrorType reset()`: clear the state of the solver (usually performed at the end of a powerflow\n  to reset the state to a \"blank\" / \"as if it was just initialized\" state)\n\nSome example are given in the c++ code \"KLUSolver.h\", \"SparLUSolver.h\" and \"NICSLU.h\"\n\nThis usage usually takes approximately around 20 / 30 lines of c++ code (not counting the comments, and boiler code for exception handling for example).\n\n## Citing\n\nIf you use this package in one of your work, please cite:\n```\n@misc{lightsim2grid,\n    author = {B. Donnot},\n    title = {{Lightsim2grid - A c++ backend targeting the Grid2Op platform. }},\n    year = {2020},\n    publisher = {GitHub},\n    journal = {GitHub repository},\n    howpublished = {\\url{https://GitHub.com/Grid2Op/lightsim2grid}},\n}\n```\n\n## Miscellaneous\n\n### Customization of the compilation\n#### Enable NICSLU\nFor that, you need to declare the environment variables `PATH_NICSLU` that points to a valid installation of\nthe NICSLU package (see https://github.com/chenxm1986/nicslu). \nFor example: `export PATH_NICSLU=/home/user/Documents/nicslu/nicslu202103`\n\n#### Enable CKTSO\nFor that, you need to declare the environment variables `PATH_CKTSO` that points to a valid installation of\nthe NICSLU package (see https://github.com/chenxm1986/cktso). \nFor example: `export PATH_NICSLU=/home/user/Documents/cktso`\n\n#### Enable 03 optimization\nBy default, at least on ubuntu, only the \"-O2\" compiler flags is used. To use the O3 optimization flag, you need\nto specify the `__O3_OPTIM` environment variable: `set __O3_OPTIM=1` (or `$Env:__O3_OPTIM=1` in powershell) before the compilation (so before\n`python3 setup.py build` or `python -m pip install -e .`)\n\nThis compilation argument will increase the compilation time, but will make the package faster.\n\n#### Enable \"-march=native\" optimization\nBy default, for portability, we do not compile with `-march=native` flags. This lead to some error on some platform.\nIf you want to further improve the performances.\n\nYou can `set __COMPILE_MARCHNATIVE=1` to enable it before the compilation (so before\n`python3 setup.py build` or `python -m pip install -e .`)\n\n### Profile the code\nThis is a work in progress for now. And it is far from perfect, and probably only work on linux.\n\nSee https://github.com/xflash96/pybind11_package_example/blob/main/tutorial.md#perf for more details.\n\n```commandline\ncd benchmarks\nperf record ./test_profile.py\nperf report\n```\n\n### Local testing\nAnd some official tests, to make sure the solver returns the same results as pandapower\nare performed in \"lightsim2grid/tests\"\n```bash\ncd lightsim2grid/tests\npython -m unittest discover\n```\n\nThis tests ensure that the results given by this simulator are consistent with the one given by pandapower when\nusing the Newton-Raphson algorithm, with a single slack bus, without enforcing q limits on the generators etc.\n\n**NB** to run these tests you need to install grid2op from source otherwise all the test of the LightSim2gridBackend \nwill fail. In order to do so you can do:\n```\ngit clone https://github.com/Grid2Op/grid2op.git\ncd Grid2Op\npip3 install -U -e .\ncd ..\n```\n### Tests performed automatically\n\nSome tests are performed automatically on standard platform each time modifications are made in the lightsim2grid code.\n\nThese tests include, for now, compilation on gcc (version 8, 12 and 13) and clang (version 11, 16 and 17).\n\n**NB** Intermediate versions of clang and gcc (*eg* gcc 9 or clang 12) are not tested regularly, but lightsim2grid used to work on these. \nWe suppose that if it works on *eg* clang 10 and clang 14 then it compiles also on all intermediate versions.\n\n**NB** Package might work (we never tested it) on earlier version of these compilers. \nThe only \"real\" requirement for lightsim2grid is to have a compiler supporting c++11\n(at least).\n\n### Known issues\n\n#### Storage units\nThere are discrepency in the handling of storage units, when the are not asked to produce / consume anything (setpoint\nis 0.) between pandapower and lightsim2grid only in the case where the storage unit is alone on its bus.\n\nPandapower does not detect it and the episode can continue. On the other side, lightsim2grid detects it and raise an\nerror because in that case the grid is not connex anymore (which is the desired behaviour).\n\n#### Compilation issue\n\nOn the clang compiler (default one on MacOS computer) it is sometime require to downgrade the pybind11 version\nto 2.6.2 to install the package.\n\nYou can downgrade pybind11 with: `python -m pip install -U pybind11==2.6.2`\n",
    "bugtrack_url": null,
    "license": "MPL 2.0",
    "summary": "LightSim2Grid implements a c++ backend targeting the Grid2Op platform.",
    "version": "0.10.0",
    "project_urls": {
        "Homepage": "https://github.com/grid2op/lightsim2grid/"
    },
    "split_keywords": [
        "pandapower",
        "powergrid",
        "simulator",
        "klu",
        "eigen",
        "c++"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bfc5dd4b82708eb09ee035cc0b0f42f0bd7e174b6fd97167a037e5c69b209b30",
                "md5": "322b2621ba0a21e6b2cfa27f8c75854f",
                "sha256": "57d9840831b57a9c38814888406586e76ba49783f70d172689d8b192a7766930"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "322b2621ba0a21e6b2cfa27f8c75854f",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 787450,
            "upload_time": "2024-12-17T10:34:02",
            "upload_time_iso_8601": "2024-12-17T10:34:02.914806Z",
            "url": "https://files.pythonhosted.org/packages/bf/c5/dd4b82708eb09ee035cc0b0f42f0bd7e174b6fd97167a037e5c69b209b30/LightSim2Grid-0.10.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95e88ee7cc52d287a3bbfdfb22d04aae82051cc4298877a00c8ad213603b097a",
                "md5": "b8f8bea5a7e8ff219252709a01602d7b",
                "sha256": "a2ca56fe25dfd4a2ff6971cc37d5cc5ff4aea9da727e5966d8e6d3161e347b53"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "b8f8bea5a7e8ff219252709a01602d7b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 1384075,
            "upload_time": "2024-12-17T10:33:58",
            "upload_time_iso_8601": "2024-12-17T10:33:58.248352Z",
            "url": "https://files.pythonhosted.org/packages/95/e8/8ee7cc52d287a3bbfdfb22d04aae82051cc4298877a00c8ad213603b097a/LightSim2Grid-0.10.0-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "71e039e1b27f448668a24f029ca85b8336e23884c8bcbda36e67e1329492bb8d",
                "md5": "fb138b5f467cf3f1b91c27bbb7b278c9",
                "sha256": "ec7b4d563d8272d4bb075a57f6e7d13cef1a3384020929575257887bcb8afd72"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fb138b5f467cf3f1b91c27bbb7b278c9",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 858357,
            "upload_time": "2024-12-17T10:34:52",
            "upload_time_iso_8601": "2024-12-17T10:34:52.136281Z",
            "url": "https://files.pythonhosted.org/packages/71/e0/39e1b27f448668a24f029ca85b8336e23884c8bcbda36e67e1329492bb8d/LightSim2Grid-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c27ced19a73ab7c3fb33a5c19bb05a32e61dcdfb92854ad9dc679eb55f8e489",
                "md5": "a7336123cfc4304591d1a548b9fe72d6",
                "sha256": "36f61d88143a36b9ca59118ac665b077b1934fd35a301d1aa2f0a13e00892486"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "a7336123cfc4304591d1a548b9fe72d6",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 598667,
            "upload_time": "2024-12-17T10:35:11",
            "upload_time_iso_8601": "2024-12-17T10:35:11.354297Z",
            "url": "https://files.pythonhosted.org/packages/0c/27/ced19a73ab7c3fb33a5c19bb05a32e61dcdfb92854ad9dc679eb55f8e489/LightSim2Grid-0.10.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "953b717270f6dddd0a4a7dbd76bb994b8506709e2d51ad1ea4eed5c6a5ed8fb6",
                "md5": "06fd3441f305fc1b8859b0d8d18ada6e",
                "sha256": "33f2e25d48c93f9fa4998e6d6e2c4b1668cdc4456a5237f98ed159ecb71de611"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp310-cp310-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "06fd3441f305fc1b8859b0d8d18ada6e",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 538751,
            "upload_time": "2024-12-17T10:34:40",
            "upload_time_iso_8601": "2024-12-17T10:34:40.592873Z",
            "url": "https://files.pythonhosted.org/packages/95/3b/717270f6dddd0a4a7dbd76bb994b8506709e2d51ad1ea4eed5c6a5ed8fb6/LightSim2Grid-0.10.0-cp310-cp310-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa54ad68f816b097715b9832e8279b93ff2f9ec1d6a283eaa3393c065048143f",
                "md5": "aefceeff5b6a2fe64dcdea3ee3f71f77",
                "sha256": "fe6f6454cd31bfe714a479e3fcf28f29057460c12f8dfc7106df5d6134471696"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "aefceeff5b6a2fe64dcdea3ee3f71f77",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1401196,
            "upload_time": "2024-12-17T10:34:08",
            "upload_time_iso_8601": "2024-12-17T10:34:08.967599Z",
            "url": "https://files.pythonhosted.org/packages/aa/54/ad68f816b097715b9832e8279b93ff2f9ec1d6a283eaa3393c065048143f/LightSim2Grid-0.10.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63886845ddacc216848d1ac12b9e9e1e7d5923fab61e3a61e54e92dd337f1353",
                "md5": "5c145993c3f6a720c2eb45f64298cd70",
                "sha256": "6f7ddf1a7b0359cd30fcbdad8ad1a9311949f73258e7795633adbda18f5728d9"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "5c145993c3f6a720c2eb45f64298cd70",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1386695,
            "upload_time": "2024-12-17T10:34:06",
            "upload_time_iso_8601": "2024-12-17T10:34:06.751683Z",
            "url": "https://files.pythonhosted.org/packages/63/88/6845ddacc216848d1ac12b9e9e1e7d5923fab61e3a61e54e92dd337f1353/LightSim2Grid-0.10.0-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a651c607ca3c4d7e4e21a523854765e9b1f83117b3778c2e14ee22f8ba6fdeb",
                "md5": "775c14f0a9c299fa833826d0518894c8",
                "sha256": "32c6991097d5fe070bfa61975e340c648d95bd1a6378abab80d1fa4e0f613660"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "775c14f0a9c299fa833826d0518894c8",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 860186,
            "upload_time": "2024-12-17T10:34:55",
            "upload_time_iso_8601": "2024-12-17T10:34:55.916314Z",
            "url": "https://files.pythonhosted.org/packages/2a/65/1c607ca3c4d7e4e21a523854765e9b1f83117b3778c2e14ee22f8ba6fdeb/LightSim2Grid-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a84023303abc0c17c26c73996de4168679d38aa7604781663ab83695a5fd387",
                "md5": "89d63f1a4640918bd62fe22b3a82b2ff",
                "sha256": "3ec8e2bb0f40a61a8e18cd92df1c710a03151b1ca1f84118d4a962f6ef1ffd5d"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "89d63f1a4640918bd62fe22b3a82b2ff",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 599001,
            "upload_time": "2024-12-17T10:35:14",
            "upload_time_iso_8601": "2024-12-17T10:35:14.562159Z",
            "url": "https://files.pythonhosted.org/packages/9a/84/023303abc0c17c26c73996de4168679d38aa7604781663ab83695a5fd387/LightSim2Grid-0.10.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "021f4c3d996b03aada02af2350c5ec6812efe3ebafd23ad7a6ccfabc1a1dce6f",
                "md5": "7c705ed2a3ac5dcfe5849e0811652126",
                "sha256": "9ca372ae1803d3d87254a3792534430e8d045ce17ed934b267562c7936b34775"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp311-cp311-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "7c705ed2a3ac5dcfe5849e0811652126",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 539632,
            "upload_time": "2024-12-17T10:34:43",
            "upload_time_iso_8601": "2024-12-17T10:34:43.684098Z",
            "url": "https://files.pythonhosted.org/packages/02/1f/4c3d996b03aada02af2350c5ec6812efe3ebafd23ad7a6ccfabc1a1dce6f/LightSim2Grid-0.10.0-cp311-cp311-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "65639fa83f61e23cdf3fc3fb19102d54c6b5234c0ff9d7c68002e34ca2117c9c",
                "md5": "c86336454a8c53c88ee9f2dc88bf95ef",
                "sha256": "ac2e6387bd7f6345d87e9538e5b149112cd111641f29f6556e6b495771ae663e"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c86336454a8c53c88ee9f2dc88bf95ef",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1416246,
            "upload_time": "2024-12-17T10:34:15",
            "upload_time_iso_8601": "2024-12-17T10:34:15.967897Z",
            "url": "https://files.pythonhosted.org/packages/65/63/9fa83f61e23cdf3fc3fb19102d54c6b5234c0ff9d7c68002e34ca2117c9c/LightSim2Grid-0.10.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05b5dd7f3cabeca8e1b91f45c08d0a22d7583efe29834623bf94c88008b25ddf",
                "md5": "ad0844cbcccf24e5343a0b45dbd7c1f0",
                "sha256": "91aa1e62e2b855ecd5dc8d973f3a671390f5b28a9eeb4b3a38edbc983c8cd984"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "ad0844cbcccf24e5343a0b45dbd7c1f0",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1400478,
            "upload_time": "2024-12-17T10:34:12",
            "upload_time_iso_8601": "2024-12-17T10:34:12.460607Z",
            "url": "https://files.pythonhosted.org/packages/05/b5/dd7f3cabeca8e1b91f45c08d0a22d7583efe29834623bf94c88008b25ddf/LightSim2Grid-0.10.0-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02794c04f9f231ba5014ef08aba75caa4febf74231679c7b52a7dede5b7fe3ee",
                "md5": "c6fd3105b2aa66bccaf79d0f8be69211",
                "sha256": "b4d75223ec7726d829a6560eb6820c2bc82a6f8610ed58db95529c754d030664"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c6fd3105b2aa66bccaf79d0f8be69211",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 865310,
            "upload_time": "2024-12-17T10:34:58",
            "upload_time_iso_8601": "2024-12-17T10:34:58.091512Z",
            "url": "https://files.pythonhosted.org/packages/02/79/4c04f9f231ba5014ef08aba75caa4febf74231679c7b52a7dede5b7fe3ee/LightSim2Grid-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0aff45aac1082960ae095d903a61de66285aac0221cf2b9e78221ed3ab4770f8",
                "md5": "ad84ac46a1446f137be59e97cdf58643",
                "sha256": "db1eeada789891584d5aad9baf1b0afa049fe21c483e6aa8fdabfa5883e42c72"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ad84ac46a1446f137be59e97cdf58643",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 599791,
            "upload_time": "2024-12-17T10:35:16",
            "upload_time_iso_8601": "2024-12-17T10:35:16.463239Z",
            "url": "https://files.pythonhosted.org/packages/0a/ff/45aac1082960ae095d903a61de66285aac0221cf2b9e78221ed3ab4770f8/LightSim2Grid-0.10.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0c0b66dfa7e413c61ebef4105dc5f5e31b893c7f9048a3af85c56821b64ce91",
                "md5": "3764d040f52a19569d8c1fbf255f78bb",
                "sha256": "b627f1f9671640fbc4355e646ed3a316f14a74acf7d64ce6a643fee68b0553a7"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp312-cp312-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "3764d040f52a19569d8c1fbf255f78bb",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 539642,
            "upload_time": "2024-12-17T10:34:45",
            "upload_time_iso_8601": "2024-12-17T10:34:45.606629Z",
            "url": "https://files.pythonhosted.org/packages/f0/c0/b66dfa7e413c61ebef4105dc5f5e31b893c7f9048a3af85c56821b64ce91/LightSim2Grid-0.10.0-cp312-cp312-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3808a3cd2d12b015dfd2fe749ce4fe8f4eb3365bc79db12506080f5c2c90da6",
                "md5": "ce84f339a75280402fd4963ae0295611",
                "sha256": "8a6a959e8083d32a9f59632bd72b24268fb3c1985a83e850bab39fa8d44920b6"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp313-cp313-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ce84f339a75280402fd4963ae0295611",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 1416368,
            "upload_time": "2024-12-17T10:34:21",
            "upload_time_iso_8601": "2024-12-17T10:34:21.712711Z",
            "url": "https://files.pythonhosted.org/packages/d3/80/8a3cd2d12b015dfd2fe749ce4fe8f4eb3365bc79db12506080f5c2c90da6/LightSim2Grid-0.10.0-cp313-cp313-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9513df9895c614d112643ce106fc64415cbeedb37fb2b4712bcb65d9e09ceb99",
                "md5": "3f85bd347377b5f5dcde437afb9c89b1",
                "sha256": "e889896981724b6c748e879724fb8dc7fab1a041b12b256de55af1a7647aed02"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp313-cp313-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "3f85bd347377b5f5dcde437afb9c89b1",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 1400590,
            "upload_time": "2024-12-17T10:34:19",
            "upload_time_iso_8601": "2024-12-17T10:34:19.537101Z",
            "url": "https://files.pythonhosted.org/packages/95/13/df9895c614d112643ce106fc64415cbeedb37fb2b4712bcb65d9e09ceb99/LightSim2Grid-0.10.0-cp313-cp313-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01884f8998d8184ef02848310abbfd37a1de92055d31836389f0d7ecd0a22c98",
                "md5": "c87914acd98485d05582ba89d6ec1d96",
                "sha256": "b70392a15a0cfbd67ab57dad0ca4ec54384948f0856cca23945ef49c5d607a2d"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c87914acd98485d05582ba89d6ec1d96",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 865382,
            "upload_time": "2024-12-17T10:35:01",
            "upload_time_iso_8601": "2024-12-17T10:35:01.488044Z",
            "url": "https://files.pythonhosted.org/packages/01/88/4f8998d8184ef02848310abbfd37a1de92055d31836389f0d7ecd0a22c98/LightSim2Grid-0.10.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6903fbead7bebcf6fa9a32049122b154e851913d8f22c0e4ef2187d4dfb6a9ec",
                "md5": "da41e4f0e78dcb6b2ddc80aba44044ec",
                "sha256": "0f01473b87032f3b65956ce65255975ab6bf07bc4e94e3249c0a177288aea7c3"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp313-cp313-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "da41e4f0e78dcb6b2ddc80aba44044ec",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 599849,
            "upload_time": "2024-12-17T10:35:18",
            "upload_time_iso_8601": "2024-12-17T10:35:18.733791Z",
            "url": "https://files.pythonhosted.org/packages/69/03/fbead7bebcf6fa9a32049122b154e851913d8f22c0e4ef2187d4dfb6a9ec/LightSim2Grid-0.10.0-cp313-cp313-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e43450fe6c3f960fe00dfc33cc0e4e406a20f833d04ee96e0172cfde844b7c8",
                "md5": "a3651dc6cef65c9526972b2728967417",
                "sha256": "1abf0839f6991bec0632272887b896bb8508895a9509af235e42d7265744b8da"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp313-cp313-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "a3651dc6cef65c9526972b2728967417",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 539693,
            "upload_time": "2024-12-17T10:34:47",
            "upload_time_iso_8601": "2024-12-17T10:34:47.958015Z",
            "url": "https://files.pythonhosted.org/packages/2e/43/450fe6c3f960fe00dfc33cc0e4e406a20f833d04ee96e0172cfde844b7c8/LightSim2Grid-0.10.0-cp313-cp313-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d89998a4536b8b7fd4111b68d80804dde0f197ee031b1ea166fe06c1bdd289b",
                "md5": "63b661449d7fcc86a3d9c19bf7856e2d",
                "sha256": "86c84d6d378ef36c19a4cdd6eaafeaf3cea3ccd616e35244bf8d04c8f2e5d2dd"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp37-cp37m-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "63b661449d7fcc86a3d9c19bf7856e2d",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 780878,
            "upload_time": "2024-12-17T10:34:23",
            "upload_time_iso_8601": "2024-12-17T10:34:23.754306Z",
            "url": "https://files.pythonhosted.org/packages/6d/89/998a4536b8b7fd4111b68d80804dde0f197ee031b1ea166fe06c1bdd289b/LightSim2Grid-0.10.0-cp37-cp37m-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "adbaa5fac0f75535844bf3a3ab8c1bb2f17af351d234eacfab886351d8cbf669",
                "md5": "bb4648c9340a8b38fb308f19b3751a1e",
                "sha256": "76e9b42541a050d2b74fc15097dee65058203c8868e3f8fb9b240b9dec646c91"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp37-cp37m-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "bb4648c9340a8b38fb308f19b3751a1e",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 866805,
            "upload_time": "2024-12-17T10:35:04",
            "upload_time_iso_8601": "2024-12-17T10:35:04.096486Z",
            "url": "https://files.pythonhosted.org/packages/ad/ba/a5fac0f75535844bf3a3ab8c1bb2f17af351d234eacfab886351d8cbf669/LightSim2Grid-0.10.0-cp37-cp37m-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32c04559c8a11f37f6466ac2c2d05f33e5acedc197869d3988a65455138d8ac7",
                "md5": "7037f1ae9d7e85e25670a12f9b2e9160",
                "sha256": "71b92f589621fa697ce07e9ec50efd6f07152de524f7bcc22dcf71d6e971b466"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "7037f1ae9d7e85e25670a12f9b2e9160",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 591501,
            "upload_time": "2024-12-17T10:35:21",
            "upload_time_iso_8601": "2024-12-17T10:35:21.872108Z",
            "url": "https://files.pythonhosted.org/packages/32/c0/4559c8a11f37f6466ac2c2d05f33e5acedc197869d3988a65455138d8ac7/LightSim2Grid-0.10.0-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "56aac0ebf3c11a35f50544d7a95d3c8efd4f8ea752b0d8d3565ef9562d903ac3",
                "md5": "241e4ddff30efb8b0f985ad1b1396159",
                "sha256": "08b19fe87cb3895341ede08690ce782329dd390cf2f0063d11646567cc8033f9"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp38-cp38-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "241e4ddff30efb8b0f985ad1b1396159",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 787250,
            "upload_time": "2024-12-17T10:34:27",
            "upload_time_iso_8601": "2024-12-17T10:34:27.088505Z",
            "url": "https://files.pythonhosted.org/packages/56/aa/c0ebf3c11a35f50544d7a95d3c8efd4f8ea752b0d8d3565ef9562d903ac3/LightSim2Grid-0.10.0-cp38-cp38-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "613357038c46ed50cd35706a50ad897ba7412f5ab06e71e8f0ab006127a1faee",
                "md5": "df0ab03149b5347f80094a7147490bed",
                "sha256": "38c3130279653a9b84cb6475c80f363601c32474a7dfd5a9c2d854f4b7ab9e48"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp38-cp38-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "df0ab03149b5347f80094a7147490bed",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 721767,
            "upload_time": "2024-12-17T10:34:33",
            "upload_time_iso_8601": "2024-12-17T10:34:33.751897Z",
            "url": "https://files.pythonhosted.org/packages/61/33/57038c46ed50cd35706a50ad897ba7412f5ab06e71e8f0ab006127a1faee/LightSim2Grid-0.10.0-cp38-cp38-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "595856d9ab2a87af47b147511126524fa67f81743280975a29e57652714f2026",
                "md5": "1a1d67244979a83ba44ada665890abbf",
                "sha256": "a0f68d799cf736ef4b71d762e90aa72114d92bdd8d6f35ef9fa1745a6c542338"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1a1d67244979a83ba44ada665890abbf",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 858823,
            "upload_time": "2024-12-17T10:35:06",
            "upload_time_iso_8601": "2024-12-17T10:35:06.709292Z",
            "url": "https://files.pythonhosted.org/packages/59/58/56d9ab2a87af47b147511126524fa67f81743280975a29e57652714f2026/LightSim2Grid-0.10.0-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18c0bbfb188ca992c8885f67b79f7476031a81d2d4bebdeb85c49d12dc05064f",
                "md5": "1ee5864ffdd3b257380e3de67ad6db69",
                "sha256": "141888ae28bd32c04d7304c7471a5bed30ef9d268a10d579c83d5d78e453184a"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1ee5864ffdd3b257380e3de67ad6db69",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 598671,
            "upload_time": "2024-12-17T10:35:23",
            "upload_time_iso_8601": "2024-12-17T10:35:23.667515Z",
            "url": "https://files.pythonhosted.org/packages/18/c0/bbfb188ca992c8885f67b79f7476031a81d2d4bebdeb85c49d12dc05064f/LightSim2Grid-0.10.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb66e21e2d03a5545a5b9252bd0fc90514d387eed09a38201ce44d0423f96163",
                "md5": "208f19c8e77a8e6fc2d60e7f0cf92e49",
                "sha256": "37657b1552a950a3067da2699595f240febf05c293dc2019bf7ecb1d5287149c"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "208f19c8e77a8e6fc2d60e7f0cf92e49",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 787521,
            "upload_time": "2024-12-17T10:34:30",
            "upload_time_iso_8601": "2024-12-17T10:34:30.581761Z",
            "url": "https://files.pythonhosted.org/packages/cb/66/e21e2d03a5545a5b9252bd0fc90514d387eed09a38201ce44d0423f96163/LightSim2Grid-0.10.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe0f0fee8e23912e37d9d950c7bd47b1aa4df0e5a447c59a8c6565d7350f785a",
                "md5": "de121f092a6c0632ff1ec892ae86fbee",
                "sha256": "0560d05670396af3757fc879b4696dac74cc3d8d581e35670ca032a0f757da56"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "de121f092a6c0632ff1ec892ae86fbee",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 722157,
            "upload_time": "2024-12-17T10:34:37",
            "upload_time_iso_8601": "2024-12-17T10:34:37.338395Z",
            "url": "https://files.pythonhosted.org/packages/fe/0f/0fee8e23912e37d9d950c7bd47b1aa4df0e5a447c59a8c6565d7350f785a/LightSim2Grid-0.10.0-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a6ca8480e53847e8e54bda0cd569f68f63b3b17dbef216b3aa819c41b0ad46c",
                "md5": "87b0abf5707ed6266adaad6c7b5ef209",
                "sha256": "04c80249b65d020a6587d416ba1141d437f97858567943aed449fc925bea70e3"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "87b0abf5707ed6266adaad6c7b5ef209",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 858927,
            "upload_time": "2024-12-17T10:35:09",
            "upload_time_iso_8601": "2024-12-17T10:35:09.408451Z",
            "url": "https://files.pythonhosted.org/packages/0a/6c/a8480e53847e8e54bda0cd569f68f63b3b17dbef216b3aa819c41b0ad46c/LightSim2Grid-0.10.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8997b7ad22b8e3e9095442412406913141d63e854fbd2c032ed511d2df77fc3",
                "md5": "4dba8a65ff84b4a9279f6592c1de5af0",
                "sha256": "2d8be3befbde118fa06d1e44209c6ee4747d65242d6f4f9875ca62d17a795196"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "4dba8a65ff84b4a9279f6592c1de5af0",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 585067,
            "upload_time": "2024-12-17T10:35:26",
            "upload_time_iso_8601": "2024-12-17T10:35:26.889793Z",
            "url": "https://files.pythonhosted.org/packages/c8/99/7b7ad22b8e3e9095442412406913141d63e854fbd2c032ed511d2df77fc3/LightSim2Grid-0.10.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23eefd2319012b1a346c626208f0a9d9c004678a13014cec83a8a010ebfda689",
                "md5": "6af6c20f60dc0708d5a1dc5f7c0021f5",
                "sha256": "ec09faf6add3ca07208136b1592a94ce483f0c64ffc8697ac76f5b84151b22c9"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.10.0-cp39-cp39-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "6af6c20f60dc0708d5a1dc5f7c0021f5",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 540522,
            "upload_time": "2024-12-17T10:34:50",
            "upload_time_iso_8601": "2024-12-17T10:34:50.133419Z",
            "url": "https://files.pythonhosted.org/packages/23/ee/fd2319012b1a346c626208f0a9d9c004678a13014cec83a8a010ebfda689/LightSim2Grid-0.10.0-cp39-cp39-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae798624f8f14b1a5ad44c8fb9128c75bac2884a4eea9e3dd4ff6ae8b892baac",
                "md5": "8bac6075ad8de2b68b3c136ef390cdf1",
                "sha256": "fff6df0a345a748b00eed2f46a124d7d1e54f61c58fba1f83ef002bf90115d2b"
            },
            "downloads": -1,
            "filename": "lightsim2grid-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8bac6075ad8de2b68b3c136ef390cdf1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1452483,
            "upload_time": "2024-12-17T10:35:30",
            "upload_time_iso_8601": "2024-12-17T10:35:30.349487Z",
            "url": "https://files.pythonhosted.org/packages/ae/79/8624f8f14b1a5ad44c8fb9128c75bac2884a4eea9e3dd4ff6ae8b892baac/lightsim2grid-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 10:35:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "grid2op",
    "github_project": "lightsim2grid",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "circle": true,
    "requirements": [
        {
            "name": "wheel",
            "specs": []
        },
        {
            "name": "pybind11",
            "specs": [
                [
                    ">=",
                    "2.4"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.20"
                ]
            ]
        },
        {
            "name": "pandapower",
            "specs": []
        }
    ],
    "lcname": "lightsim2grid"
}
        
Elapsed time: 0.40513s