bogumilchilinski / dynpy

MIT License
8 stars 0 forks source link

Introduction

It's a module that allows to engineering calculations on dynamical systems.

There are four main parts of the entire project:

First step for starting a project is to create an account in COCALC.

Then, using the following LINK, accept the invitation.

Afterwards, you will be directed to the page, where you should click the README FIRST file (you can click this link if you have trouble seeing the page). There, you have access to the introductory code, which is prepared for you.

In this file, you will find the essential information on how to create a blank Jupiter (where you will run the codes), use Cocalc, access usefull commands and more...

Help and guides for DynPy

You can access the introductory guide with the following code:

from dynpy.utilities.documents.guides import IntroToCocalcGuide, UsageOfDynamicSystemsGuide

IntroToCocalcGuide();

You can list all of the available guides with the following call:

from dynpy.utilities.creators import list_of_guides
list_of_guides()

If you are looking for information on reporting and creating a PDF file, we can use the command below to view the tutorial:

from dynpy.utilities.documents.guides import BasicsOfReportingGuide
BasicsOfReportingGuide();

Dynamic systems

Next for an example, run the codes below and you will see how it works:

You can preview the pendulum using such a function.

import sympy 
from sympy import Symbol

from dynpy.models.mechanics.pendulum import Pendulum

Pendulum().interactive_preview()