-
Notifications
You must be signed in to change notification settings - Fork 42
Clean-up main model: move topology related construction #1092
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
Conversation
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/topology.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/topology.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/state.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/state_queries.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
power_grid_model_c/power_grid_model/include/power_grid_model/container_fwd.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Need thoughts on 1ab7ee8. Should we keep or revert the commit? We had earlier decided against it when it was dependent on state and lived in main model. Reason was that this function is small unlike construct_topology. In the context of current PR, we would be homogenizing both these functions. |
i kind of like the commit, so IMO you can keep it |
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Limiting this PR's scope. Continuing in new one. |
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/container_queries.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome cleanup. A couple small nitpicks but nothing major
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/container_queries.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/container_fwd.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/container_fwd.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/container_fwd.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/topology.hpp
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
power_grid_model_c/power_grid_model/include/power_grid_model/container_fwd.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no more remarks from my end. feel free to merge whenever
In the large effort of refactoring main model, one part is to move the topology and y bus related construction to a different place.
main_core/topology.hpp
to detail namespace.component_container_c
to include more container functionality and applicable for 1+ component type. Moved it topower_grid_model::common
namespace