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-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

simio_lisa-0.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simio_lisa-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for simio_lisa-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a793ef0facc2d85fe1efdea2433305ca9409ccdd4d916e6cdeac2df1411ac101
MD5 be8dea4cb7528425b22598bd5481a681
BLAKE2b-256 17042387749678cb62509a2fcf271a6a44b34060a40dca568025793c6d59f476

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simio_lisa-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for simio_lisa-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79052414a3b469212f39dd4ddb4b6ef189d1e9697cf8adde37299c5dfc051d38
MD5 a24bc538c967a33b7432c5c4fe1299a9
BLAKE2b-256 30fc3476295d77cbdf4ee8254dcdaa4c19d42c0f296d03b407184d49630986c2

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