Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterative MNA solver #268

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Commits on Sep 16, 2024

  1. Add "IterativeMNASolverDirect" and interface classes

    + add .h and .cpp for "IterativeMNASolverDirect " class, add .cpp to "dpsim/src/CMakeLists.txt"
    + add .h for new "MNANonlinearVariableCompInterface" class
    
    * make "IterativeMNASolverDirect" usable through pybind by adding "ITERATIVEMNA" as value to solver type enum
    * modify "Solver" class to support new "ITERATIVEMNA" solver type
    * modify "Simulation" class to be able to create solvers of new type
    
    Signed-off-by: Marvin Tollnitsch <[email protected]>
    MarvinTollnitschRWTH committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    7faf993 View commit details
    Browse the repository at this point in the history
  2. Add new nonlinear diode component

    + add .h and .cpp for new nonlinear "Diode" class which uses and inherits from the new "MNANonlinearVariableCompInterface"
    
    * modify "Components.h" to include .h of new diode model
    * modify "dpsim/dpsim-models/CMakeLists.txt" to include .cpp of new diode model
    * modify "EMTComponents.cpp" to make new diode model usable through pybind
    
    Signed-off-by: Marvin Tollnitsch <[email protected]>
    MarvinTollnitschRWTH committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    3c33e6d View commit details
    Browse the repository at this point in the history
  3. Add test circuits for new diode model

    + add .cpp and python notebook for first diode example circuit
    + add python pybind notebook for second diode example circuit
    
    * modify "dpsim/examples/cxx/CMakeLists.cpp" to include .cpp of first diode example circuit
    
    Signed-off-by: Marvin Tollnitsch <[email protected]>
    MarvinTollnitschRWTH committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    b15c933 View commit details
    Browse the repository at this point in the history
  4. Fix wrong given variable in solver creation

    Signed-off-by: Marvin Tollnitsch <[email protected]>
    MarvinTollnitschRWTH committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    5205eda View commit details
    Browse the repository at this point in the history