Predictions of polymer systems properties
Project description
PModels :: Predictive models for polymer systems
- PModels can predict properties of polymer blends and composites.
- Input: properties of the components + composition + additional parameters.
- Output: property of the final system (i.e. of the polymer blend or composite).
Principle
>>> # Standard import of PModels package
>>> import pmodels as pm
>>>
>>> # Estimate arbitrary property P of a polymer blend
>>> # (P1,P2) = properties of components, v2 = vol.fraction of component 2
>>> P = pm.lin.P(P1=1, P2=3, v2=0.5)
>>>
>>> # Estimate elastic modulus, E, and yield stress, Y, of a polymer blend
>>> # (E1,E2 and Y1,Y2) = props of the components, v2 = vol.fract., A = adhesion
>>> E = pm.ebm.E(E1=1, E2=3, v2=0.5)
>>> Y = pm.ebm.Y(Y1=20, Y2=100, v2=0.5, A=1)
Installation
- Requirement: Python with sci-modules = numpy, matplotlib, scipy, pandas
pip install pmodels= PModels package itself (uses all packages above)
Quick start
- Worked example = basic calculations with PModels.
- DropBox folder with more examples, including test data.
Documentation, help and examples
- PyPI repository - the stable version to install.
- GitHub repository - the current version under development.
- GitHub Pages with examples and complete package documentation.
Versions of PModels
- Version 0.1 = key calculations
- Version 0.2 = basic docstrings added
- Version 0.3 = improved init file = simple API
- Version 0.4 = standard docstrings, improved code, deployed in GitHub
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
pmodels-0.4.tar.gz
(10.5 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
pmodels-0.4-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file pmodels-0.4.tar.gz.
File metadata
- Download URL: pmodels-0.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb9236263516f09937017ebbd09169e7f41fd087d37774e829ffa9420c5d56c
|
|
| MD5 |
3c00cca515d8fa17d9fbbb0f636e4657
|
|
| BLAKE2b-256 |
7465d6c6b5a3f706e76fb68c9f2c8ad9cc1f4daa1c2eba3d2dd25afc199f35b9
|
File details
Details for the file pmodels-0.4-py3-none-any.whl.
File metadata
- Download URL: pmodels-0.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
295753bb718475523195c997390f2f8b0156303961972568a2b95dd91f2bdbd8
|
|
| MD5 |
180a0ac46d51353e9fbf1337ba1be666
|
|
| BLAKE2b-256 |
e5cca1609b1fa35b917221dfddd94a75ee1ec45d27dc912c310133bbf8a8b63e
|