Lossless nodal DC power flows
Currently, there are two different methods to represent lossless DC power flows. In the following the implementation of the nodal model is presented, based of node voltage angles.
Key concepts
In the following, it is described how to set up a connection in order to represent a nodal lossless DC power flow network. Therefore, key object - and relationship classes as well as parameters are introduced.
- connection: A connection represents the electricity line being modelled. A physical property of a connection is its reactance, which is defined on the connection object. Furthermore, if the reactance is given in a p.u. different from the standard unit used (e.g. p.u. = 100MVA), the parameter reactance_base can be used to perform this conversion.
- grid: A grid represents a collection of nodes. The physics_type parameter needs to be set to
voltage_angle_physics, in order to use voltage angles for the representation of a lossless DC model (this will trigger the generation of the node_voltage_angle variable for the associated nodes). - node: In a lossless DC power flow model, nodes correspond to buses. Limits on the voltage angle can be enforced through the voltage_angle_max and voltage_angle_min parameters. The reference node of the system should have a voltage angle equal to zero, assigned through the parameter voltage_angle_fix.
- node__grid: These relationships are needed to associate the nodes with the grid.
- connection__to_node and connection__from_node : These relationships need to be introduced between the connection and each node, in order to allow power flows (i.e. connection_flow). Furthermore, a capacity limit on the connection line can be introduced on these relationships through the parameter capacity_per_connection.
- connection__node__node: To ensure energy conservation across the power line, a fixed ratio between incoming and outgoing flows should be given. The fix_ratio_out_in_connection_flow parameter enforces a fixed ratio between outgoing flows (i.e. to_node) and incoming flows (i.e. from_node). This parameter should be defined for both flow direction.
The mathematical formulation of the lossless DC power flow model using voltage angles is fully described here.