Skip to main content

Models for APIs for STEAM tools.

Project description

steam_models

Repository of STEAM superconducting magnets and circuit models (Copyright © 2022, CERN, Switzerland. All rights reserved.)

Installation

Released version:

pip install steam-models

Test version:

pip install -i https://test.pypi.org/simple/ steam-models

Links

STEAM website: https://espace.cern.ch/steam/

Contact

steam-team@cern.ch

STEAM User Agreement

By using any software of the STEAM framework, users agree with this document: https://edms.cern.ch/document/2024516

QUICK START

  • Clone the project to your local folder
  • Available model input files are located in subfolders \conductors, \magnets, and \circuits. In this example, the model located in \magnets\MBRD\input\ will be built.
  • Add your personal settings file: you can start by copying/pasting the file settings\user_settings\settings.SYSTEM.yaml
  • Install the Python package steam-sdk (https://pypi.org/project/steam-sdk/)
    • If you know how to install a Python package, go for it!
    • If you don't know, you can run these code lines in a notebook cell
import sys
!{sys.executable} -m pip install --user --upgrade steam-sdk
  • Open the notebook STEAM_Library_withoutWidgets.ipynb (recommended using Jupyter or SWAN)
  • Edit the values of the following inputs according to wishes:
case_model:    str  = 'magnet'
model_name:    str  = 'MBRD'
software:      str  = 'LEDET'
flagBuild:     bool = True
verbose:       bool = False
flag_plot_all: bool = True
  • Run the cell. The code will generate a LEDET model in the folder \magnets\MBRD\output.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steam-models-2023.4.1.tar.gz (49.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steam_models-2023.4.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file steam-models-2023.4.1.tar.gz.

File metadata

  • Download URL: steam-models-2023.4.1.tar.gz
  • Upload date:
  • Size: 49.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.12.0 pkginfo/1.7.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for steam-models-2023.4.1.tar.gz
Algorithm Hash digest
SHA256 52bd9332cfd6db45cdc0ba03d3a3e468ca0519f599eef7b715d5b2670dc3464a
MD5 9b9d7f89cba4f000e952e8b3f9839a80
BLAKE2b-256 095a76a3d795559f3686b296d6ce0c5cf6dbedbc68f7fd1ed81c9deb30e61863

See more details on using hashes here.

File details

Details for the file steam_models-2023.4.1-py3-none-any.whl.

File metadata

  • Download URL: steam_models-2023.4.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.12.0 pkginfo/1.7.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for steam_models-2023.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9c605d88e3ad98fc2eb7398c2b28a5c6eb7d5bdc2260925b524da9ef4e984d
MD5 a4e4ba13babdeae68d944e8e6f0dd8d6
BLAKE2b-256 24d4876e64053f68598e7e0c09d3768646fa55981fde3ed4ad2d84de93402bf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page