OpenERP module and library to manage multisite energy generation
Project description
plantmeter
OpenERP module and library to manage multisite energy generation
INSTALL
pip install -e .
nosetests plantmeter # Run unit tests
nosetests scripts # Run erp tests (require a working erp)
CHANGES
plantmeter 1.7.4 2022-01-08
"Keeping up with 2.7" Release
- Github actions for CI
- Moved isodates to somutils
- Python 2.4 compatibility: added conditional dependencies
plantmeter 1.7.3 2019-07-29
Py3 portability back
- MTC: mongo's bjson do not accept numpy types as attributes, so we are taking the native item when updating with numpy arrays.
plantmeter 1.7.2 2019-07-18
Not importing anymore release
- Removing logic for importing metering since now is done by Gisce:
- Removed
Meter.last_commitrelated to the meter importing logic - Removed
GenerationkwhProductionNotifierand related helpers update_kwhmethods removed- Removed all (metering) providers
- Removed
GenerationkwhProductionAggregator.getNShares()
- Removed
genkwh_productionscript renamed asgenkwh_plantsgenkwh_production curveextracted asgenkwh_mtcgenkwh_mtc: collections alias renamed:gisce->productionproduction->production_old
genkwh_mtc: New collectionrightscorrection- Plants have
first/last_active_date - Meters have
first/last_active_date - New
Aggregator.firstActiveDate()returning the min of the plant'sfirst_active_date - Functional tests moved to
som_plantmeter/tests - FIX: Fontivsolar meter number was wrong
- New migration script to perform the former fix and rewrite the rights
plantmeter 1.7.1 2019-04-04
- Removed deprecated scripts
genkwh_pull_statusandgenkwh_export - Removed deprecated
genkwh_productionsubcommands: pull-status, load-meassures and update-kwh - Script
genkwh_production.pyinstalled by setup.py
plantmeter 1.7.0 2019-04-02
- Meters and plants have
first_active_dateattribute - Built plant shares is not a constant curve anymore, changes when adding new plants
- Meter
first_active_datefilters out earlier meassures - Fix: lastMesurement in a mix/plant is the first one of lastMeasurement of the childs
genkwh_migrate_1_6_3_newplant.sh: Script to migrate old plant and incorporate the new one- In general, fixes to really enable multiple plants
genkwh_production.py: editmix, editplant, editmetergenkwh_production.py: editmix, editplant, editmetergenkwh_production.py: delmix, delplant, delmetergenkwh_production.py: meterset -> editmeter
plantmeter 1.6.2 2019-01-21
- Deprecated
genkwh_pull_status.pyandgenkwh_pull_status.sh genkwh_production.py: addedpull_statusas subcommandgenkwh_production.py pull_status: nicer output and exit statusgenkwh_migration_ftp_to_tmprofile.pymigration script
plantmeter 1.6.1 2019-01-03
- Show erp configuration at the begining of every command
- Protect
genkwh_production.py clearagaints lossy fingers
plantmeter 1.6.0 2019-01-03
- Python 3 supported (python module, not yet the erp code)
- Migrated to pymongo 3
- MongoTimeCurve takes some field names as parameters (timestamp and creation)
- Abstracted ResourceParent from ProductionPlant and ProductionAggregator
genkwh_production.py list: list all the resorce hierarchy (mixes, plants, meters)genkwh_production.py addmix: to add an aggregator, now 'mix'genkwh_production.py addplant: to add a plantgenkwh_production.py addmeter: to add a metergenkwh_production.py curve: to extract stored curves as TSV (production, rights...)genkwh_production.pycommmand documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plantmeter-1.7.4.tar.gz
(28.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plantmeter-1.7.4.tar.gz.
File metadata
- Download URL: plantmeter-1.7.4.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17d8b06e38f7d634002b5cb6ee1cf8b3f32a9da782cff8c56b6ffe3385b3927c
|
|
| MD5 |
22fb3f1d3bb9175184a8d80e08d4441b
|
|
| BLAKE2b-256 |
1f0f55373dd780f8d4cc896f26126f4493e73bbacf30ba2d270aed0da6fb4c51
|
File details
Details for the file plantmeter-1.7.4-py3-none-any.whl.
File metadata
- Download URL: plantmeter-1.7.4-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcba837463ce6476aedc62e8205452dc0193b3daed7227cce3363da371c767bd
|
|
| MD5 |
1cae11dbed7d33f246784e051b0a62de
|
|
| BLAKE2b-256 |
3251b3feab87e1e28982d0d7b094c7089c7caa822b2f5c9123db2e8bd3511993
|