Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

HouseholdSim

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

Status

Pipeline status Coverage Report Libraries status License badge PyPI version Python Versions

Installation

$ pip install mosaik-householdsim

Tests

You can run the tests with:

$ git clone https://bitbucket.org/mosaik/mosaik-householdsim
$ cd mosaik-householdsim
$ pip install -r requirements.txt
$ pip install -e .
$ pytest
$ tox

Documentation

This simulator consists of a a model (householdsim/model.py) and the mosaik API implemenation (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 entires 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 is based on seconds, 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.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.

Metadata

Release files for mosaik.HouseholdSim-SemVer 2.0.4rc20211207010424

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mosaik.HouseholdSim-SemVer 2.0.4rc20211207010424
File Interpreter ABI Platform
mosaik.HouseholdSim_SemVer-2.0.4rc20211207010424-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / mosaik.HouseholdSim_SemVer-2.0.4rc20211207010424-py2.py3-none-any.whl

Download URL mosaik.HouseholdSim_SemVer-2.0.4rc20211207010424-py2.py3-none-any.whl
Size 15.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fca1525af593f1ae7cf8d820112401a7bffb437f373876be2cbee299945841c7
BLAKE2b-256 checksum
How to use checksums
5746e0a629ea4e736e5dde68e4f292940b87eec4080413454b307bece48a377e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

Security for mosaik.HouseholdSim-SemVer 2.0.4rc20211207010424

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page