Skip to content

OPF constraints #1

@yihong-zhou

Description

@yihong-zhou

Hi, a good work! I have a question regarding the constraint formulation in LLM_as_optimizer_gpt.py. I see that the load constraint is set as 'generation >= the total demand'. However, usually power system requires a equality constraint so that the system can be balanced. May I ask if there are some issues in imposing a strict equality constraint?
def satisfy_load_constraints(thermal_output): if np.sum(thermal_output)>=400: return True else: return False

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions