Skip to content

[FEATURE] Q limit handling: Asymmetric PV node with limits calculation #1565

Description

@nitbharambe

Describe the feature request

Relates to #1236
PV nodes with limit handling was introduced in #1452. The asymmetric calculations were still kept behind an experimental flag. Reason being that specific case of asymmetric calculations had a potential bug. Since the PR was extending quite a lot, this issue was scoped out.
In this this issue, goal is to:

  • Add tests for asymmetric PV nodes with q limits and then
  • Fix issues if any.
  • Remove experimental flag.

Reactive power is not adding as per limits. A factor of 3 seems to be the issue. Maybe this is regrading base power which came up in the discussions of #1452

{
    "version": "1.0",
    "type": "input",
    "is_batch": false,
    "attributes": {},
    "data": {
        "node": [
            {
                "id": 10,
                "u_rated": 110.0e3
            },
            {
                "id": 20,
                "u_rated": 110.0e3
            },
            {
                "id": 30,
                "u_rated": 110.0e3
            }
        ],
        "line": [
            {
                "id": 51,
                "from_node": 10,
                "to_node": 20,
                "from_status": 1,
                "to_status": 1,
                "r1": 1.0,
                "x1": 3.5,
                "c1": 0.0,
                "tan1": 0.0,
                "r0": 1.0,
                "x0": 3.50,
                "c0": 0.0,
                "tan0": 0.0,
                "i_n": 510.0
            },
            {
                "id": 52,
                "from_node": 20,
                "to_node": 30,
                "from_status": 1,
                "to_status": 1,
                "r1": 1.0,
                "x1": 3.5,
                "c1": 0.0,
                "tan1": 0.0,
                "r0": 1.0,
                "x0": 3.50,
                "c0": 0.0,
                "tan0": 0.0,
                "i_n": 510.0
            }
        ],
        "source": [
            {
                "id": 11,
                "node": 10,
                "status": 1,
                "u_ref": 1.015,
                "sk": 1e40,
                "rx_ratio": 0.1
            }
        ],
        "sym_gen": [
        ],
        "asym_gen": [
            {
                "id": 31,
                "node": 20,
                "status": 1,
                "type": 0,
                "p_specified": [
                    1.0e6,
                    2.0e6,
                    3.0e6
                ],
                "q_specified": [
                    0.0,
                    0.0,
                    0.0
                ]
            },
            {
                "id": 32,
                "node": 20,
                "status": 1,
                "type": 0,
                "p_specified": [
                    1.0e6,
                    2.0e6,
                    3.0e6
                ],
                "q_specified": [
                    0.0,
                    0.0,
                    0.0
                ]
            }
        ],
        "asym_load": [
            {
                "id": 41,
                "node": 30,
                "status": 1,
                "type": 0,
                "p_specified": [
                    2.0e6,
                    4.0e6,
                    6.0e6
                ],
                "q_specified": [
                    0.0,
                    0.0,
                    0.0
                ]
            }
        ],
        "voltage_regulator": [
            {
                "id": 29,
                "status": 1,
                "regulated_object": 31,
                "u_ref": 1.02,
                "q_min": 0.0e7,
                "q_max": 1.0e7
            },
            {
                "id": 39,
                "status": 1,
                "regulated_object": 32,
                "u_ref": 1.02,
                "q_min": 0.0e7,
                "q_max": 1.0e7
            }
        ]
    }
}

Community Meeting

  • I wish to discuss this feature in the bi-monthly PGM community meeting. Please join the PGM community meeting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions