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

Refactor solvers #390

Merged
merged 55 commits into from
Oct 10, 2023
Merged

Refactor solvers #390

merged 55 commits into from
Oct 10, 2023

Commits on Sep 20, 2023

  1. linear pf solver -> add loads and sources

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    322a77c View commit details
    Browse the repository at this point in the history
  2. linear pf solver -> copy y bus

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f3614c4 View commit details
    Browse the repository at this point in the history
  3. remove lines

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    58c9dad View commit details
    Browse the repository at this point in the history
  4. sc solver -> copy y bus

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    cb0e14b View commit details
    Browse the repository at this point in the history
  5. remove *c

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    2934f5c View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. linear pf -> general functions

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    d8e40ee View commit details
    Browse the repository at this point in the history
  2. sc solver -> prep matrix + rhs func

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    7acc5b2 View commit details
    Browse the repository at this point in the history
  3. sc solver -> add sources

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1a23260 View commit details
    Browse the repository at this point in the history
  4. sc solver -> add faults

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    2516039 View commit details
    Browse the repository at this point in the history
  5. sc solver -> add fault with inf imp

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1875553 View commit details
    Browse the repository at this point in the history
  6. sc solver -> add 3p fault with inf imp

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    0b8162d View commit details
    Browse the repository at this point in the history
  7. sc solver 1p to ground

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    359a208 View commit details
    Browse the repository at this point in the history
  8. add two ph faults

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    8ce4655 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. reformat requires

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    89de420 View commit details
    Browse the repository at this point in the history
  2. add_fault

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6401561 View commit details
    Browse the repository at this point in the history
  3. add all faults

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    adfaa80 View commit details
    Browse the repository at this point in the history
  4. remove empty SC test file

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    a74c2dd View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. NR -> replace i with bus_number

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    0936183 View commit details
    Browse the repository at this point in the history
  2. linear PF -> calculate source result

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c49652b View commit details
    Browse the repository at this point in the history
  3. linear PF -> calculate load_gen result

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    990cca1 View commit details
    Browse the repository at this point in the history
  4. rename k to diagonal position

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    766c9a4 View commit details
    Browse the repository at this point in the history
  5. NR -> add_loads

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    2dc9228 View commit details
    Browse the repository at this point in the history
  6. NR -> separate add load

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    811de96 View commit details
    Browse the repository at this point in the history
  7. NR add sources

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    657a2ab View commit details
    Browse the repository at this point in the history
  8. move func

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    d761910 View commit details
    Browse the repository at this point in the history
  9. prep matrix from network perspective

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    cfecb6b View commit details
    Browse the repository at this point in the history
  10. rename i with row

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    9d337f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. it pf solver calc source

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    8a7c368 View commit details
    Browse the repository at this point in the history
  2. it pf solver calc load gen

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    869fa7e View commit details
    Browse the repository at this point in the history
  3. use abs2

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    dfa9efc View commit details
    Browse the repository at this point in the history
  4. it curr add loads

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    03fafcf View commit details
    Browse the repository at this point in the history
  5. it curr add sources

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    d0ea336 View commit details
    Browse the repository at this point in the history
  6. when requires not sym use false

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    dbf24f7 View commit details
    Browse the repository at this point in the history
  7. when requires not sym use false 2

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    0adf80c View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. add extra if constexpr(sym)

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    5f4b367 View commit details
    Browse the repository at this point in the history
  2. not sym

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    5b9190d View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. similar add_sources, linear PF, SC

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a367122 View commit details
    Browse the repository at this point in the history
  2. move add_sources out of sc solver and linear pf solver

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    b85f8f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. add shared solver functions.hpp

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    81d79ca View commit details
    Browse the repository at this point in the history
  2. copy y_bus for sc solver

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    cbfe628 View commit details
    Browse the repository at this point in the history
  3. add copy y bus lin PF / it curr PF

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    5dac9ac View commit details
    Browse the repository at this point in the history
  4. remove unused variable

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    6e65ccf View commit details
    Browse the repository at this point in the history
  5. calculate source

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    b67ab7d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. calc load gen result

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ca997c6 View commit details
    Browse the repository at this point in the history
  2. use lambda

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    5d172c3 View commit details
    Browse the repository at this point in the history
  3. /*i*/

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    f39065d View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. make add fault functions larger again

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    d2b212d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2f4e45 View commit details
    Browse the repository at this point in the history
  3. code smells p1

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    62ee982 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'feature/split-physics-and-math' of https://github.com/P…

    …owerGridModel/power-grid-model into feature/split-physics-and-math
    
    g Please enter a commit message to explain why this merge is necessary,
    merge main
    petersalemink95 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    939fc2b View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Update power_grid_model_c/power_grid_model/include/power_grid_model/m…

    …ath_solver/shared_solver_functions.hpp
    
    Co-authored-by: Martijn Govers <martijn.govers@alliander.com>
    Signed-off-by: Peter Salemink <66305765+petersalemink95@users.noreply.github.com>
    petersalemink95 and mgovers committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    43c2bce View commit details
    Browse the repository at this point in the history
  2. const -> static

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    717b7b7 View commit details
    Browse the repository at this point in the history
  3. rename to common solver functions

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    62ab3b9 View commit details
    Browse the repository at this point in the history
  4. add all

    Signed-off-by: Peter Salemink <peter.salemink@alliander.com>
    petersalemink95 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    d8beafa View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    8a8e580 View commit details
    Browse the repository at this point in the history