Modelica嵌套/组合连接器

Modelica嵌套/组合连接器,modelica,connector,Modelica,Connector,我有一些Modelica组件需要连接两次,使用两个不同的连接器(让我们称它们为typeAconnector和typeBconnector)。有没有办法构建一个内部使用这两个连接器的“超级连接器” 我们的目标是 connect(component1.superconnector, component2.superconnector 自动翻译成 connect(component1.typeAconnector, component2.typeAconnector); connect(compo

我有一些Modelica组件需要连接两次,使用两个不同的连接器(让我们称它们为
typeAconnector
typeBconnector
)。有没有办法构建一个内部使用这两个连接器的“超级连接器”

我们的目标是

connect(component1.superconnector, component2.superconnector
自动翻译成

connect(component1.typeAconnector, component2.typeAconnector); 
connect(component1.typeBconnector, component2.typeBconnector);
理想情况下,仍然可以进行
连接(component3.typeAconnector,component2.superconnector)且仅使用typeA子连接器部件


我认为这是不可能的,至少我不知道从哪里开始,欢迎任何提示或解决方法或部分解决方案。谢谢。

这不是和MSL中使用的热机连接器类似吗?不同之处在于,MSL中的连接器类型相同,但值得一试。例如,参见
Modelica.Electrical.Machines.Interfaces.inclutionmachines.PartialThermalPortInductionMachines
听起来像是分层连接器和可扩展连接器的混合:这难道不像MSL中使用的热机连接器吗?不同之处在于,MSL中的连接器类型相同,但值得一试。例如,参见
Modelica.Electrical.Machines.Interfaces.inclutionmachines.PartialThermalPortInductionMachines
听起来像是分层连接器和可扩展连接器的混合体: