Martijn Govers

Results 46 comments of Martijn Govers

> @mgovers It is far from finished. I just put here to see what you think. The tap position optimizer, we still need to make it compile with mocked `meta_data`....

> @mgovers it's now ready for review will have a look > ## [![Quality Gate Passed](https://camo.githubusercontent.com/5889b9ad78888934928f8f18bb6431c836cd7cabe6c3a6a60a1a01434d67cfdb/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f5175616c6974794761746542616467652f71672d7061737365642d323070782e706e67)](https://sonarcloud.io/dashboard?id=PowerGridModel_power-grid-model&pullRequest=587) **Quality Gate passed** > > Issues ![](https://camo.githubusercontent.com/da77210611fad32e47ac6a36190d5e5320fe19b1c6006fae418d539fadaadc93/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67) [18 New issues](https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&pullRequest=587&resolved=false&sinceLeakPeriod=true) ![](https://camo.githubusercontent.com/6e7f22e3d7f9764d9cfb28e3b8ee5ebb5f711c5bb2dcec8a6db6b0d958d63134/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67) [0 Accepted issues](https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&pullRequest=587&resolutions=WONTFIX)...

out of scope of this ticket but we may need to version bump sonar: ![image](https://github.com/PowerGridModel/power-grid-model/assets/15234327/e5107906-f9a5-4da1-a191-8f75b1ccefaa)

> > out of scope of this ticket but we may need to version bump sonar: > > ![image](https://private-user-images.githubusercontent.com/15234327/335509679-e5107906-f9a5-4da1-a191-8f75b1ccefaa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcxNDYxOTIsIm5iZiI6MTcxNzE0NTg5MiwicGF0aCI6Ii8xNTIzNDMyNy8zMzU1MDk2NzktZTUxMDc5MDYtZjlhNS00ZGExLWExOTEtOGY3NWIxY2NlZmFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTMxVDA4NTgxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1ZGRhNDEwNDNmY2JhNDkwM2U4NWMyZTEyODdiMDgxNzUxZjVmN2VmNGIwOTRhMDU4OThkMWRjNjJhOTg1MjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ntazrv92k6VZ0Qq2A5sc8tbsRGp2Bp_925FL0xfGpA4) > > Do we just have to modify like this? https://docs.sonarsource.com/sonarcloud/advanced-setup/languages/c-c-objective-c/#executing-the-analysis...

It is possible that MacOS needs an additional feature flag before we can use this feature: https://github.com/PowerGridModel/power-grid-model/actions/runs/8570641564/job/23489029489 Note that according to https://en.cppreference.com/w/cpp/compiler_support/20 , the XCode version we use in CI...

Conclusion of discussion: * Edge cases like this are rare in real grid scenarios. * They can theoretically happen for generators but we don't expect them to. * It is...

current functionality clamps the tap position: https://github.com/PowerGridModel/power-grid-model/blob/09ee5a6e3a65d21cb2d0dbc8bc18b29ecc405c5f/power_grid_model_c/power_grid_model/include/power_grid_model/component/transformer.hpp#L145-L149 (and idem for 3w-transformer). this existing behaviour may impact users. if we decide that existing functionality is good enough, documentation should be improved

I do agree that the current state (and mainly the syntax) makes it less readable and testable. I propose going with Proposal 2 with a slight modification: ## Argument against...

> @mgovers how far are we close to merge this? Cfr. our discussions, we run the benchmark case and if the amount of fill-ins is the same for both implementations,...