Skip to main content

Numerous - an object-oriented modelling and simulation engine.

Project description

Numerous Logo

CircleCI

Numerous — an object-oriented modelling and simulation engine

Reasons for developing a python-based object-oriented simulation engine

The arguments for a python simulation engine are numerous:

  • In order to take advantage of cloud based computing power a run-anywhere solution is preferred
  • Open-source to eliminate the need of complex licenses for deploying thousands of simulations
  • Direct connection with machine-learning and artificial intelligence libraries through the most popular programming language for data science
  • Leveraging packages from the vast community seamlessly

Philosophy and Motivation for Object-Oriented Modelling

As systems becomes complex the number of equations and variables grow fast and the overview is lost for the model developer. The idea behind this engine is to allow the model developer focus on one familiar object at a time and setup simulations for validation – and then combine these objects together to form complex interacting systems in a simple way where all the general tedious work is handled by the engine.

Quick start

To install using pip use pip install numerous-engine

You can get started quickly here with a simple example:

from numerous.engine import model, simulation
from numerous.examples.dampened_oscillator import OscillatorSystem

#Define simulation
s = simulation.Simulation(
     model.Model(OscillatorSystem('system')),
    t_start=0, t_stop=10, num=100, num_inner=100, max_step=0.1
)
#Solve and plot
s.solve()
s.model.historian.df.plot()

Or follow one of our comprehensive tutorials:

  • Bouncing_Ball a model of a ball dropping from a certain height and bouncing off the ground, until it finally comes to rest
  • Two_Tanks_System two tanks are placed on top of each other and connected by a valve.

Documentation can be found on readthedocs.

Or you can get familiar with the concepts we have used to abstract away building complex interacting systems right inside python.

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

numerous-engine-0.1.0.tar.gz (82.4 kB view details)

Uploaded Source

Built Distribution

numerous_engine-0.1.0-py3-none-any.whl (112.2 kB view details)

Uploaded Python 3

File details

Details for the file numerous-engine-0.1.0.tar.gz.

File metadata

  • Download URL: numerous-engine-0.1.0.tar.gz
  • Upload date:
  • Size: 82.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.5

File hashes

Hashes for numerous-engine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f5e1569c294a7c68eb72441a5bd814194e43db67b8fb8946745c5ad6b327b2af
MD5 44633a5cf74be4a99a052e80a60dc9ba
BLAKE2b-256 7d54ec998f7cd203612cd1b665845701a9d2b18cf3f78c402c55ebbe2efbd957

See more details on using hashes here.

File details

Details for the file numerous_engine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: numerous_engine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 112.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.5

File hashes

Hashes for numerous_engine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d9fc6b7395f8cb11a5a8405fb756c8e7b62ccf187f073a0d2934637ac6786eb
MD5 5e364e97ff53e92a91175ad1dcc42dc4
BLAKE2b-256 75687135cbafce8a08d346ed7b981e61b71a73c339074cbd6f7c50861249d482

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