Numerous - an object-oriented modelling and simulation engine.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file numerous-engine-0.3.1.tar.gz
.
File metadata
- Download URL: numerous-engine-0.3.1.tar.gz
- Upload date:
- Size: 79.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee9656b0dba406bff6a3a4e354ca6082c413f3a7e43564fc6f69764df89638cf |
|
MD5 | 7e6a91157a354a9a3f2d8c0308a8df9e |
|
BLAKE2b-256 | 924daaaeb28f29bffe0ee59be9b6694a396320394b107bdf61720766993bed68 |
File details
Details for the file numerous_engine-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: numerous_engine-0.3.1-py3-none-any.whl
- Upload date:
- Size: 96.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8d4396437212ed962a0d469d2fb32dd296ea0ec9072a1a094a9df8844170491 |
|
MD5 | ec283df7d695c84a6ad801a032f88a9c |
|
BLAKE2b-256 | d49827411b9ae79a5f0a6d612b032066a2bd715f6a67f6790f5ff5407463f851 |