Skip to main content

Dynamic Cross Platform Circuit Simulation Platform.

Project description

DISCLAIMER:

Circuit Solver is developed to make sure it’s capable of generating correct simulation results should the user understand that it’s a fixed timestep solver. PhasorSystems is not liable for any incorrect simulation results.

NOTE: This is only tested w/ file version 1.1.9 and above. There is no gurantee that it will work for older files.

This engine will allow you to run the simulation engine for circuit solver without a user interface. It will also allow you to edit parameters when the simulation is running and in turn do dynamic simulations such as battery models, buck or boost converters, etc.

Tested On:

Python 3.8.5

Setup:

Note: The demo requires numpy and pandas to work correctly.

pip install mnapy

To get the test files nagivate to: https://github.com/SummersEdge23/mnapy/tree/main/test

Download “ACSourceInitial_nl.txt” and “TestBed.py”

Change the FILE_LOCATION in TestBed.py to match where ever your “ACSourceInitial_nl.txt” is located. Run Testbed.py. If everything goes well a window should open up with a waveform that should look like an acsource.

Generating New Files:

In order to load new files into the system, go to www.androidcircuitsolver.com/app.html or use the desktop version (windows only atm). Build your circuit and in order to port this to the headless version press: CTRL + P. This will generate a {FILE_NAME}_nl.txt file that can be loaded into this headless engine.

Note: Set_Switch_State(setter: str) and Set_Interpolate(setter: str) can be set by:

Set_Switch_State(engine.Params.SystemConstants.ON) or Set_Switch_State(engine.Params.SystemConstants.OFF)

if (Get_Switch_State() == engine.Params.SystemConstants.ON) or if (Get_Switch_State() == engine.Params.SystemConstants.OFF)

The same thing applies for Interpolate.

If you have any issues, contact me at PhasorSys@gmail.com

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

mnapy-1.2.25.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

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

mnapy-1.2.25-py3-none-any.whl (129.1 kB view details)

Uploaded Python 3

File details

Details for the file mnapy-1.2.25.tar.gz.

File metadata

  • Download URL: mnapy-1.2.25.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for mnapy-1.2.25.tar.gz
Algorithm Hash digest
SHA256 b4945e7384d4f40a17b06059b1bd6f728a13975d603bb10ce6a432db665dd109
MD5 6e35201be0b546a3414dd3ea3735bba6
BLAKE2b-256 e8764e595001b20b24ad8bc70975374adbfd02dccae3c68c1d89387fbd6cb197

See more details on using hashes here.

File details

Details for the file mnapy-1.2.25-py3-none-any.whl.

File metadata

  • Download URL: mnapy-1.2.25-py3-none-any.whl
  • Upload date:
  • Size: 129.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for mnapy-1.2.25-py3-none-any.whl
Algorithm Hash digest
SHA256 9ed02b61f7934328a2c4beca865dcf758530f60b40bde8d8cb04aae559558bc0
MD5 ab3fe6f109e11f148f119f8e649b74d1
BLAKE2b-256 be3a623e174d95bf8b25b4ac5c1b4c1a7d6c96033cf19baab37480fa9c435458

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