Skip to main content

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

Release files for mnapy 1.2.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mnapy 1.2.25
File Size Uploaded
mnapy-1.2.25.tar.gz 58.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mnapy 1.2.25
File Interpreter ABI Platform
mnapy-1.2.25-py3-none-any.whl Python 3 none any Details

Total release size: 187.6 kB

Release files / mnapy-1.2.25.tar.gz

Download URL mnapy-1.2.25.tar.gz
Size 58.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b4945e7384d4f40a17b06059b1bd6f728a13975d603bb10ce6a432db665dd109
BLAKE2b-256 checksum
How to use checksums
e8764e595001b20b24ad8bc70975374adbfd02dccae3c68c1d89387fbd6cb197
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mnapy-1.2.25-py3-none-any.whl

Download URL mnapy-1.2.25-py3-none-any.whl
Size 129.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ed02b61f7934328a2c4beca865dcf758530f60b40bde8d8cb04aae559558bc0
BLAKE2b-256 checksum
How to use checksums
be3a623e174d95bf8b25b4ac5c1b4c1a7d6c96033cf19baab37480fa9c435458
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.25 This release

2 release files

1.2.24

2 release files

1.2.22

2 release files

1.2.21

2 release files

1.2.20

2 release files

1.2.19

2 release files

1.2.18

2 release files

1.2.14

2 release files

1.2.13

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page