Skip to main content

Numerous - an object-oriented modelling and simulation engine.

Project description

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.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
s.solve()
simulation_result = s.model.historian_df

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

Uploaded Source

Built Distribution

numerous_engine-0.5.1-py3-none-any.whl (108.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: numerous-engine-0.5.1.tar.gz
  • Upload date:
  • Size: 86.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for numerous-engine-0.5.1.tar.gz
Algorithm Hash digest
SHA256 05d4c53c38d2501cc97607f77c1ed95868da3c5819536bb5b158a507231bc6e8
MD5 a518a8050ff096919ee2ca2d3dcef1cb
BLAKE2b-256 e3cec9e30e51aecb70ef5dc23ca3f4c425ff69d75ae13394f9ec74ff89ca8c38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numerous_engine-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 907af8954ceb380dbef472e02b6d74c3d16248a771240acfaff1c5e171adba54
MD5 29a316a2a0b65c85c99a72c2026e37e0
BLAKE2b-256 f4bb2a87e9b4d36be4d5c4c9a0675504baed80db5ca222b1ebe6a506ae22505b

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