semvec/pypi-packages huggingface dataset:
mosaik-householdsim 2.1.0
A simple simulator for household profiles.

HouseholdSim
============

This is pseudo simulator to serve residual load profiles to mosaik.


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

::

    $ pip install mosaik-householdsim

Tests
-----

You can run the tests with::

    $ git clone https://gitlab.com/mosaik/mosaik-householdsim
    $ cd mosaik-householdsim
    $ pip install -r requirements.txt
    $ pip install -e .
    $ pytest


Documentation
-------------

This simulator consists of a *model* (``householdsim/model.py``) and the
mosaik API implementation (``householdsim/mosaik.py``).

The model processes the data from a NumPy *\*.npz* file (see
``householdsim/test/test_model.py`` for an example of its layout). Basically,
the file contains a number of load profiles for a given period of time. It
also contains *ID lists* that describe which load profile belongs to which
node ID in a power grid. The first entry in an ID list relates to the first
entry of the profiles list, the second entry in the ID list to the second
load profile and so on. If the number of entries in the ID list is larger than
the number of load profiles, we start again with the first load profile.

Internally, the model works with minute. Since mosaik allows to set the time
resolution in the scenario (seconds as default), the mosaik API implementation
converts between them.

Usually, residual load profiles have a resolution of 15 minutes. It is no
problem for this simulator to step in 1 minute steps, though.


Changelog
=========

2.1.0 - 2021-05-21
------------------

- [CHANGE] Updated to mosaik-api 3.0.


2.0.3 – 2019-09-27
------------------

- [FIX] Fixed incompatibility with new arrow version.
- [FIX] Fixed time offset bug.


2.0.2 – 2014-09-22
------------------

- [CHANGE] Updated to mosaik-api 2.0.


2.0.1 – 2014-06-26
------------------

- [CHANGE] Adopted latest changes of the mosaik low-level API.


2.0 – 2014-03-26
----------------

- Updated API implementation for mosaik2.


1.0 – 2014-01-30
----------------

- Initial release.


Authors
=======

The household simulator was created by Stefan Scherfke and Ontje Lünsdorf.
odim-h5 0.1.0
A Python package to read ODIM HDF5 files
Requires Python: >3.7.0

# odim_h5

[![.github/workflows/run-tests.yaml](https://github.com/inbo/odim_h5/actions/workflows/run-tests.yaml/badge.svg)](https://github.com/inbo/odim_h5/actions/workflows/run-tests.yaml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

A simple Python package to access data in [ODIM HDF5](https://www.eumetnet.eu/wp-content/uploads/2019/01/ODIM_H5_v23.pdf) format.

Limitations:

- (currently) read-only
- Python 3.7+

# Development

## Install locally

    $ pip install -e .

## Install dev dependencies

    $ pip install -r requirements.txt

## Run tests

    $ pytest
    $ mypy odim_h5

## Format code

    $ black .

## Generate distribution and upload to PyPI

    $