:orphan: .. _file_GridKit_Model_OptimalPowerFlow_ComponentImpl.hpp: File ComponentImpl.hpp ====================== |exhale_lsh| :ref:`Parent directory ` (``GridKit/Model/OptimalPowerFlow``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Definition of ``Component``, included by model translation units. Definition (``GridKit/Model/OptimalPowerFlow/ComponentImpl.hpp``) ----------------------------------------------------------------- Detailed Description -------------------- A component evaluates on a local copy. ``gather`` copies its own variables, then the variables at each port, into one fixed-size array, the model evaluates there, and the scatter functions add the results back into the system vectors. Gathers only read, so they are safe in parallel. Scatters are not: every device at a bus adds to that bus's entries, so those additions must be synchronized, and buses with many devices are the likely bottleneck. Includes -------- - ``GridKit/Model/OptimalPowerFlow/Component.hpp`` (:ref:`file_GridKit_Model_OptimalPowerFlow_Component.hpp`) - ``algorithm`` - ``new`` - ``numeric`` - ``utility`` Included By ----------- - :ref:`file_GridKit_Model_OptimalPowerFlow_Branch_BranchImpl.hpp` - :ref:`file_GridKit_Model_OptimalPowerFlow_Bus_BusImpl.hpp` - :ref:`file_GridKit_Model_OptimalPowerFlow_ComponentEnzyme.hpp` - :ref:`file_GridKit_Model_OptimalPowerFlow_Generator_GeneratorImpl.hpp` - :ref:`file_GridKit_Model_OptimalPowerFlow_Load_LoadImpl.hpp` - :ref:`file_GridKit_Model_OptimalPowerFlow_SystemModelImpl.hpp` Namespaces ---------- - :ref:`namespace_GridKit` - :ref:`namespace_GridKit__OptimalPowerFlow`