Skip to main content

Amplify

Getting started

Amplify can be installed via pip install amplify-model. Then, the model can be used in an existing project by calling from amplify.src.flex_calculation import FlexCalculator.

Alternatively, the repo can of course be cloned. The source code of Amplify lies under amplify/src/flex_calculation.py. Its results require the data_classes.py file. The calculation relies only on basic python modules.

Tests

The basic tests lie under amplify/tests/unit_tests. They can be started by calling pytest.

  • test_total_flex_calculation.py: Assert valid flexibility calculation
  • test_ppr_detection.py: Validate problem detection
  • test_accept_short_trades_scenarios.py: Verify valid sizing of multi purpose obligations with MPOs lasting single time intervals
  • test_accept_long_trades_scenarios.py: Verify valid sizing of multi purpose obligations with MPOs lasting more than one time interval (contains multiple scenarios)

  • full_result_test_accept_long_trades_scenarios.txt: Contains result of full accept long trades test. For all failed tests, some information is given as well as a short summary.

Requirements

Until now, Amplify only requires the pytest module, which can be installed via pip.

License

Amplify is licensed under the Apache 2.0 license.

Project status

Amplify is still under development.

Author of documentation

Paul Hendrik Tiemann (2022)

Metadata

Release files for amplify-model 0.1.2

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

Source distribution (sdist)

Source distribution for amplify-model 0.1.2
File Size Uploaded
amplify_model-0.1.2.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for amplify-model 0.1.2
File Interpreter ABI Platform
amplify_model-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 MB

Release files / amplify_model-0.1.2.tar.gz

Download URL amplify_model-0.1.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f80a6feb4cfc458de71cfea28a85d5b98b915bcec5519c238a4efd3ca91e24ba
BLAKE2b-256 checksum
How to use checksums
38500418c4a8ca41883f6391591f3170545467a29d158e18b849ebc077577fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.5.0-15-generic

Release files / amplify_model-0.1.2-py3-none-any.whl

Download URL amplify_model-0.1.2-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a086c5bcc24764a73b2785144f61b457ac1d1e7c552e08d2cefa82467f8ffef7
BLAKE2b-256 checksum
How to use checksums
19a5eeda2c90f96bc839637bf9101d84ef7000d18501ac31998952070fb421ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.5.0-15-generic

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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