Skip to main content

A library for System Modeling Runtime Environment (SMRE)

Project description

SysMPy

About

SysMPy is an open-source library for System Modeling Runtime Environment (SMRE), an integrated software environment which offers several built-in libraries to support systems analysis and design, based on a convenient systems modeling script language, which forms a fundamental building block of SMRE.

Systems Modeling Script (SMS)

Example 1: Three action nodes

SMS has a simple form as shown the following code. To define a process, a class Process(.) can be used. The return object from it provides a built-in function Action(.). By including the name of an Action, the Action node is defined along the process.

from entity import *

p = Process("Process")
act1 = p.Action("Action1")
act2 = p.Action("Action2")
act3 = p.Action("Action3")

The following figure shows an illustrative graph from the above code.

                +---------------+
                |               |
                |     start     |
                |               |
                +---------------+
                        | Process
                        |
                +---------------+
                |               |
                |     Action1   |
                |               |        
                +---------------+        
                        |
                        |
                +---------------+
                |               |
                |     Action2   |
                |               |        
                +---------------+        
                        |
                        | 
                +---------------+
                |               |
                |      End      |
                |               |
                +---------------+

After building the model, we can run a simulation. To execute the simulation, asyncio.run(.) is used with the built-in function sim() of the process p.

asyncio.run(p.sim())

Prerequisites

The following pakages are needed to run the library.

  • requests
  • numpy
  • tornado
  • python for matlab

Members

Developers:

  • Dr. Cheol Young Park
  • Dr. Shou Matsumoto
  • Mr. DaePhil Han
  • Mr. EunHak Lee
  • Mr. SeongRae Lim
  • Mr. Hong Gyu Han

Advisers:

  • Prof. Joongyoon Lee
  • Dr. GwanTaik Lim
  • Prof. YoungWon Park

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

SysMPy-0.0.2.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

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

SysMPy-0.0.2-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file SysMPy-0.0.2.tar.gz.

File metadata

  • Download URL: SysMPy-0.0.2.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for SysMPy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 421df3c5cd6d03fac92072e8bc3b1693d1c43714a42aca58c818290715fa5f08
MD5 6c1acacaf84d0d1b37b46218b58dd297
BLAKE2b-256 61071e7c5d88153b89874e1be2e647bf260a277a7a2e502afb7ca92cd2f1ceee

See more details on using hashes here.

File details

Details for the file SysMPy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: SysMPy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 37.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for SysMPy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7abbdc379412ca239f557f6010a1acf48e52297d4a238a1ef68bd17557462838
MD5 243c88d5474f4b73453211c82ea9013a
BLAKE2b-256 44215cd7679e9821fcc48d7116e54c86ed085b50bc902e4309b90985250c5053

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