Skip to content

The Weylandinator is a tool to simulate circuits with voltage sources, resistors and loads.

License

Notifications You must be signed in to change notification settings

MrF3lix/weylandinator

Repository files navigation

Weylandinator ©

GitHub Workflow Status GitHub issues Sonar Quality Gate

Weylandinator

The Weylandinator is a tool to simulate circuits with voltage sources, resistors and loads.

Ideas

  • Responsibilities
    • UI
      • Schaltung definieren
        • Spannungsquelle
        • Wiederstände
        • Verbraucher
    • Logik
      • Komplettwiederstand berechnen
      • Spannungsabfall pro Wiederstand

Installation

  • Download the latest installer from the release page.
  • Execute the installer.
  • Open the Weylandinator.

How to use it

  1. Open the Weylandinator Weylandinator
  2. Add as many elements as you need
  3. Add the parameter that you have for each element
  4. The total resistance will be shown on the top left

Sample Circuits

This is a sample circuit that could be represented using the Weylandinator.

Sample Circuits

Sample Data

A circuit is stored in a tree like structure. So each Element can have multiple child elements.

By Default there's a RootElement that stores all the other elements.

This sample shows a circuit with two parallel resistors and a single voltage source.

{
    "circuit": {
        "name": "RootElement",
        "childElements": [
            {
                "type": "CircuitElementType.VoltageSource",
                "name": "U_0",
                "voltage": 5,
                "current": 0,
                "resistance": 0,
                "childElements": [
                    {
                        "type": "CircuitElementType.Resistor",
                        "name": "R_1",
                        "voltage": 0,
                        "current": 0,
                        "resistance": 1000,
                        "childElements": []
                    },
                    {
                        "type": "CircuitElementType.Resistor",
                        "name": "R_2",
                        "voltage": 0,
                        "current": 0,
                        "resistance": 500,
                        "childElements": []
                    }
                ]
            }
        ]
    }
}

About

The Weylandinator is a tool to simulate circuits with voltage sources, resistors and loads.

Topics

Resources

License

Stars

Watchers

Forks

Languages