Acausal model towards FMU subsystem integration
Mostrar comentarios más antiguos
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 comentarios
Yifeng Tang
el 7 de Feb. de 2025
is there a specific physical domain (electrical, mechanical, thermal liquid, etc.) that you are asking about? some will be easier than others. But I don't think there is an automatic way to export the causality, as that highly depends on where you want to set the FMU boundary and how you plan to drive the system.
Yifeng Tang
el 10 de Feb. de 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 :)
Respuestas (0)
Categorías
Más información sobre Analog Filters en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!