Acausal model towards FMU subsystem integration
9 views (last 30 days)
Show older comments
Assume a system modeled entirely with Simscape components. If I need to split this model into multiple FMUs (one per subsystem) to then integrate them later as an FMU based system model.
The question: is there any way to obtain the causality of the connetions between components automatically from Simcape?. I know this is something done by the software after compilation of the model. Is there any way to show it? this would really facilitate the FMU Export later on.
3 Comments
Yifeng Tang
on 10 Feb 2025
Getting information like direction of current, voltage at the port, flow rate etc., is definitely possible as they are available in the logged Simscape results. But, here is a maybe philosophical question: does such information shows causality? For example, if the model shows a current flows into the + node of a resistor, and it's + node has a higher voltage value than the - node, what is the implied causality here? Current driving the voltage or voltage difference causing the current? For some components, like a pump with a map, or a battery with a I-V curve, this causality is even more ... unclear. Sorry I don't have an answer to your question. But I really find it interesting :)
Answers (0)
See Also
Categories
Find more on Variable Initialization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!