Skip to main content

Beautiful Simio

Project description

simio-lisa

Python package of processing tools for Simio models saved as .simproj

How to install it

This package has been published in pypi and in order to install it you have

pip install simio-lisa

How to use it

Exporting Output Tables

import os
from simio_lisa.load_simio_project import load_output_tables


if __name__ == '__main__':
    env_project_path = "path to project"
    env_project_file = "name of .simproj file"
    env_model_name = "name of the model containing the output file (usually Model)"
    env_export_dir = "directory where output tables are going to be saved"
    output_tables = load_output_tables(project_path=env_project_path,
                                       project_filename=env_project_file,
                                       model_name=env_model_name)
    for table_name, table_df in output_tables.items():
        print(os.path.join(env_export_dir, f'{table_name}.csv'))
        try:
            table_df.to_csv(os.path.join(env_export_dir, f'{table_name}.csv'), index=False)
        except AttributeError:
            print("This was empty")

Exporting Experiments

import os
from simio_lisa.load_simio_project import load_experiment_results


if __name__ == '__main__':
    env_project_path = "path to project"
    env_project_file = "name of .simproj file"
    env_model_name = "name of the model containing the output file (usually Model)"
    experiments_df = load_experiment_results(project_path=env_project_path,
                                             project_filename=env_project_file,
                                             model_name=env_model_name,
                                             agg_function=np.mean)

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

simio_lisa-1.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

simio_lisa-1.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file simio_lisa-1.0.0.tar.gz.

File metadata

  • Download URL: simio_lisa-1.0.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for simio_lisa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0dbd2cea3fb5ff0449787abe273695837a7e52f47b754e52c57b781efbcebac6
MD5 147f654d64936ca232c278445f9dd037
BLAKE2b-256 7c7ded38f6e8e64d1e7bad950de913fc406dde0519cd36b9a2fe9c31d2027bda

See more details on using hashes here.

File details

Details for the file simio_lisa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: simio_lisa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for simio_lisa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da0f8e4bbca055f3b1651b98238fefb50e4db2d07712a50bd8fd5c73b74fa893
MD5 dce59cfd812e95eab640b99ca73e4ce3
BLAKE2b-256 9fcbd70dc17e42744a6136dc05caadda987b288ad2f9e61f88b6ceb77e62eee3

See more details on using hashes here.

Supported by

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