LightSim2Grid


NameLightSim2Grid JSON
Version 0.9.2 PyPI version JSON
download
home_pagehttps://github.com/grid2op/lightsim2grid/
SummaryLightSim2Grid implements a c++ backend targeting the Grid2Op platform.
upload_time2024-10-18 18:43:09
maintainerNone
docs_urlNone
authorBenjamin Donnot
requires_pythonNone
licenseMPL 2.0
keywords pandapower powergrid simulator klu eigen c++
VCS
bugtrack_url
requirements No requirements were recorded.
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)


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/e4/71/12296fbae8a3d802b3bcdefb09b0c917dff2e1c277189039fe050ebc34d3/lightsim2grid-0.9.2.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\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.9.2",
    "project_urls": {
        "Homepage": "https://github.com/grid2op/lightsim2grid/"
    },
    "split_keywords": [
        "pandapower",
        "powergrid",
        "simulator",
        "klu",
        "eigen",
        "c++"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a3361ee50c500e1dcae464e5935a43d0a1a26fed0721a8757c0830c612b8cbb",
                "md5": "e328914e1efd65650aebce5883ad85e0",
                "sha256": "8997e31a5e1e4bb659e44a3832835166cf3cf54409d6ecb43fb3b83043811752"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e328914e1efd65650aebce5883ad85e0",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 786181,
            "upload_time": "2024-10-18T18:42:10",
            "upload_time_iso_8601": "2024-10-18T18:42:10.094818Z",
            "url": "https://files.pythonhosted.org/packages/5a/33/61ee50c500e1dcae464e5935a43d0a1a26fed0721a8757c0830c612b8cbb/LightSim2Grid-0.9.2-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cfcfc1cfab36e0d9a42917b5cde37ccf4bef101a0b2950beae5424ac6fc3299",
                "md5": "01afbb9ffa0ad87f057bbfff79933de2",
                "sha256": "249f0e92b16fe72e828a5e921aa09f2a78cec091c0ba04e80973046afc4584fe"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "01afbb9ffa0ad87f057bbfff79933de2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 1382819,
            "upload_time": "2024-10-18T18:42:07",
            "upload_time_iso_8601": "2024-10-18T18:42:07.283089Z",
            "url": "https://files.pythonhosted.org/packages/1c/fc/fc1cfab36e0d9a42917b5cde37ccf4bef101a0b2950beae5424ac6fc3299/LightSim2Grid-0.9.2-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35f5a04da1bb46fe749452c6ad5f784b5ea6fe8aa2ee500d2e036c3217f73e70",
                "md5": "c6b140aa2b4725843d3712101770d90c",
                "sha256": "e659837e232ef39e46773ea414e124fa8e55306a7a20d9b81a3a6907cf7752fb"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c6b140aa2b4725843d3712101770d90c",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 853832,
            "upload_time": "2024-10-18T18:42:30",
            "upload_time_iso_8601": "2024-10-18T18:42:30.953015Z",
            "url": "https://files.pythonhosted.org/packages/35/f5/a04da1bb46fe749452c6ad5f784b5ea6fe8aa2ee500d2e036c3217f73e70/LightSim2Grid-0.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab06e30b6e1889f9e317d897ef40b966c4e4f7c8bba7efe44fc0dfebdef5b288",
                "md5": "34bb04be8bede9074690fefb18e87274",
                "sha256": "e6e079d70dbc8086fceba31fc3260d2a60b8ed1f01c1de457a5321b56534c7f5"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "34bb04be8bede9074690fefb18e87274",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 597347,
            "upload_time": "2024-10-18T18:42:48",
            "upload_time_iso_8601": "2024-10-18T18:42:48.277360Z",
            "url": "https://files.pythonhosted.org/packages/ab/06/e30b6e1889f9e317d897ef40b966c4e4f7c8bba7efe44fc0dfebdef5b288/LightSim2Grid-0.9.2-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e0d8e9a209ad5af3fa4ab00cd4c9970bd76931b59eb6cbf5bfdc5ca17419347b",
                "md5": "b9ec63871ef093a9fd92efd3ecf0e40d",
                "sha256": "71ee01f64f3e713538e77e0436dd01cd64944260fe0b6e1d7ddd8ec3d0028a31"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp310-cp310-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "b9ec63871ef093a9fd92efd3ecf0e40d",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 537798,
            "upload_time": "2024-10-18T18:43:01",
            "upload_time_iso_8601": "2024-10-18T18:43:01.576117Z",
            "url": "https://files.pythonhosted.org/packages/e0/d8/e9a209ad5af3fa4ab00cd4c9970bd76931b59eb6cbf5bfdc5ca17419347b/LightSim2Grid-0.9.2-cp310-cp310-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f5595d3c91fe770e8a746534096df70c4e08e5acbd66c12d641be65ff6af7f8",
                "md5": "549736a8c4619c4d971072fe41ef5540",
                "sha256": "50edd880403ca3646e5098070e49563ffcde8750f26f57d1591c939336c0d314"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "549736a8c4619c4d971072fe41ef5540",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1399873,
            "upload_time": "2024-10-18T18:42:15",
            "upload_time_iso_8601": "2024-10-18T18:42:15.385864Z",
            "url": "https://files.pythonhosted.org/packages/5f/55/95d3c91fe770e8a746534096df70c4e08e5acbd66c12d641be65ff6af7f8/LightSim2Grid-0.9.2-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7bfd0b49d3039d457f899adca075b56d56446f901882f826465698fc1958a8f",
                "md5": "ef505838b434c89ecebe0648ab3b5a48",
                "sha256": "e5ada986c940aaa341b67d72c80ce270fb8970b57ddc6ed004dd22bae7fd398e"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "ef505838b434c89ecebe0648ab3b5a48",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1385526,
            "upload_time": "2024-10-18T18:42:12",
            "upload_time_iso_8601": "2024-10-18T18:42:12.620492Z",
            "url": "https://files.pythonhosted.org/packages/c7/bf/d0b49d3039d457f899adca075b56d56446f901882f826465698fc1958a8f/LightSim2Grid-0.9.2-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a226c5ac5551bd5a7f092f4529e2c3c3bd8f985dc42c8ec85bc9535b1a9c204b",
                "md5": "93a7573d67f87d58edcca76676017c51",
                "sha256": "5a3c03625f7ee6e4b1863e168dc806f5c22f7662ec62421e59f216ad8c498f0b"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "93a7573d67f87d58edcca76676017c51",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 854985,
            "upload_time": "2024-10-18T18:42:32",
            "upload_time_iso_8601": "2024-10-18T18:42:32.692933Z",
            "url": "https://files.pythonhosted.org/packages/a2/26/c5ac5551bd5a7f092f4529e2c3c3bd8f985dc42c8ec85bc9535b1a9c204b/LightSim2Grid-0.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e9bdfec4ba6630fe55d14de6a01fbe5d2bc4bc5bd9466d8cf3f47b21854a28f",
                "md5": "bf0e992aa76f204de201669c84d257ca",
                "sha256": "b54471feb7f19083b451f6142f231248d1727fe6cf41eea39338ac6c480e4170"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "bf0e992aa76f204de201669c84d257ca",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 597966,
            "upload_time": "2024-10-18T18:42:51",
            "upload_time_iso_8601": "2024-10-18T18:42:51.058871Z",
            "url": "https://files.pythonhosted.org/packages/3e/9b/dfec4ba6630fe55d14de6a01fbe5d2bc4bc5bd9466d8cf3f47b21854a28f/LightSim2Grid-0.9.2-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6d5ec3746b25fec09db3216d1eff6380d7c7d401c6283f89cb73a534f5a2d59",
                "md5": "60b35b3913e1322d3b911d7e78d31fd2",
                "sha256": "0c51c4061e50b3b7d7cee0b13133902cdffabff840896c0090f6cb5e17a5306e"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp311-cp311-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "60b35b3913e1322d3b911d7e78d31fd2",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 538571,
            "upload_time": "2024-10-18T18:43:04",
            "upload_time_iso_8601": "2024-10-18T18:43:04.424169Z",
            "url": "https://files.pythonhosted.org/packages/a6/d5/ec3746b25fec09db3216d1eff6380d7c7d401c6283f89cb73a534f5a2d59/LightSim2Grid-0.9.2-cp311-cp311-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a018710e3318ce40307ca978c534765661579b9108fd32db9e9259f486a8cc20",
                "md5": "7e3329189f900c832b0a190e6370bb7b",
                "sha256": "988c01fe207a08b4f0f77a7e06de4e27596e508a3544d8df79162453c98865dc"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7e3329189f900c832b0a190e6370bb7b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1415158,
            "upload_time": "2024-10-18T18:42:20",
            "upload_time_iso_8601": "2024-10-18T18:42:20.313490Z",
            "url": "https://files.pythonhosted.org/packages/a0/18/710e3318ce40307ca978c534765661579b9108fd32db9e9259f486a8cc20/LightSim2Grid-0.9.2-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91a00298592535d3bb4d55bbaad066e913d35f3f47f41a68696b43ebbab778da",
                "md5": "1eefe0251cf7ce4cab6694233d5bab55",
                "sha256": "2fef241fc288f854a38aad6d4bae989fdcbc5dd1a9fc9e589df62460bc45d4c5"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "1eefe0251cf7ce4cab6694233d5bab55",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1399246,
            "upload_time": "2024-10-18T18:42:17",
            "upload_time_iso_8601": "2024-10-18T18:42:17.428166Z",
            "url": "https://files.pythonhosted.org/packages/91/a0/0298592535d3bb4d55bbaad066e913d35f3f47f41a68696b43ebbab778da/LightSim2Grid-0.9.2-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "808c08ee3ef85c0094571e2ec95ab1da6aafc019f5262b186402b89f1a725d07",
                "md5": "fa3cf5ead3400e425d0b96a7bbe289aa",
                "sha256": "44263a313bab5e27d447afd653433e9d54b6d4bdafe90c3fac4201bba947d712"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fa3cf5ead3400e425d0b96a7bbe289aa",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 849322,
            "upload_time": "2024-10-18T18:42:34",
            "upload_time_iso_8601": "2024-10-18T18:42:34.527634Z",
            "url": "https://files.pythonhosted.org/packages/80/8c/08ee3ef85c0094571e2ec95ab1da6aafc019f5262b186402b89f1a725d07/LightSim2Grid-0.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e1944e6f12891a6648f7834067232408e45688163245a185af16659a73c06b4",
                "md5": "e36be06c38bc7230e492a3691bf069cd",
                "sha256": "3c5508fcd4f297bdebe335a01c6418d6aad95cb4b6718fde6eb6fac686434415"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "e36be06c38bc7230e492a3691bf069cd",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 598800,
            "upload_time": "2024-10-18T18:42:52",
            "upload_time_iso_8601": "2024-10-18T18:42:52.657823Z",
            "url": "https://files.pythonhosted.org/packages/4e/19/44e6f12891a6648f7834067232408e45688163245a185af16659a73c06b4/LightSim2Grid-0.9.2-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe72bf3a7f601ed42e9ad68897a0d4334cfcb9f8159cf48de20f8606d1b4491b",
                "md5": "66432f910dfffbc70bc8a57c08eb115b",
                "sha256": "0b848e5c3f4494a7b55ee7c2c2a5b6596731da48f850ffe7f63e6ba5f21c5642"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp312-cp312-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "66432f910dfffbc70bc8a57c08eb115b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 538587,
            "upload_time": "2024-10-18T18:43:06",
            "upload_time_iso_8601": "2024-10-18T18:43:06.272979Z",
            "url": "https://files.pythonhosted.org/packages/fe/72/bf3a7f601ed42e9ad68897a0d4334cfcb9f8159cf48de20f8606d1b4491b/LightSim2Grid-0.9.2-cp312-cp312-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d8cec67745d9096bcf55308e5111cfd79768e2c40a1b4ab867796938b45afcc",
                "md5": "fa67bb3ddc03199c5981289580d2f155",
                "sha256": "1487780a4e8b6bb5b3079efdaa4ea9add3ac8330ebc84685a7458a3f0bc7a451"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp37-cp37m-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fa67bb3ddc03199c5981289580d2f155",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 779710,
            "upload_time": "2024-10-18T18:42:24",
            "upload_time_iso_8601": "2024-10-18T18:42:24.192255Z",
            "url": "https://files.pythonhosted.org/packages/4d/8c/ec67745d9096bcf55308e5111cfd79768e2c40a1b4ab867796938b45afcc/LightSim2Grid-0.9.2-cp37-cp37m-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e35d800cfb6e32eb33a04f77328879c8d28e7b0c67ebf8bf7405f90522e9c3cb",
                "md5": "02ec3ebd1bc081771ba4451bfa6f4bdb",
                "sha256": "85930dca04f4286ca37ca2b1a3347bf860f765d47a301fa3bb786ff89be70aae"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "02ec3ebd1bc081771ba4451bfa6f4bdb",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 854717,
            "upload_time": "2024-10-18T18:42:36",
            "upload_time_iso_8601": "2024-10-18T18:42:36.373403Z",
            "url": "https://files.pythonhosted.org/packages/e3/5d/800cfb6e32eb33a04f77328879c8d28e7b0c67ebf8bf7405f90522e9c3cb/LightSim2Grid-0.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "366fe17c0d6011b3b4a443fc9a00516d6315abc5d70cdbf45b6cb897f5052c2e",
                "md5": "9a5bfd44bba0d1fa362a00c4d3313555",
                "sha256": "1236bdda4ffd9f7c04b70df4ec4508c82295a3258a40b3bca815115aaa65f662"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "9a5bfd44bba0d1fa362a00c4d3313555",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 590498,
            "upload_time": "2024-10-18T18:42:55",
            "upload_time_iso_8601": "2024-10-18T18:42:55.217358Z",
            "url": "https://files.pythonhosted.org/packages/36/6f/e17c0d6011b3b4a443fc9a00516d6315abc5d70cdbf45b6cb897f5052c2e/LightSim2Grid-0.9.2-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dd6570bbb188c56bb13dcf57d16292cca49473edf68f058d96ff50887052194",
                "md5": "4fa5601f2327132272babcd724bb1704",
                "sha256": "f94d3675f30231bb3a4e877ae3d48e214e287ca7acaa16a797df1c1122aa9374"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp38-cp38-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4fa5601f2327132272babcd724bb1704",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 785969,
            "upload_time": "2024-10-18T18:42:26",
            "upload_time_iso_8601": "2024-10-18T18:42:26.196486Z",
            "url": "https://files.pythonhosted.org/packages/5d/d6/570bbb188c56bb13dcf57d16292cca49473edf68f058d96ff50887052194/LightSim2Grid-0.9.2-cp38-cp38-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "112547ac305e84c3b40f35a688e68428f8b704ec4bebe81909ffe3b51283a062",
                "md5": "45ab8c0adb5fb4ec252caf661713a73a",
                "sha256": "5aaf46fe3db7eac9d109c0e435372ef0dbc65256d148ab8b41b2539186c3431a"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp38-cp38-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "45ab8c0adb5fb4ec252caf661713a73a",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 720679,
            "upload_time": "2024-10-18T18:42:44",
            "upload_time_iso_8601": "2024-10-18T18:42:44.160799Z",
            "url": "https://files.pythonhosted.org/packages/11/25/47ac305e84c3b40f35a688e68428f8b704ec4bebe81909ffe3b51283a062/LightSim2Grid-0.9.2-cp38-cp38-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cd351c059596ba1f4f4fa669abc2d9735e1e6a40d2f21a04c9d0eae79c03bb62",
                "md5": "0eb8cf7791b7c77b04baf583146e9450",
                "sha256": "2aedafa87ca2ca56f8b90e94706ec4076527103bf94a51b0f7b23e74dd4151b6"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0eb8cf7791b7c77b04baf583146e9450",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 853648,
            "upload_time": "2024-10-18T18:42:38",
            "upload_time_iso_8601": "2024-10-18T18:42:38.945419Z",
            "url": "https://files.pythonhosted.org/packages/cd/35/1c059596ba1f4f4fa669abc2d9735e1e6a40d2f21a04c9d0eae79c03bb62/LightSim2Grid-0.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "649fdd3d158e2aeddecc1fa90347421d38228d5fce84a7909b9b8f0a39e8117f",
                "md5": "359461e6350d0b235aebec874f9d6892",
                "sha256": "606f66c6f742be5f5bbe91e23e972ec4d5721472ac9f82a2ea0c6e3942e6b026"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "359461e6350d0b235aebec874f9d6892",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 597553,
            "upload_time": "2024-10-18T18:42:57",
            "upload_time_iso_8601": "2024-10-18T18:42:57.671172Z",
            "url": "https://files.pythonhosted.org/packages/64/9f/dd3d158e2aeddecc1fa90347421d38228d5fce84a7909b9b8f0a39e8117f/LightSim2Grid-0.9.2-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "735ffeffde1dfece09204c9e5facb45ed970607de76a2745ecd5a78982fd3f26",
                "md5": "0627a0c93574b806c4f39c2330ca9d87",
                "sha256": "3f35b44851c9855a6ad8b12c3abebcf2dd98c8527268059903d8a970ade8c993"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0627a0c93574b806c4f39c2330ca9d87",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 786313,
            "upload_time": "2024-10-18T18:42:28",
            "upload_time_iso_8601": "2024-10-18T18:42:28.522910Z",
            "url": "https://files.pythonhosted.org/packages/73/5f/feffde1dfece09204c9e5facb45ed970607de76a2745ecd5a78982fd3f26/LightSim2Grid-0.9.2-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1af28e78f25b0079ce5ea857efc97c04a4625f0845e534b75cf19c83cdc7576a",
                "md5": "294a9fd0ab30dc6a262261a6c70f4505",
                "sha256": "35fd7345af6d5eb7f9ae7eb97a60a6cff82e3f1e8720fab4a369c17f2ef088dd"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "294a9fd0ab30dc6a262261a6c70f4505",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 720992,
            "upload_time": "2024-10-18T18:42:46",
            "upload_time_iso_8601": "2024-10-18T18:42:46.617301Z",
            "url": "https://files.pythonhosted.org/packages/1a/f2/8e78f25b0079ce5ea857efc97c04a4625f0845e534b75cf19c83cdc7576a/LightSim2Grid-0.9.2-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fdbccb8f287a1c21f2990fc5e5919bea98546328117c83f3664453eb7fd86872",
                "md5": "e4ec8706fe36fda0a91e0d73990d9ddd",
                "sha256": "c745807a9b099dc86e29e77109d237e46042ecbf449284aa5e4484b62d1deaca"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e4ec8706fe36fda0a91e0d73990d9ddd",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 854255,
            "upload_time": "2024-10-18T18:42:41",
            "upload_time_iso_8601": "2024-10-18T18:42:41.407660Z",
            "url": "https://files.pythonhosted.org/packages/fd/bc/cb8f287a1c21f2990fc5e5919bea98546328117c83f3664453eb7fd86872/LightSim2Grid-0.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "105039fda23004d7d5fded063a811426c6fbec1c3b438cc112e66340b94346e0",
                "md5": "009c076cbfff4285d3a1ef8ba48b1919",
                "sha256": "5478af5398f74b207da79677b73a054f492d61f60300ef083d226573e5035366"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "009c076cbfff4285d3a1ef8ba48b1919",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 584071,
            "upload_time": "2024-10-18T18:42:59",
            "upload_time_iso_8601": "2024-10-18T18:42:59.697768Z",
            "url": "https://files.pythonhosted.org/packages/10/50/39fda23004d7d5fded063a811426c6fbec1c3b438cc112e66340b94346e0/LightSim2Grid-0.9.2-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e2797a35e70385109fa5c51956fed841e47f4d6a6fccea7bdf4b6d10d091c96",
                "md5": "eefb1b2be029efa4036673265b8e5c4d",
                "sha256": "12d9880669860bd52ffab59ff20dad2db615ec524a3d0d4c40361b449ffcb650"
            },
            "downloads": -1,
            "filename": "LightSim2Grid-0.9.2-cp39-cp39-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "eefb1b2be029efa4036673265b8e5c4d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 539547,
            "upload_time": "2024-10-18T18:43:08",
            "upload_time_iso_8601": "2024-10-18T18:43:08.013268Z",
            "url": "https://files.pythonhosted.org/packages/0e/27/97a35e70385109fa5c51956fed841e47f4d6a6fccea7bdf4b6d10d091c96/LightSim2Grid-0.9.2-cp39-cp39-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e47112296fbae8a3d802b3bcdefb09b0c917dff2e1c277189039fe050ebc34d3",
                "md5": "59b359e349d64c8219bb3e4c55efb703",
                "sha256": "5bc6e5fff23c80a4ccb82c9cb25d1098e79fe5d39dfbf0f0671efc7c5c936b6c"
            },
            "downloads": -1,
            "filename": "lightsim2grid-0.9.2.tar.gz",
            "has_sig": false,
            "md5_digest": "59b359e349d64c8219bb3e4c55efb703",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1451063,
            "upload_time": "2024-10-18T18:43:09",
            "upload_time_iso_8601": "2024-10-18T18:43:09.971299Z",
            "url": "https://files.pythonhosted.org/packages/e4/71/12296fbae8a3d802b3bcdefb09b0c917dff2e1c277189039fe050ebc34d3/lightsim2grid-0.9.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-18 18:43:09",
    "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": [],
    "lcname": "lightsim2grid"
}
        
Elapsed time: 1.58457s