Skip to main content

AITW stiffness surrogate model

NOTES Requires python3.10 for the current pinned version of tensorflow.

Install

From EESSI

Check the EESSI documentation to see on which version of EESSI the package is available.

Run on a system with EESSI pre-installed or install EESSI on your own system

Load the package from EESSI:

# Follow instructions of your system to initialize EESSI
# For a local/native installation:
# source /cvmfs/software.eessi.io/versions/2023.06/init/lmod/bash

module load EESSI/2023.06  # Or the latest version that has the package available
module load AITW-stiffness

From PyPI

pip install AITW_stiffness_surrogate

From source (development version)

Download the source code and install it using pip.

cd <PATH to folder with pyproject.toml>
pip install .

Usage

CLI

The code makes avaialble a CLI utility to run the inference given an input JSON file.

aitw-stiffness example-input/input.json output.json 0.05 0.95

Adjust the parameters as needed (Use --help for more information).

Parameters

Parameter Description Type
<input-path> File path to the input file containing a properly formatted JSON file. See fromat below. String
<output-path> File path for the stiffness estimate JSON file. Example output shown below. String
<quantile-lower-bound> Lower bound percentage of the uncertainty estimate. Float [ 0, 1]
<quantile-upper-bound> Upper bound percentage of the uncertainty estimate Float [ 0, 1]

Input parameter values and ranges

The surrogate has been trained with physical parameters ranging between the values below. Fiber orientation distribution parameter takes one of the two values below.
An error will be thrown if the input parameter values do not coincide with the limits.

Parameter Possible value
fiberOrientationDistribution "vonMises", "vonMisesFisher"
Parameter Minimum Maximum
fiberAspectRatio 1.2 20000
orientationConcentration 1e-10 100
microfibrilAngle 0 45
lumenPorosity 0 0.99
fiberVolumeFraction 0 1
celluloseContent 0.05 0.9
hemicelluloseContent 0.01 0.5
ligninContent 0.01 0.6
pectinContent 0 0.15
extractivesContent 0 0.15
ashContent 0 0.2
celluloseCrystallinity 0.2 1.0
matrixYoungsModulus 0 100
matrixPoissonRatio 0 0.5
airPorosity 0 0.5
tangentialInterfaceCompliance 1e-10 100000.0
longitudinalInterfaceCompliance 1e-10 100000.0

Output file example

This results in the following output file format in "./output.json":

{
  "E_T": {
    "median": 3.550992727279663,
    "lowerBound": 3.2585065364837646,
    "upperBound": 3.869732141494751
  },
  "E_L": {
    "median": 1.9295220375061035,
    "lowerBound": 1.6106904745101929,
    "upperBound": 2.3114655017852783
  },
  "nu_T": {
    "median": 0.2790219783782959,
    "lowerBound": 0.19306382536888123,
    "upperBound": 0.36498013138771057
  },
  "nu_LT": {
    "median": 0.19985055923461914,
    "lowerBound": 0.15456369519233704,
    "upperBound": 0.24513742327690125
  },
  "mu_LT": {
    "median": 1.482556939125061,
    "lowerBound": 1.3604427576065063,
    "upperBound": 1.61563241481781
  },
  "quantiles": [
    0.05,
    0.95
  ]
}

Metadata

Release files for AITW_stiffness_surrogate 1.0.1

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

Source distribution (sdist)

Source distribution for AITW_stiffness_surrogate 1.0.1
File Size Uploaded Provenance Actions
aitw_stiffness_surrogate-1.0.1.tar.gz 3.2 MB Without provenance Details for aitw_stiffness_surrogate-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for AITW_stiffness_surrogate 1.0.1
File Interpreter ABI Platform Actions
aitw_stiffness_surrogate-1.0.1-py3-none-any.whl Python 3 none any Details for aitw_stiffness_surrogate-1.0.1-py3-none-any.whl

Total release size: 6.5 MB

Release files / aitw_stiffness_surrogate-1.0.1.tar.gz

Download URL aitw_stiffness_surrogate-1.0.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
7de36ec471c94146ed1f0403623cfdfe989989b5a4d6f8b3e46791e0273a1819
BLAKE2b-256 checksum
How to use checksums
a7437122d952a8f972f4532555d8949ac3143c3453ddca1b5fdc3ce237444d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / aitw_stiffness_surrogate-1.0.1-py3-none-any.whl

Download URL aitw_stiffness_surrogate-1.0.1-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
96dfe2f816b56bca81fee3ceb64c218b1bc33d1032697dd21850b84e0d75f5a0
BLAKE2b-256 checksum
How to use checksums
419195a5160d8ffe65eb11d5b2cfbe31aa298167873bc3b891c11ba9d493122d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for AITW_stiffness_surrogate 1.0.1

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

This release

1.0.1 This release

2 release files No provenance

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