Replies: 5 comments 11 replies
-
It is definitely doable, but that sounds like a large project. What specific goals do you want to achieve? |
Beta Was this translation helpful? Give feedback.
-
This is doable. You can create two systems objects and prepare input files accordingly. Your interface can control the time for data exchange and do the data exchange. This is known as the diakoptics, or the method of tearing.
I’m not sure about different variables using multiple rates, but I’m happy to discuss if you provide more details.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: xjlcode ***@***.***>
Sent: Thursday, March 30, 2023 9:33:46 PM
To: CURENT/andes ***@***.***>
Cc: Hantao Cui ***@***.***>; Comment ***@***.***>
Subject: Re: [CURENT/andes] Multi-rate simulation based on andes (Discussion #435)
This is just my preliminary idea.
I would like to run two subsystems with different step sizes in andes and write interface files to connect them together.
Multi-rate with different variables may be added later.
—
Reply to this email directly, view it on GitHub<#435 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSNZA7KYJWGLQW7UPXY3ODW6Y7AVANCNFSM6AAAAAAWLXDQP4>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello @xjlcode Does "two subsystems" mean separating one system into two systems in ANDES? If so, it will be two independent systems before interfacing them. In this way, I am curious about how to connect the two systems. Regards, |
Beta Was this translation helpful? Give feedback.
-
This can be a reference for further development related to multi-rate simulation. Welcome further discussion if interested in such implementation. Overall ideaThere have been some techniques to do the multi-rate simulation, such as DAE parallelism and note splitting. A potential proof case to multi-rate simulationWhen analyzing interconnected power systems, it is sometimes possible to simplify parts of the system by using Thevenin or Norton equivalents. This can be useful for specific scenarios, although it is not a true multi-rate simulation. The model DAE in ANDESIn the code, the DAE is built as an attribute For the DAE parallelism, I guess the implementation might need to restructure the DAE into several sub-DAEs. Then solve and interface them. However, this in-depth refactorization can be skipped in the proof stage. @xjlcode Still, I would be happy to discuss potential implementation details if you clarify your desired results.
|
Beta Was this translation helpful? Give feedback.
-
@xjlcode We would better help you if you could, more clearly, define your problem and articulate how you plan to do it. I don't think I fully understand the multi-rate you described. Finishing one simulation and use its data as an input to the other doesn't seem multi-rate. My impression of multi-rate is that you have two parallel, ongoing simulations running at different step sizes and exchanging data at defined points. Updating voltages or other algebraic variables will not take effect because most likely the provided voltages, combines with other variables, will not satisfy the DAE. All algebraic variables are immediately replaced by the solutions from the DAE in the subsequent step. If you need to enforce exact same voltages at the boundary buses, you will need a voltage source and might look into |
Beta Was this translation helpful? Give feedback.
-
Dear Dr.Cui,
I want to write a multi-rate simulation program in the andes framework. Do you think this idea is feasible? Or do you have any suggestions?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions