Skip to content
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

OPF constraints #1

Open
HDRah opened this issue Jul 18, 2024 · 1 comment
Open

OPF constraints #1

HDRah opened this issue Jul 18, 2024 · 1 comment

Comments

@HDRah
Copy link

HDRah commented Jul 18, 2024

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!

@RuohLiuq
Copy link
Collaborator

RuohLiuq commented Sep 5, 2024

Hi, thanks for your question. Based on our observations, equality constraints are more difficult to satisfy compare to inequality constraints for LLM, therefore in this version we haven't consider them. You're right though, generation and demand balance is important in OPF, please stay tuned for our next updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants